12 Commits

Author SHA1 Message Date
42e5819130 refactor: Updated discovery/poller to use numeric sysObjectID (#7922)
* refactor: Updated discovery to use a core module for sysDescr/sysObjectID use

* final update hopefully

* revert changes

* more changes + docs

* migrated poller to use numerical sysObjectID

* more updates for sysObjectID

* update any alert rules which might have enterprises. in

* moved schema file

* small updates

* updated getHostOS()

* scrut fixes

* updated sysObjectId -> sysObjectID

* updated sysObjectId -> sysObjectID

* updated remainder of sysObjectId -> sysObjectID

* another sysObjectId -> sysObjectID

* fixed secureplatform test data

* Fix tests: $device is not pulled from the database before polling
Also, update the db in the core discovery module.
2018-01-06 23:00:47 -06:00
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
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
d2bec6d7d1 juniper hardware detection through chassis mib, with fancy rewrite array - makes observium recognize srx650
git-svn-id: http://www.observium.org/svn/observer/trunk@3031 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-12 23:56:45 +00:00
752bbc2af8 array keys are strings, duh
git-svn-id: http://www.observium.org/svn/observer/trunk@2863 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-14 19:01:23 +00:00
00121fd3f8 fixes to new poller
git-svn-id: http://www.observium.org/svn/observer/trunk@2233 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:46:25 +00:00
722d912aa1 cleanup OS polling
git-svn-id: http://www.observium.org/svn/observer/trunk@1841 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 11:59:47 +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
f29e7b755b redesigned graph defining system (still seems a bit batshit, but nevermind). lots of improvements to various pollers, only writing RRDs if valid data is returned, etc.
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 19:43:02 +00:00
84de6a0528 fix paths on includes (8 hour graph gap :[ )
git-svn-id: http://www.observium.org/svn/observer/trunk@1449 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 23:18:29 +00:00
15cdf5c9fa add force10 mibs and os type detection. move per-os polling scripts from includes/polling/device-* to includes/polling/os/*
git-svn-id: http://www.observium.org/svn/observer/trunk@1442 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:49:36 +00:00