Commit Graph

44 Commits

Author SHA1 Message Date
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
Adam Amstrong
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
Tom Laermans
fd8f8d530b hide snmp stderr if not in debug mode, though some errors are still sneaking out somewhere
git-svn-id: http://www.observium.org/svn/observer/trunk@1509 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 11:22:20 +00:00
Adam Amstrong
4820454468 fix port poller for devices which run out of oids :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1497 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-27 18:55:45 +00:00
Adam Amstrong
e220114f4c add some mibs, update snmp functions
git-svn-id: http://www.observium.org/svn/observer/trunk@1458 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-22 21:58:49 +00:00
Adam Amstrong
491521cb20 rework netstats polling to work around missing oids and implement snmp_get_multi (maybe needs more work)
git-svn-id: http://www.observium.org/svn/observer/trunk@1379 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-17 15:54:47 +00:00
Adam Amstrong
11e3edbf2c disable snmp timeouts for now, pending fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@1295 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 12:29:37 +00:00
Adam Amstrong
c22e8493f7 migrate all SNMP calls to use $config['mibdir']. automatically generated from install_dir if not present
git-svn-id: http://www.observium.org/svn/observer/trunk@1284 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-02 19:58:13 +00:00
Tom Laermans
1c7c3e178e snmp timeout & retry settings, for now only globally and not per device
git-svn-id: http://www.observium.org/svn/observer/trunk@1268 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 17:30:18 +00:00
Adam Amstrong
9542635761 merge $popgraph and $popdescr into $config['os'] as overgraph and overtext
merge ifalias/ifdescr/ifname/ifindex decision making about port names into $config['os']


git-svn-id: http://www.observium.org/svn/observer/trunk@1265 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 13:04:03 +00:00
Tom Laermans
857a46425f add snmpbulkwalk blacklist, add power device type for netmanplus
git-svn-id: http://www.observium.org/svn/observer/trunk@1191 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-16 12:46:52 +00:00
Adam Amstrong
e696b60ba7 switch to preg_split (split deprecated). ignore temps >1000 and == 0 for lmsensors
git-svn-id: http://www.observium.org/svn/observer/trunk@1150 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-12 15:17:38 +00:00
Adam Amstrong
d62c8aedc8 more icons and fixing overview.
git-svn-id: http://www.observium.org/svn/observer/trunk@1009 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-11 21:58:50 +00:00
Adam Amstrong
1e7860e930 bit of restructuring and tiding. all hail bunny.
git-svn-id: http://www.observium.org/svn/observer/trunk@977 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-28 22:04:15 +00:00