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
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
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
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
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