Tony Murray
edbb6ae0e3
refactor: Centralize MIB include directory specification ( #4603 )
...
* refactor: Centralize MIB include directory specification
The default is now:
```
$config['mib_dir'].'/mibdirname:'.$config['mib_dir']
```
This means we exclude OS mibs and only use ours (we could prepend `+` if we want to include os mibs.
All snmp calls should only include the name of the subdirectory under the mibs directory.
* Remove d_echo from Proc
Fix snmpsim tests.
2016-09-28 14:19:28 +01:00
Mark Schouten
677a4f3f5f
Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir..
2015-08-21 16:10:01 +02:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
Alexander Sosna
5a7988e2e4
chmod 0644 to php files not directly executed
2015-04-28 22:58:03 +02: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
Tom Laermans
f73e4d29a3
detect cpu and mempools via alternate mibs on some srx platforms, actually a juniper bug that the real mib isn't populated, but meh
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3032 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-13 00:23:20 +00:00
Tom Laermans
ed6ffa6067
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2964 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:17:41 +00:00
Adam Amstrong
69a849c3f0
junos mempools improvement from elec2
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2733 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-21 16:01:10 +00:00
Adam Amstrong
fa8f834a89
fix discovery to remove include_dir function. ignore -32768 values returned for sensors. build rrd graphs via pipe.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2493 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-18 15:38:05 +00:00
Tom Laermans
340c71b2e7
more code cleanups, modify renamehost to also take a source parameter so we can build a renamehost function into the web gui some day
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1980 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-27 10:21:19 +00:00
Tom Laermans
0a2371cfc7
reformat mempool and current discovery
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1834 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-14 19:24:23 +00:00
Adam Amstrong
0db6ad08ff
vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 17:08:56 +00:00
Adam Amstrong
ec74c22e3b
fixes to things, use *only* junos and junose mibdir for those things
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1586 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-31 19:12:40 +00:00
Adam Amstrong
4f2972660f
retooled sensors discovery. use global $valid_sensor, use sensors table only, replace sensor_precision with sensor_multiplier and sensor_divisor, remove all old discover_* functions and replace with discover_sensor
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1529 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 18:25:11 +00:00
Adam Amstrong
dfff34d3e3
move mempools pollers into their own directory (includes/discovery/mempools/)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1518 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 13:53:47 +00:00