From d86d1743d7fa3aabed3ed241e899b22db9430f15 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sun, 10 Apr 2011 19:49:27 +0200 Subject: plugin: add tail plugin --- plugin/tail.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugin/tail.php (limited to 'plugin') diff --git a/plugin/tail.php b/plugin/tail.php new file mode 100644 index 0000000..addad67 --- /dev/null +++ b/plugin/tail.php @@ -0,0 +1,18 @@ +width = $width; +$obj->heigth = $heigth; + +$obj->rrd_title = sprintf('tail: %s (%s)', $obj->args['pinstance'], $obj->args['type']); +$obj->rrd_format = '%5.1lf%s'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); -- cgit v1.1