Commit Graph

26 Commits

Author SHA1 Message Date
Adam Amstrong f80ecae2e3 unify sensor rrd filenaming, move to fuction.
git-svn-id: http://www.observium.org/svn/observer/trunk@2168 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-26 15:07:52 +00:00
Tom Laermans 21090cc3a3 unified sensor polling, apart from temperatures for now -- run discovery if you have frequencies being polled in your installation
git-svn-id: http://www.observium.org/svn/observer/trunk@2075 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 14:00:12 +00:00
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 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 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 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 21dbee7c20 more fixes for new sensor setup. more to come no doubt. also started making graphs which can 'widen'
git-svn-id: http://www.observium.org/svn/observer/trunk@1534 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 21:45:25 +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
Tom Laermans f5e307d3c8 really fix voltage polling - patch by jduggan
git-svn-id: http://www.observium.org/svn/observer/trunk@1362 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-15 23:00:02 +00:00
Tom Laermans bffa3e28e7 fix voltage polling
git-svn-id: http://www.observium.org/svn/observer/trunk@1358 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-15 21:39:19 +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 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
Adam Amstrong 9f6f3226e1 fix voltage error
git-svn-id: http://www.observium.org/svn/observer/trunk@1292 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-04 21:30:32 +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
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 cdbf919799 fix event logs for limit alerts
git-svn-id: http://www.observium.org/svn/observer/trunk@1136 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-10 19:51:49 +00:00
Tom Laermans ff963ff70d fix log messages
git-svn-id: http://www.observium.org/svn/observer/trunk@1102 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-04 18:40:02 +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
Tom Laermans 185b621806 whoops, swapped min&max
git-svn-id: http://www.observium.org/svn/observer/trunk@873 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-16 02:08:33 +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 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 bf92c792f6 move divider for voltages into discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@807 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-10 15:32:59 +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