Tom Laermans
1864e577d8
fix previous commit, do NULL check for all sensor types, minor start of unification
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2072 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 11:46:25 +00:00
Tom Laermans
f55a30f744
some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +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
Tom Laermans
009e122d33
don't continually send fan speed warning alert if there is no warning speed set
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1996 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-30 16:49:38 +00:00
Tom Laermans
ecbcd1db43
clean up polling source files, remove dead code
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1865 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 01:11:27 +00:00
Tom Laermans
69ce49fe2e
rename fanspeed rrds to work like the other sensors
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1764 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-16 11:13:53 +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
d887e82052
fix unsetting of cache in the wrong place on discovery of bgp peers on junos, whoops
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1738 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-24 12:07:09 +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
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
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
Adam Amstrong
6a673c1cce
updated email sending to allow global disabling and sysContact override
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1344 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-11 19:11:46 +00:00
Tom Laermans
bcf6107d68
failfix two of infinite
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1303 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 21:55:56 +00:00
Tom Laermans
58c69258c2
failfix one of infinite
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1302 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 21:54:35 +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
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
7e61778aa0
remove wrong fixme comment
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1240 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-21 17:21:27 +00:00
Adam Amstrong
8060d5a030
rejig events system (still not great. meh) clean up some pages.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1223 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-20 21:37:05 +00:00
Tom Laermans
c127dffa80
restore correct fan speed notification logic
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1023 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-13 19:39:28 +00:00
Adam Amstrong
0625d880c6
fix fans to notify *BELOW* speed not above! :D
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1022 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-13 16:52:03 +00:00
Geert Hauwaerts
74235000be
- Send email alerts on interface flaps when $config['warn']['ifdown'] is true.
...
- Added the setting timestamp_format:
Description: The timestamp format to use in logs or emails.
Default: d-m-Y H:i:s
- Modified timestamp dates.
git-svn-id: http://www.observium.org/svn/observer/trunk@952 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-25 20:40:35 +00:00
Adam Amstrong
01da6907e5
more fixes to discovery
...
git-svn-id: http://www.observium.org/svn/observer/trunk@841 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-15 01:53:00 +00:00
Adam Amstrong
54e8ac3cbd
add new IronWare (Brocade/Foundry) OS type. rename temp/fan/voltage_host to device_id
...
git-svn-id: http://www.observium.org/svn/observer/trunk@830 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-13 07:40:43 +00:00
Tom Laermans
bb7a1064d2
fix fanspeed max
...
git-svn-id: http://www.observium.org/svn/observer/trunk@822 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-11 18:29:14 +00:00
Tom Laermans
de3993094f
cleanups
...
git-svn-id: http://www.observium.org/svn/observer/trunk@809 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-10 15:57:09 +00:00
Tom Laermans
7b79de4fa4
voltage polling complete
...
git-svn-id: http://www.observium.org/svn/observer/trunk@804 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-10 12:03:12 +00:00
Tom Laermans
a917bbb358
correct limit logic for fans
...
git-svn-id: http://www.observium.org/svn/observer/trunk@803 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-10 11:51:55 +00:00
Tom Laermans
089e9e16ce
fan speed polling
...
git-svn-id: http://www.observium.org/svn/observer/trunk@802 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-10 11:42:45 +00:00