From 2d405766ed0b51b0841ece58da392cd6a6d301be Mon Sep 17 00:00:00 2001 From: bobonlog Date: Mon, 3 Mar 2014 16:43:31 -0800 Subject: Create dbi.php --- plugin/dbi.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugin/dbi.php (limited to 'plugin') diff --git a/plugin/dbi.php b/plugin/dbi.php new file mode 100644 index 0000000..cd650f2 --- /dev/null +++ b/plugin/dbi.php @@ -0,0 +1,18 @@ +rrd_title = sprintf('%s', $obj->args['pinstance'], $obj->args['type']); +$obj->rrd_format = '%5.1lf%s'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); -- cgit v1.1