Add some magic to collecty that makes the graph templates smaller
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Dec 2015 21:54:47 +0000 (22:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Dec 2015 21:54:47 +0000 (22:54 +0100)
commitcd8bba0b3693f6f20cb19e6f88a0d71ce2aef8c1
tree1374d33c7b96d673ac8fb73cc49e1b3eb6bb39a0
parente5a11dfd1c07ea232a613f094d32343288e87b20
Add some magic to collecty that makes the graph templates smaller

This patch will automatically add DEFs for all DSes in a
RR database. For all DEFs and CDEFs will be VDEFs generated
with the current, minimum and maximum values.

That reduces the size of the RRD graph templates massively
and makes them better readable and editable.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 files changed:
src/collecty/plugins/base.py
src/collecty/plugins/conntrack.py
src/collecty/plugins/contextswitches.py
src/collecty/plugins/df.py
src/collecty/plugins/disk.py
src/collecty/plugins/entropy.py
src/collecty/plugins/interface.py
src/collecty/plugins/interrupts.py
src/collecty/plugins/ipfrag.py
src/collecty/plugins/latency.py
src/collecty/plugins/loadavg.py
src/collecty/plugins/memory.py
src/collecty/plugins/processor.py
src/collecty/plugins/sensors.py