143 Commits

Author SHA1 Message Date
laf
8460adc756 eth0 on AirFibre units get data from another MIB 2015-12-02 23:23:31 +00:00
f0o
495b4b24fa Fixes #2098 2015-10-10 13:34:51 +00:00
e2dfab4ca0 Merge pull request #2007 from QuxLabs/qux-issue-8
Added working memcached support
2015-10-01 17:08:03 +01:00
f0o
7d95e94954 Fix rrd creation parameters 2015-09-28 08:24:57 +00:00
7832868dd6 Added generic memcached support to dbFacile.*
Remove now obsolete memcached code in:
  html/ajax_rulesuggest.php

Remove all the broken memcached code in:
  html/pages/device/health/mempool.inc.php
  html/pages/device/overview/generic/sensor.inc.php
  html/pages/device/overview/mempools.inc.php
  html/pages/device/port.inc.php
  html/pages/device/ports.inc.php
  html/pages/health/sensors.inc.php
  includes/polling/functions.inc.php
  includes/polling/mempools.inc.php
  includes/polling/ports.inc.php
  includes/polling/storage.inc.php
2015-09-27 19:33:17 +00:00
ba7bf5f60b Merge pull request #1715 from laf/rrdoptions
Updated rrdtool_update() to use new array format
2015-09-22 12:15:59 +00:00
laf
e4fd45037c Final update for overwriting ifAlias 2015-08-30 14:34:37 -07:00
c25dc9ccdb Merge pull request #1750 from laf/issue-1729
Also use ifHighSpeed if ifSpeed is 0 and ifHighSpeed exists
2015-08-24 07:50:55 +10:00
laf
0baa0d81e2 Reworked if check 2015-08-23 21:39:37 +00:00
laf
a413968eb8 Also use ifHighSpeed if ifSpeed is 0 and ifHighSpeed exists 2015-08-23 20:06:28 +00:00
laf
8d929bc43c Moved the snmp query for poe outside of the loop 2015-08-23 17:04:20 +00:00
laf
1d9fc71c71 Revert change which skips over ports that are down / admin down 2015-08-23 09:40:55 +00:00
55a2e0423d Remove all unneeded if($debug)-statements and replace them with d_echo 2015-08-21 16:10:00 +02:00
laf
987634e463 Updated rrdtool_update() to use new array format 2015-08-18 16:26:55 +00:00
7817890b80 Fix parenthesis typo 2015-08-07 17:11:12 +02:00
5467756328 Generalise mapping ifDescr to ifAlias
This allows both per OS enforcing of ifDescr = ifAlias as well as populating
when ifAlias = '' or NULL
2015-08-07 17:07:26 +02:00
2dd8fe0553 Reorder ifalias_null check to prevent var flapping
This needs to run before IF-MIB data update, and needs to check and set
$this_port['ifAlias'] only as to not break the $data_oids loop.
2015-08-07 16:41:33 +02:00
5e68b2e6e1 Also update $this_port for port descr parsing 2015-08-06 17:57:53 +02:00
f016c84981 Properly reference ifalias_null config flag
Fixes an issue introduced in 9908eb2e37e6f487d93776a72bc2a97b6781f5b7
2015-08-06 16:51:02 +02:00
laf
17dac9e755 Removed old alerting system code 2015-08-01 15:54:15 +00:00
laf
a41bcf29da Added config option to rewrite ifAlias 2015-07-19 17:35:11 +01:00
laf
827b0346a6 ifAlias is now derived from ifDescr if NULL 2015-07-19 17:27:12 +01:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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