From 130bfb8d982b4f6b11b324987d8d8ed25acee44d Mon Sep 17 00:00:00 2001 From: Manuel CISSÉ Date: Wed, 3 Mar 2010 17:45:29 +0100 Subject: add conntrack plugin --- plugin/conntrack.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugin/conntrack.php (limited to 'plugin/conntrack.php') diff --git a/plugin/conntrack.php b/plugin/conntrack.php new file mode 100644 index 0000000..64b4f7f --- /dev/null +++ b/plugin/conntrack.php @@ -0,0 +1,30 @@ +data_sources = array('entropy'); +$obj->ds_names = array( + 'entropy' => 'Conntrack entries', +); +$obj->colors = array( + 'entropy' => '0000f0', +); +$obj->width = $width; +$obj->heigth = $heigth; +$obj->rrd_title = 'Conntrack entries'; +$obj->rrd_vertical = '#'; +$obj->rrd_format = '%.1lf'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); + +?> -- cgit v1.1