Commit Graph

120 Commits

Author SHA1 Message Date
f0o
2467b11290 Merge branch 'issue-laf-110-new' of git://github.com/laf/librenms into laf-issue-laf-110-new
Conflicts:
	html/pages/health/mempool.inc.php
	includes/defaults.inc.php
2015-06-07 10:44:39 +00:00
Paul Gear
49833273e7 Make comment reflect code 2015-06-06 07:50:23 +10:00
laf
6e84535031 Dynamic config system 2015-05-14 21:54:33 +01:00
Alexander Sosna
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
f0o
5bb325cf63 Simplify 2015-04-08 15:02:57 +00:00
f0o
16aeee89e4 Supress further event-log message if ifAdminStatus or ifOperStatus is down. 2015-04-07 13:47:15 +00:00
Daniel Preussker
28f846afb6 Merge pull request #673 from laf/issue-672
Fixed the issue with ports constantly logging descr changes
2015-03-28 05:00:27 +00:00
laf
6455f3924e This is a proper fix for PR 623 + 625 2015-03-27 20:13:41 +00:00
laf
36ec131633 Fixed the issue with ports constantly logging descr changes 2015-03-27 19:54:03 +00:00
laf
66f872cc25 Also added the ifAdmin check to next if statement 2015-03-18 22:27:25 +00:00
laf
d6902e10a2 This log_event would always trigger if a port was admin down, we now skip over those interfaces 2015-03-18 20:29:59 +00:00
mchasteen
87bd0da996 Fixed polling ports so that NULL values don't break stuff. Basically I just have a foreach loop to unset any NULL values. Also fixed the NOW() SQL statements at the end of polling. 2015-02-26 23:03:50 +00:00
laf
6395db8dae Ports set to be ignored will now be ignored for threshold alerts 2014-02-25 14:22:02 +00:00
Adam Amstrong
1d4b392876 push more state to memcached fix sensors poller to not retry all temperature sensors where return >9000 5 times (lmsensors returns milliC, so 30000 for 30C)
git-svn-id: http://www.observium.org/svn/observer/trunk@3244 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 18:35:17 +00:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
9dc57f7dae update ipsectunnels to work again
git-svn-id: http://www.observium.org/svn/observer/trunk@3236 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-24 21:22:41 +00:00
Adam Amstrong
644f834f5b debugging code to squash spikes
git-svn-id: http://www.observium.org/svn/observer/trunk@3227 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-22 19:40:33 +00:00
Tom Laermans
86348b92bb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3218 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 23:14:08 +00:00
Tom Laermans
964259210c fucking debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@3212 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 18:14:22 +00:00
Tom Laermans
e428a5ed4e fuck debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@3205 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-18 12:36:27 +00:00
Adam Amstrong
3ded704661 debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@3204 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-18 12:20:07 +00:00
Adam Amstrong
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Adam Amstrong
9af156eb95 ports discovery updates
git-svn-id: http://www.observium.org/svn/observer/trunk@3171 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 17:43:30 +00:00
Adam Amstrong
4045c970af improved emailing and additional configuration options to use phpmailer. (#38 from Mike Stupalov)
git-svn-id: http://www.observium.org/svn/observer/trunk@3089 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 12:11:03 +00:00
Tom Laermans
e2dc9b246d syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3071 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-21 00:36:55 +00:00
Adam Amstrong
2b8178bb5b move all RRA decisions to config. switch mempool/storage to new rrds (sorry, data lost, the old rrds sucked). added some more apps pages.
git-svn-id: http://www.observium.org/svn/observer/trunk@3068 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 17:37:58 +00:00
Tom Laermans
a10d3f75ea syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3008 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 15:30:45 +00:00
Tom Laermans
9cea534c1b don't try to add bogus addresses then remove them again + small fixes and REMOVE DEBUG PRINT_R
git-svn-id: http://www.observium.org/svn/observer/trunk@3007 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 14:23:16 +00:00
Adam Amstrong
a33638509b fix cisco entity-sensors discoverer. don't set ports deleted when they are already deleted.
git-svn-id: http://www.observium.org/svn/observer/trunk@3001 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 12:40:43 +00:00
Tom Laermans
392d97bf73 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2966 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:37:46 +00:00
Adam Amstrong
e44c47cabd Add support for memcached to poller for current bps/pps for ports and ability to disable writing these values to MySQL. HIGHLY RECOMMENDED FOR LARGE INSTALLS. Also PROCEED WITH CAUTION.
git-svn-id: http://www.observium.org/svn/observer/trunk@2955 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-04 18:10:45 +00:00
Adam Amstrong
3ca142e222 FIXME? HOW?
git-svn-id: http://www.observium.org/svn/observer/trunk@2951 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-04 16:30:02 +00:00
Adam Amstrong
b86abdba7c as default do not send emails for down ports, but print them on the front page (for mmoerman)
git-svn-id: http://www.observium.org/svn/observer/trunk@2922 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-22 10:37:17 +00:00
Adam Amstrong
be6a81f193 port utilisation alerter (bit dirty, maybe put %age into db too?)
git-svn-id: http://www.observium.org/svn/observer/trunk@2853 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-27 10:57:29 +00:00
Tom Laermans
91f55d6100 fix ports mac address, patch by Dario Calamai
git-svn-id: http://www.observium.org/svn/observer/trunk@2847 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-23 18:55:45 +00:00
Tom Laermans
3407022cb0 add loadbalancer device type, netscaler = loadbalancer, patch by mgm
git-svn-id: http://www.observium.org/svn/observer/trunk@2844 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-20 13:15:05 +00:00
Adam Amstrong
bf09e5844f os_group ios -> cisco
git-svn-id: http://www.observium.org/svn/observer/trunk@2815 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-12 11:16:38 +00:00
Adam Amstrong
9f9fdc2427 mib and stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2793 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-16 15:36:20 +00:00
Tom Laermans
19ae34c4d8 unfinished q-bridge-mib vlan/trunk code
git-svn-id: http://www.observium.org/svn/observer/trunk@2784 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 15:00:45 +00:00
Adam Amstrong
45c6d95501 add infrastructure to collect status of cisco catalyst 6k crossbar and new state table for entity-mib
git-svn-id: http://www.observium.org/svn/observer/trunk@2723 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-14 18:28:00 +00:00
Adam Amstrong
69547671c0 fix VLAN on cisco.
git-svn-id: http://www.observium.org/svn/observer/trunk@2703 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-27 11:21:26 +00:00
Adam Amstrong
dccb561725 put U into RRD instead of 0 if we get a bad reply
git-svn-id: http://www.observium.org/svn/observer/trunk@2684 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-13 09:28:55 +00:00
Adam Amstrong
d1092794c3 mark ports deleted when deleted. allow changing of top logo (maybe we remove this again, i dunno)
git-svn-id: http://www.observium.org/svn/observer/trunk@2683 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-13 09:27:50 +00:00
Tom Laermans
a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans
27163fcffa only use q-bridge-mib if no cisco mib used before
git-svn-id: http://www.observium.org/svn/observer/trunk@2599 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 15:39:50 +00:00
Tom Laermans
9ff0fdb443 syntaxer run, removes dos newlines from 2 files
git-svn-id: http://www.observium.org/svn/observer/trunk@2597 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 13:22:38 +00:00
Tom Laermans
1550b1f5cd poll q-bridge-mib for port VLAN, also fix links on device vlan tab
git-svn-id: http://www.observium.org/svn/observer/trunk@2593 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 10:07:39 +00:00
Adam Amstrong
1321a777a1 fix vlan bug
git-svn-id: http://www.observium.org/svn/observer/trunk@2590 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-26 20:30:18 +00:00
Adam Amstrong
d4d6bcd09b track if a port is a trunk and/or which vlan its in for cisco devices
git-svn-id: http://www.observium.org/svn/observer/trunk@2589 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-26 17:34:39 +00:00