Commit Graph

15 Commits

Author SHA1 Message Date
Tony Murray 13d047c029 device: restore old junos version code as a fallback (#6945) 2017-07-04 02:10:48 +01:00
Neil Lathwood 72da2c7b39 newdevice: Updated JunOS os polling to detect version correctly (#6904) 2017-06-29 21:56:27 -05:00
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
Tony Murray 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
Job Snijders ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
Tom Laermans 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
Tom Laermans 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
Adam Amstrong 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
Tom Laermans bc2fc65b30 fix more booboo
git-svn-id: http://www.observium.org/svn/observer/trunk@1945 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-21 11:45:29 +00:00
Tom Laermans 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
Tom Laermans 3c10ede092 Get rid of some more execs
git-svn-id: http://www.observium.org/svn/observer/trunk@1814 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-10 15:51:56 +00:00
Tom Laermans 30bdd952ee Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-20 14:04:07 +00:00
Adam Amstrong 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
Adam Amstrong 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
Adam Amstrong 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