]> git.ipfire.org Git - collecty.git/commit - src/collecty/plugins/loadavg.py
Rewrite plugin architecture
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 8 May 2015 14:20:02 +0000 (14:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 8 May 2015 14:20:02 +0000 (14:20 +0000)
commit72364063b0582dd1b4bddf8557271eb231af846d
tree51929116847c9b6564a032a0f29bba8474702673
parent5d140577539b719cd6fcba07fd68e480bfc9869d
Rewrite plugin architecture

The plugin architecture has been rewritten so that there
is now one thread for each plugin and not for each object
any more. The objects are now processed in a queue and
the results are stored in a write cache module that writes
data to the RRD databases regularly or when needed.

This enables us to achieve our goal for a zeroconf approach
much better because every time data is collected it is scanned
for the available disks or interfaces or what ever is monitored
again.
src/collecty/daemon.py
src/collecty/plugins/base.py
src/collecty/plugins/cpu.py
src/collecty/plugins/entropy.py
src/collecty/plugins/interface.py
src/collecty/plugins/latency.py
src/collecty/plugins/loadavg.py
src/collecty/plugins/memory.py