From 5e1bf4d4a83ac51080e33eb6ad3af4273a65c880 Mon Sep 17 00:00:00 2001 From: Manuel CISSÉ Date: Tue, 23 Feb 2010 18:10:29 +0100 Subject: add tcpconns plugin --- plugin/tcpconns.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 plugin/tcpconns.php diff --git a/plugin/tcpconns.php b/plugin/tcpconns.php new file mode 100644 index 0000000..5d8dba7 --- /dev/null +++ b/plugin/tcpconns.php @@ -0,0 +1,24 @@ +width = $width; +$obj->heigth = $heigth; +$obj->generate_colors(); +$obj->rrd_title = sprintf('TCP Connections (%s)', $obj->args['pinstance']); +$obj->rrd_vertical = '#'; +$obj->rrd_format = '%5.1lf'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); + +?> -- cgit v1.1