From ebcc489d12493a5ee4807126325e284bb10f9469 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 4 Oct 2010 14:50:53 +0200 Subject: plugin: add bind plugin Very basic support for bind. --- plugin/bind.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 plugin/bind.php (limited to 'plugin') diff --git a/plugin/bind.php b/plugin/bind.php new file mode 100644 index 0000000..2ba5bc7 --- /dev/null +++ b/plugin/bind.php @@ -0,0 +1,20 @@ +width = $width; +$obj->heigth = $heigth; +$obj->generate_colors(); + +$obj->rrd_title = sprintf('%s/%s', $obj->args['pinstance'], $obj->args['type']); +$obj->rrd_format = '%5.1lf%s'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); + -- cgit v1.1