72 Commits

Author SHA1 Message Date
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Tom Laermans
a4f78e84f0 fix cpu detection, and probably other stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2468 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 15:45:11 +00:00
Adam Amstrong
c50de1713d genericify move thing sto the correct places
git-svn-id: http://www.observium.org/svn/observer/trunk@2466 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 15:03:42 +00:00
Adam Amstrong
ad39220a6a fix for disk detection
git-svn-id: http://www.observium.org/svn/observer/trunk@2391 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-17 13:38:27 +00:00
Adam Amstrong
7fa82047e2 fix sensors insert
git-svn-id: http://www.observium.org/svn/observer/trunk@2362 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-25 16:16:55 +00:00
Adam Amstrong
20814329ac fix cisco entphysical sensors (need to do non-cisco too)
git-svn-id: http://www.observium.org/svn/observer/trunk@2345 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 22:21:02 +00:00
Adam Amstrong
046833b67e updates
git-svn-id: http://www.observium.org/svn/observer/trunk@2344 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 22:10:23 +00:00
Adam Amstrong
1b956853ad cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2340 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 19:21:20 +00:00
Adam Amstrong
20c2f225c9 fix temperatures i think.
git-svn-id: http://www.observium.org/svn/observer/trunk@2239 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 13:22:41 +00:00
Adam Amstrong
7cd3dc86ec fix temperature and processors discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2238 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 12:58:57 +00:00
Adam Amstrong
bccaa2c279 fix temperatures
git-svn-id: http://www.observium.org/svn/observer/trunk@2237 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 11:09:27 +00:00
Adam Amstrong
b3bd336515 fix ipv6-addresses discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2235 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 10:45:38 +00:00
Adam Amstrong
04f5389e77 correctly calculate limits for negative voltage sensors
git-svn-id: http://www.observium.org/svn/observer/trunk@2192 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-28 13:06:39 +00:00
Tom Laermans
8e36ec56a2 correctly calculate frequency limits again
git-svn-id: http://www.observium.org/svn/observer/trunk@2124 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-21 10:41:43 +00:00
Adam Amstrong
e7c8b77583 Power discovery/polling enabled for IPMI, CISCO-ENTITY-SENSORS-MIB and ENTIY-SENSORS-MIB
git-svn-id: http://www.observium.org/svn/observer/trunk@2104 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 09:59:48 +00:00
Tom Laermans
a98d315700 support NULL as low and high limits for sensors
git-svn-id: http://www.observium.org/svn/observer/trunk@2070 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 11:38:42 +00:00
Tom Laermans
a914dfd482 remove DEVELOPING file, moved to wiki now (see Developing); minor layout fixes; remove some sql queries upon eventlog, as log_event actually prefers to receive a device array in the first place
git-svn-id: http://www.observium.org/svn/observer/trunk@2011 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-03 19:36:32 +00:00
Adam Amstrong
aa901a2a28 fixes to shit i dont use, thanks to falz :D
git-svn-id: http://www.observium.org/svn/observer/trunk@1969 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-24 10:40:52 +00:00
Tom Laermans
e61065a4a3 don't set ANY low limit for current
git-svn-id: http://www.observium.org/svn/observer/trunk@1908 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 13:57:37 +00:00
Tom Laermans
1644eb66cb don't set low limit for current
git-svn-id: http://www.observium.org/svn/observer/trunk@1907 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 13:56:04 +00:00
Tom Laermans
d077282444 Reindent/cleanup, remove dead files
git-svn-id: http://www.observium.org/svn/observer/trunk@1858 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:39:57 +00:00
Tom Laermans
12fbf7430c more cleanup/reindent, yay
git-svn-id: http://www.observium.org/svn/observer/trunk@1839 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 11:24:35 +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
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
Adam Amstrong
3b5ed3524e autoset thresholds for sensors which don't have them
git-svn-id: http://www.observium.org/svn/observer/trunk@1666 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 12:46:07 +00:00
Adam Amstrong
7b2fc2dbe1 fixes to new sensors setup
git-svn-id: http://www.observium.org/svn/observer/trunk@1533 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 20:34:31 +00:00
Adam Amstrong
0e7561e56f sensor eventlog cleanup (don't put current value, it's too much info)
git-svn-id: http://www.observium.org/svn/observer/trunk@1530 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 18:50:21 +00:00
Adam Amstrong
4f2972660f retooled sensors discovery. use global $valid_sensor, use sensors table only, replace sensor_precision with sensor_multiplier and sensor_divisor, remove all old discover_* functions and replace with discover_sensor
git-svn-id: http://www.observium.org/svn/observer/trunk@1529 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 18:25:11 +00:00
Tom Laermans
06c48f84af bugfix in discover_sensor
git-svn-id: http://www.observium.org/svn/observer/trunk@1359 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-15 21:39:58 +00:00
Tom Laermans
2b8285099c fix updating of currents until the function is merged to discover_sensor :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1349 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-13 10:31:46 +00:00
Adam Amstrong
ae7b3fe74a don't set current value of processor on discovery (duh)
git-svn-id: http://www.observium.org/svn/observer/trunk@1320 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-09 14:04:05 +00:00
Adam Amstrong
dcf90d4af1 update precision (divisor) on processors
git-svn-id: http://www.observium.org/svn/observer/trunk@1319 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-09 13:53:54 +00:00
Tom Laermans
6996cc2e24 start of universal discover_sensor, change humidity to that one already, rest needs small rework
git-svn-id: http://www.observium.org/svn/observer/trunk@1313 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-07 14:55:21 +00:00
Tom Laermans
1ed4749f40 move current to sensors table, plug some sql injection holes
git-svn-id: http://www.observium.org/svn/observer/trunk@1312 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-07 14:34:44 +00:00
Tom Laermans
27d1a215f3 Move voltages to sensors table, clean up some unused functions and move web-only functions to the html includes file
git-svn-id: http://www.observium.org/svn/observer/trunk@1311 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-07 13:58:11 +00:00
Tom Laermans
600b0ba2bf move fanspeed to sensors table - please run discovery immediately after svn up
git-svn-id: http://www.observium.org/svn/observer/trunk@1270 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 23:16:04 +00:00
Tom Laermans
635398d2c8 move temperatures to sensors table - please run discovery immediately after svn up
git-svn-id: http://www.observium.org/svn/observer/trunk@1269 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 22:12:56 +00:00
Tom Laermans
d449b63524 sensors table, with humidity as its first consumer - akcp humidity support implemented
git-svn-id: http://www.observium.org/svn/observer/trunk@1249 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-23 15:54:56 +00:00
Tom Laermans
0bcea700cc fix the last discovery function to use the by-reference array, toner
git-svn-id: http://www.observium.org/svn/observer/trunk@1198 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-17 14:26:30 +00:00
Tom Laermans
c5f104b18a netman plus currents + use by-reference array on discover_current()
git-svn-id: http://www.observium.org/svn/observer/trunk@1195 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-17 10:46:04 +00:00
Tom Laermans
8ad6ddd3ad Unify + use by-reference array for fans too
git-svn-id: http://www.observium.org/svn/observer/trunk@1194 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-17 10:14:53 +00:00
Tom Laermans
ba6e3429d0 various fixes, add some more netmanplus stats, convert discover_volt and discover_freq to use the by-reference array like discover_temperature
git-svn-id: http://www.observium.org/svn/observer/trunk@1193 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-17 10:03:50 +00:00
Adam Amstrong
1f5dce0cbf voltages without thresholds will now be set +/- 5%. i expect this will cause a shitstorm amongst cheap hardware, but lets see how it goes. need some means of tuning these (it only sets if a limit isn't passed to the function, and there isn't already a limit in the database)
git-svn-id: http://www.observium.org/svn/observer/trunk@1152 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-12 15:56:37 +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
Tom Laermans
b20d382a8c current support (STILL NEEDS AN ICON, YES), discovery only on APC devices at the moment
git-svn-id: http://www.observium.org/svn/observer/trunk@1125 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-09 20:03:16 +00:00
Tom Laermans
ba9b26313d fix updating already known temperatures on discovery, plus schema change which I forgot on one of the previous commits
git-svn-id: http://www.observium.org/svn/observer/trunk@1119 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-09 18:56:05 +00:00
Tom Laermans
647bf59d1c more mge fixes, cleanups, and addition of frequency monitoring (no webinterface part yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1095 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-03 10:23:11 +00:00
Tom Laermans
564e9fdc07 MGE UPS support, various fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@1093 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-03 09:12:07 +00:00
Adam Amstrong
65d040878a migrate temperature discovery to discover_temperature() function (and remove all those old generic duplicates! ack!) same rrd filenames are retained for now, perhaps we'll move to type-specific names in the future?
git-svn-id: http://www.observium.org/svn/observer/trunk@1082 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-29 15:19:42 +00:00