44 Commits

Author SHA1 Message Date
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
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
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
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
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
cbc9d0393a polling/temperatures: switch to snmp_get(), patch by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1796 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-07 11:11:06 +00:00
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
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
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
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
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
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
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
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
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
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
920eac238e fix escaped eventlog that shouldn't be escaped
git-svn-id: http://www.observium.org/svn/observer/trunk@986 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-05 01:13:53 +00:00
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
d19ff6b927 - BUGFIX: Syntax error fix.
git-svn-id: http://www.observium.org/svn/observer/trunk@917 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 14:46:22 +00:00
56988b48f3 temp_tenths is for oldies, remove cruft
git-svn-id: http://www.observium.org/svn/observer/trunk@914 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 10:30:23 +00:00
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
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
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
e77c976670 use rrdtool_update() everywhere instead of single rrdtool update lines, remove some dead code, and a bunch of coding style cleanups..
git-svn-id: http://www.observium.org/svn/observer/trunk@780 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-07 22:39:02 +00:00
57a9689ddd correctly escape : for temperatures so FPC temperature works on junos + add safename() function to strip unwanted characters from filenames - should not break anything existing afaik
git-svn-id: http://www.observium.org/svn/observer/trunk@765 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-05 22:10:06 +00:00
ca3d83fad6 update eventlog on temperature over threshold
git-svn-id: http://www.observium.org/svn/observer/trunk@730 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-26 15:41:45 +00:00
f63483a2af try 5 times to get a valid temperature, Papouch TME sometimes returns 999.9 - refactor temp polling code a little bit
git-svn-id: http://www.observium.org/svn/observer/trunk@728 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-26 11:33:12 +00:00
a18067d613 Temperature improvements:
- Allow default limit to be set in configuration
- Insert temperature upon discovery already into database (except observer-style .. yet)
- On Supermicro temperatures, select high limit via snmp as well

git-svn-id: http://www.observium.org/svn/observer/trunk@722 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-25 17:27:29 +00:00
c37bc334f8 lm-sensors support + precision in temperature poller instead of tenths
git-svn-id: http://www.observium.org/svn/observer/trunk@696 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-16 00:20:51 +00:00
2a426699ee remove module use from tme
git-svn-id: http://www.observium.org/svn/observer/trunk@688 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-14 17:18:28 +00:00
b5bf3df50d fix newlines in 2 polling files
git-svn-id: http://www.observium.org/svn/observer/trunk@628 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-09 00:50:29 +00:00
a688944816 Ignore failed temperature readings, though they will probably still be inserted as 0 degrees
git-svn-id: http://www.observium.org/svn/observer/trunk@612 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-07 17:48:41 +00:00
bfc9f845ce replacing <? with <?php
git-svn-id: http://www.observium.org/svn/observer/trunk@466 61d68cd4-352d-0410-923a-c4978735b2b8
2009-09-07 11:07:59 +00:00
1df7127d28 fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@409 61d68cd4-352d-0410-923a-c4978735b2b8
2009-04-28 10:28:58 +00:00
dde365e30c many polling and discovery performance improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@408 61d68cd4-352d-0410-923a-c4978735b2b8
2009-04-24 15:04:45 +00:00
44d1431f94 lots of fixes for non-webroot installations
git-svn-id: http://www.observium.org/svn/observer/trunk@362 61d68cd4-352d-0410-923a-c4978735b2b8
2009-03-23 17:32:25 +00:00
83eb114da1 remove the last usage of config variables outside of the $config array ($rrd_file) + fixed adduser script
git-svn-id: http://www.observium.org/svn/observer/trunk@354 61d68cd4-352d-0410-923a-c4978735b2b8
2009-03-16 15:19:44 +00:00
96bb007d4b per-port SNMP polling. thanks to jonathan@studenteninternet.be
git-svn-id: http://www.observium.org/svn/observer/trunk@340 61d68cd4-352d-0410-923a-c4978735b2b8
2009-02-02 16:00:11 +00:00
544180decc update rrd locations
git-svn-id: http://www.observium.org/svn/observer/trunk@139 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-12 13:55:50 +00:00
89b6a9bf1a git-svn-id: http://www.observium.org/svn/observer/trunk@118 61d68cd4-352d-0410-923a-c4978735b2b8 2007-11-23 11:37:28 +00:00
b8e3ba656a Lots of pretty things!
git-svn-id: http://www.observium.org/svn/observer/trunk@99 61d68cd4-352d-0410-923a-c4978735b2b8
2007-06-06 09:23:41 +00:00
ad4160c2ea Foob
git-svn-id: http://www.observium.org/svn/observer/trunk@98 61d68cd4-352d-0410-923a-c4978735b2b8
2007-05-20 19:21:35 +00:00
e52334f578 Changed id field in devices table to device_id (!!!1!!1!!eleven!1)
git-svn-id: http://www.observium.org/svn/observer/trunk@69 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-08 14:34:19 +00:00
d30625c23c Rearrange polling scripts
git-svn-id: http://www.observium.org/svn/observer/trunk@66 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-08 12:23:31 +00:00