Commit Graph

86 Commits

Author SHA1 Message Date
Mike Rostermund 613050e117 Remove old comment to kickstart scrut 2015-10-14 21:31:03 +02:00
Mike Rostermund f064061b1c Fixes issue where snmp_get would not return the value 0 2015-10-14 20:33:59 +02:00
Daniel Preussker ba7bf5f60b Merge pull request #1715 from laf/rrdoptions
Updated rrdtool_update() to use new array format
2015-09-22 12:15:59 +00:00
f0o 5e858b63e5 Pass snmp-auth parameters enclosed by single-quotes 2015-08-20 19:19:15 +00:00
laf 987634e463 Updated rrdtool_update() to use new array format 2015-08-18 16:26:55 +00:00
Mike Rostermund 5369112d48 Fix some scrutinizer coding style issues 2015-08-04 18:36:03 +02:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Job Snijders 77486d3c98 Remove duplicate code, compress code, adhere to style guide 2015-07-08 20:28:28 +02:00
Job Snijders fa9fb61d85 gg=G on on snmp.inc.php for readability 2015-07-08 14:24:59 +02:00
Paul Gear 884b98e250 Another scrutinizer fix 2015-06-16 09:01:13 +10:00
Paul Gear 0eb3e69167 Fix Scrutinizer issues 2015-06-16 08:42:05 +10:00
Paul Gear 55496bf943 Add example referred to in documentation 2015-06-16 08:27:58 +10:00
Paul Gear 0e218ef22c Move MIB poller debugging into SNMP functions 2015-06-16 08:27:58 +10:00
Paul Gear da346c3a35 Tidy up debug vs. non-debug output 2015-06-16 08:27:57 +10:00
Paul Gear a2baae3ccf Move convenience functions into common; d_echo no longer adds "\n" automatically 2015-06-16 08:27:57 +10:00
Paul Gear 942e5047e5 Graph sections must be lower case 2015-06-16 08:27:57 +10:00
Paul Gear 984ec0d060 Save MIB graphs in database, tag devices for graphing 2015-06-16 08:27:56 +10:00
Paul Gear 1ddaa5c288 Minor fixup to MIB polling 2015-06-16 08:27:56 +10:00
Paul Gear 4af7dd8225 First cut at working poller for MIBs 2015-06-16 08:27:56 +10:00
Paul Gear f27de0b8ff Remove duplicate code 2015-06-16 08:27:55 +10:00
Paul Gear d969ef679b First cut at MIB-based discovery; not efficient 2015-06-16 08:13:08 +10:00
Paul Gear 874dc5ede5 Start at generic MIB parsing 2015-06-16 08:12:28 +10:00
Paul Gear 217202f18a Reduce duplication of mibdir code 2015-06-13 09:51:22 +10:00
Mickael Marchand 8705dfa033 Fix ifAlias parsing when the description contains "="
It might also fix a few other parsing issues involving "=" in other snmp fields
2015-05-11 12:25:59 +02:00
laf 192d1be102 Added a hard limit for explode on oid 2015-03-31 21:18:43 +01:00
Neil Lathwood a4d3c8709d Fixed the scrut coding style issues 2015-02-22 16:45:40 +00:00
Paul Gear 45d8325e97 Revert "Merge pull request #160 from laf/issue-159"
This reverts commit 59dfe4eee2, reversing
changes made to e6fa7d433d.

This commit does not constitute agreement with the claim of copyright violation made by Adam Armstrong at
https://github.com/librenms/librenms/commit/59dfe4eee24630649a1b96b82cb55fb29e07a0b0
2014-04-28 20:10:36 +10:00
laf fe100a499a Fix for Cisco kit where match prefix is switched off. 2014-03-05 15:02:04 +00:00
Paul Gear aa9dded019 Remove user-facing references to Observium
This eliminates nearly all of the user-facing references to Observium,
including in the names of temporary files and in the metadata of PDFs.  Many
of these may not be used any more, but I've adjusted them anyway.  These
changes should also make it easier to change the branding later if it is
needed.  There are a few references of which I still don't understand the
significance, so I've left them as-is for now.  The Unix agent in particular
is rather untidy.
2013-11-05 09:33:32 +10:00
Adam Amstrong d3796004ae accesspoint support (probably) from ethan sommer (#50)
git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-21 18:17:23 +00:00
Adam Amstrong 4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans 4985943822 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-15 15:18:57 +00:00
Adam Amstrong fe67f1e5a2 fix problem with snmp_get_multi
git-svn-id: http://www.observium.org/svn/observer/trunk@3163 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-10 15:02:57 +00:00
Adam Amstrong 790480769b snmpv3 support. for hipsters.
git-svn-id: http://www.observium.org/svn/observer/trunk@3156 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 16:18:23 +00:00
Tom Laermans 764cb72cd5 fixes and cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@3018 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-10 15:53:10 +00:00
Tom Laermans a10d3f75ea syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3008 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 15:30:45 +00:00
Adam Amstrong 79f90c05f3 fix netstats-ip
git-svn-id: http://www.observium.org/svn/observer/trunk@3006 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 13:30:00 +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 3e2d1a1f45 erase jwh's failure
git-svn-id: http://www.observium.org/svn/observer/trunk@2939 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-29 15:00:16 +00:00
Adam Amstrong eb81c12499 some junos stuff from billy-boy fenner, not sure what it does, but the belgian wants it, best commit to make him stfu, eh
git-svn-id: http://www.observium.org/svn/observer/trunk@2927 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-26 13:34:49 +00:00
Adam Amstrong b97d23e4d2 add string_to_oid, use it in netscaler sensors
git-svn-id: http://www.observium.org/svn/observer/trunk@2824 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-17 16:01:50 +00:00
Adam Amstrong 924a4beb01 netscaler sensors
git-svn-id: http://www.observium.org/svn/observer/trunk@2823 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-17 15:58:34 +00:00
Tom Laermans a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans 16a0989316 move and optimize away some sql queries, remove obsolete code
git-svn-id: http://www.observium.org/svn/observer/trunk@2638 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-03 13:40:37 +00:00
Tom Laermans 9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Adam Amstrong ae2f6b1941 add better debugging. version check quiet.
git-svn-id: http://www.observium.org/svn/observer/trunk@2472 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 22:35:22 +00:00
Adam Amstrong df4dbfddf4 debug
git-svn-id: http://www.observium.org/svn/observer/trunk@2388 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 10:30:52 +00:00
Adam Amstrong ac299ec4fa OSPF poller. may get split into discovery/poller at some point. no RRDs yet. no web interface.
git-svn-id: http://www.observium.org/svn/observer/trunk@2175 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-27 01:39:02 +00:00
Geert Hauwaerts bad7b536b5 BUGFIX: snmpwalk_cache_cip() only returned 1 array element, not the entire array.
git-svn-id: http://www.observium.org/svn/observer/trunk@2060 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-12 16:27:42 +00:00
Tom Laermans bb4746d4d0 cleanups, small fixes and remove test-*php from the root
git-svn-id: http://www.observium.org/svn/observer/trunk@1998 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-31 10:51:02 +00:00