Commit Graph

146 Commits

Author SHA1 Message Date
Neil Lathwood
16a47ac5e9 fix: Use isset for checking poller option (#4291) 2016-08-31 09:23:35 -05:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
zarya
10d7451a74 Hytera repeater support (#4163) 2016-08-23 19:44:45 +01:00
Neil Lathwood
cfe6d39250 Merge pull request #3991 from vitalisator/pbn2
move pbn mibs to subdirectory
2016-08-10 19:22:45 +01:00
Neil Lathwood
e09f5c552c Merge pull request #3800 from murrant/rrd-create-remote
RRD Cleanup: centralize rrd_exists check, utilize data_update() and rrd_name()
2016-08-10 18:44:45 +01:00
Tony Murray
97877e38ec Remove the var_dump of the poller stats update array
It doesn't add any useful info and takes up several lines
2016-08-09 14:06:01 -05:00
vitalisator
850c4a2f92 move pbn mibs to subdirectory 2016-08-07 11:40:37 +02:00
Tony Murray
97daf3dd54 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-01 10:18:28 -05:00
laf
d722bb6943 Update use of max repeaters to save mysql queries 2016-07-30 15:11:29 +01:00
Tony Murray
1f5cfe283e Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-18 15:58:56 -05:00
laf
33415796bd Re-enable the ability to run a disabled module manually 2016-07-11 12:28:54 +01:00
Tony Murray
01cfb960d1 Fix sensors rrd name issue
Use last instead of first, as last won't flush rrdcached
Only stream_select if timeout > 0
Attempt to fix mysql
2016-07-08 22:58:36 -05:00
Tony Murray
c5c5469179 Fix rrdtool_check_rrd_exists() 2016-07-08 14:35:00 -05:00
Tony Murray
57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
laf
9602f8467a Fixed bug in poller time response 2016-06-26 14:38:33 +01:00
laf
6ba32ebe5c Fix for polling/discovery function issue 2016-06-24 15:32:19 +01:00
laf
5d16cdb20a Fixed errors from scrut/murrant 2016-06-22 19:10:33 +01:00
laf
246664d1f9 Updated module run time to be limited to 5 decimal places 2016-06-21 01:44:50 +01:00
laf
a194009917 Pretty up the polling process output 2016-06-21 01:41:45 +01:00
Neil Lathwood
0da39d9f7b Updated includes/polling/functions.inc.php to include full path file
Updated includes/polling/functions.inc.php to include full path file will fix weathermap
2016-06-07 12:30:44 +01:00
Tony Murray
009840bf8a Store device group relationships in a pivot table. 2016-06-02 13:25:01 -05:00
Tony Murray
7664464dd9 Don't alert unless the sensor value actually surpasses the threshold.
Use >/< instead of >=/<=
2016-05-06 10:46:54 -05:00
Tony Murray
46a0bbfc82 Add PoE state to Netonix devices
Allow for non-numeric states.  state_descr must match what is returned by the device.
2016-04-23 20:56:21 -05:00
Paul Heinrichs
985e1a4402 Split Cambium/Canopy Detection and Polling 2016-03-24 10:34:56 -04:00
Paul Heinrichs
a13d148fb1 Added Signal Sensor 2016-03-22 10:37:07 -04:00
Paul Heinrichs
72b9fd4d38 Added Cambium Support 2016-03-22 09:32:26 -04:00
Rosiak
73149f3f19 More updates
Add sensor_prev to be able to alert on state change

Add docs
2016-02-27 15:29:11 +01:00
laf
4f3aceef5a Added reason why device goes up/down to eventlog 2016-02-20 16:09:37 +00:00
laf
8c53a94233 Removed old alerting dbInsert code 2016-02-11 22:27:36 +00:00
Tony Murray
e3ec42c06d Deal with 0 value for sensor data better.
Issue #2883
2016-02-09 14:20:36 -06:00
Paul Gear
99a76d4ea2 Update per-module poller performance collection
This makes the following changes:
- Record per-module performance data in the same measurement as overall poller-perf
- Add tags to distinguish modules
- Update rrd filenames
- Use stacked graph for poller modules
2016-01-26 20:20:42 +10:00
Mike Rostermund
006056a754 Store performance data for each poller module 2016-01-24 15:35:31 +01:00
Neil Lathwood
abf2fc0ba5 Merge pull request #2740 from paulgear/unified-data-storage-rrd-influx
First cut at unified data storage for rrdtool & influxdb
2016-01-21 23:31:09 +00:00
laf
49adff3895 Added the lookup of IP if device hostname is a hostname 2016-01-17 23:59:51 +00:00
Paul Gear
3831ad3f45 First cut at unified data storage for rrdtool & influxdb
As a side-effect, this adds InfluxDB support for MIB-based polling.
2016-01-15 21:49:57 +10:00
Paul Gear
d1d3dba97d Merge pull request #2637 from laf/snmp-perf
Moved system polling module to core to centralise some snmpget calls
2016-01-15 20:10:09 +10:00
Neil Lathwood
72cc180184 Merge pull request #2719 from SaaldjorMike/del-utime-func
Replaced custom utime() function with microtime(true)
2016-01-10 22:43:31 +00:00
laf
cc2dfafffa Fix polling issue for AirFibre 2016-01-10 16:46:31 +00:00
laf
c1da4d8a6f rebased 2016-01-10 00:46:04 +00:00
Mike Rostermund
e2d1a8e7d9 Replaced custom utime() function with microtime(true) 2016-01-08 13:33:32 +01:00
Thom Seddon
89a76ef673 Add comprehensive Sub10 support 2016-01-08 10:51:25 +00:00
Mike Rostermund
a1261a0aeb Replace utime() for microtime(true) 2016-01-08 08:41:12 +01:00
Mike Rostermund
51d2e32c36 Print runtimes for each individual polling and discovery module. 2016-01-07 12:04:51 -08:00
Neil Lathwood
564752210d Merge pull request #2536 from paulgear/mib-poller-alpha2
MIB-based poller alpha2
2016-01-06 09:08:56 +00:00
laf
0f33f6d1fa Rebased 2016-01-04 12:09:32 +00:00
Paul Gear
8a20ad4896 Move rrd handling functions into includes/rrdtool.inc.php; add backwards compatibility with file naming in old version of MIB-based polling 2016-01-02 07:10:42 +10:00
laf
821a797ac9 Moved system polling module to core to centralise some snmpget calls 2015-12-16 20:56:58 +00:00
laf
8953e268f8 Added NOW() to dbUpdate calls to sensors 2015-12-09 22:24:29 +00:00
laf
7d7479b977 Added parsing support for lat/lng coords from device location 2015-11-16 18:50:52 -08:00
laf
7b14aada4e Rebased 2015-10-26 11:08:19 +00:00