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
677a4f3f5f
Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir..
2015-08-21 16:10:01 +02:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
fc16d9f410
Fixed if
2015-05-20 13:04:45 +02:00
f0f1038b42
Added debug option
2015-05-20 13:00:32 +02:00
89c5af8ff9
Removed if for junos check so srx dataplane cpu is checked
2015-05-20 11:59:59 +02:00
5a7988e2e4
chmod 0644 to php files not directly executed
2015-04-28 22:58:03 +02: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
ff72c2843e
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3045 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-17 15:27:17 +00:00
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
25f784b140
improve junos cpu detection (!?)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2769 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 18:58:34 +00:00
7d85f5ff07
improve junos cpu detection (from elec2)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2732 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-20 11:18:32 +00:00
5815b836bf
add another check to junos cpu
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2730 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-19 12:30:05 +00:00
7cd3dc86ec
fix temperature and processors discovery
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2238 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 12:58:57 +00:00
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
3a4e92e246
more cleanups and reindents, still a lot to come
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1836 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 09:45:00 +00:00
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
aeee6d1eed
junos processor detection change
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1542 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-30 13:35:58 +00:00
1c997b30b5
split fan discovery into include_dir
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1327 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 11:37:11 +00:00