Commit Graph

63 Commits

Author SHA1 Message Date
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
59dfe4eee2
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
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Tom Laermans
7e1c7a5bdc last cleanup commit for now, yay
git-svn-id: http://www.observium.org/svn/observer/trunk@1910 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 14:27:40 +00:00
Tom Laermans
50f873bffc the trailing spaces hunt continues...
git-svn-id: http://www.observium.org/svn/observer/trunk@1867 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 09:29:46 +00:00
Adam Amstrong
f639ef3034 if no transport, transport = udp
git-svn-id: http://www.observium.org/svn/observer/trunk@1866 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 09:20:50 +00:00
Adam Amstrong
3181f3e0b8 fix snmp (thanks to iksaif)
git-svn-id: http://www.observium.org/svn/observer/trunk@1861 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 17:08:20 +00:00
Adam Amstrong
ba2e142c09 ipv4/ipv6 udp/tcp transport support patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1860 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 16:12:44 +00:00
Tom Laermans
a8d60662d2 clean, clean, clean, all i have to do is clean
git-svn-id: http://www.observium.org/svn/observer/trunk@1855 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:27:14 +00:00
Adam Amstrong
36e95e0c5a ignore timeout/retries if timeout/retries == 0
git-svn-id: http://www.observium.org/svn/observer/trunk@1825 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-12 11:32:02 +00:00
Tom Laermans
c6428480bc remove dead map.php code, rename some .inc to .inc.php files, general trailing space cleanup part 1, some reindent. No expected functionality change whatsoever ;)
git-svn-id: http://www.observium.org/svn/observer/trunk@1824 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-12 08:50:47 +00:00
Tom Laermans
92777ab03b cleanups, reindents, etc
git-svn-id: http://www.observium.org/svn/observer/trunk@1821 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-11 18:03:49 +00:00
Tom Laermans
b1d60eafd0 git-svn-id: http://www.observium.org/svn/observer/trunk@1817 61d68cd4-352d-0410-923a-c4978735b2b8 2011-03-10 16:00:37 +00:00
Tom Laermans
59171bf068 code and formatting cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1804 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-08 17:12:43 +00:00
Tom Laermans
cbc9a7e20c snmp.inc.php: really fix timeout issues, patch by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1791 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-04 17:51:02 +00:00
Tom Laermans
b4fcb6eb5d fix snmp retries/timeout typo, fix division by zero with broken mempools and don't discard lm-sensors fans faster than 500rpm - found by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1779 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-02 15:03:05 +00:00
Tom Laermans
6cb1b7f62b remove warning
git-svn-id: http://www.observium.org/svn/observer/trunk@1769 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-22 20:47:32 +00:00
Tom Laermans
06d2a707d5 some sensor unification, rename sensor rrds and rename the DS, add testing IPMI support (no web-part yet) - tested against Intel RMM3 and working. some further cleanups as well.
git-svn-id: http://www.observium.org/svn/observer/trunk@1758 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-15 17:54:42 +00:00
Tom Laermans
831724ab31 make snmpwalk_cache_multi_oid really do what its name says, cache - should speed up junos bgp counters tremendously on large number of sessions
git-svn-id: http://www.observium.org/svn/observer/trunk@1737 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-24 12:00:09 +00:00
Adam Amstrong
e3b2bc788c disable snmp timeout/retries as defaults
git-svn-id: http://www.observium.org/svn/observer/trunk@1720 61d68cd4-352d-0410-923a-c4978735b2b8
2010-10-07 18:12:35 +00:00
Adam Amstrong
038bc8c20e show ports/sensors on the device list page. add option to use php-snmp functions for snmp_get()s
git-svn-id: http://www.observium.org/svn/observer/trunk@1716 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-26 22:10:04 +00:00
Adam Amstrong
9ad432bab1 re-enable snmp timeout code, set to 5 tries of 1000ms
git-svn-id: http://www.observium.org/svn/observer/trunk@1703 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-16 11:54:08 +00:00
Adam Amstrong
37c4df5d7d fix net-snmp arguments order (breaks non-linux platforms)
git-svn-id: http://www.observium.org/svn/observer/trunk@1700 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-04 16:58:31 +00:00
Tom Laermans
a1bf48e63e many small fixes, hacky way to ignore no more variables, fix up supermicro sensor limits, loosen automatic sensor limit settings a bit
git-svn-id: http://www.observium.org/svn/observer/trunk@1675 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-13 13:17:53 +00:00