Commit Graph

11 Commits

Author SHA1 Message Date
Neil Lathwood
66d1006d91 feature: Added app_state support for applications #5068 (#6061)
* feature: Added app_state support for applications #5068

* moved schema file 173 -> 174

* Re-arrange code

* added device_id to dbUpdate call

* updated function + missing apps

* Rename 174.sql to 176.sql

* Remove $device, it is unneeded when updating.  Rename update_applications() -> update_application()

* Some apps can return simply 0
2017-03-11 08:39:32 -06:00
Neil Lathwood
fad5aca1b7 feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947)
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files

* revert defaults

* added docs + webui config option

* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.

* Fix style/lint issues and missing use statements

* 3 more missing use statements

* updated doc + moved schema file
2017-02-23 22:45:50 +00: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
Tony Murray
f526cb7d8d Ceph: only parse ceph data
Was parsing through all agent data, rather than just ceph data.
2016-08-12 14:33:17 -05:00
Tony Murray
0bc79a3b5f put rrd_name back 2016-08-12 13:50:49 -05:00
Tony Murray
9ac73b8eb2 Fix Ceph
compact() accepts strings naming the variables, not actual variables...
2016-08-12 13:31:11 -05:00
Tony Murray
224ebb0c0c Fix ceph filenames 2016-08-12 10:29:27 -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
Mark Chaney
674373d99a fixed backslash bug on ceph.inc.php
fixed backslash syntax error that stopped graphs from properly being generated.
2015-12-09 05:27:54 -06:00
Mark Schouten
24550b0c02 Fix if-then-else 2015-11-10 11:44:14 +01:00
Mark Schouten
a4eb4391c5 Add Ceph support 2015-11-10 11:10:06 +01:00