Commit graph

11 commits

Author SHA1 Message Date
Nils Schneider 35f42dbcf1 rrd: saner RRAs 2014-02-11 11:19:53 +01:00
Nils Schneider 8c0e367f3d rrd.py: remove unused argument 2014-02-09 16:55:50 +01:00
Daniel Ehlers 4c4e8d846b rrd: Only decrease client count for legacy nodes. 2014-01-30 22:29:09 +01:00
Nils Schneider 86485bc7df rrd.py: fix isfile check 2013-11-25 13:17:53 +01:00
Nils Schneider 7e498c4197 rrd.py: skip non-files 2013-11-23 23:17:04 +01:00
Nils Schneider a47345d51b rrd.py: clientCount -= 1 might not be needed with gluon/alfred 2013-11-23 22:22:29 +01:00
Nils Schneider 8ee4cbcf24 rrd.py: create output directory if it does not exist yet 2013-11-23 22:16:35 +01:00
Daniel Ehlers ca3c436813 Reduce clientCounter for every node.
We have an ghost client for every node, we don't want them in the global
client measurement.
2013-11-21 01:25:22 +01:00
Wilfried Klaebe 94dba3399c Beautify node stats.
Also display both rrdb fields in one graph.
2013-11-21 01:25:01 +01:00
Daniel Ehlers b878028671 Fix link handling.
Accidental the LinkConnector object was used for checking the nodes,
this patch fixes this behaviour.
2013-11-21 01:24:44 +01:00
Daniel Ehlers 62413d81f3 Generate node stats with rrd.
We have an rrd for every active node. On every run we update
stats about client count and node state from nodes.json to the rrd
databases. After updating the rrds we are able to generate a stat
graph (image) for every node.

The rrds are stored in subdirectory "nodedb" of the scripts location and
the generated images in subdirectory "nodes" of the destination directory.
Both directorys must exist bevor starting the script.
2013-11-21 01:24:12 +01:00