From 238e13fdaef8eb931e6665edcd24c4039f4dd1ff Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 7 Sep 2012 15:19:50 +0200 Subject: plugin: add powerdns plugin This is a very basic PowerDNS plugin. --- plugin/powerdns.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugin/powerdns.php (limited to 'plugin/powerdns.php') diff --git a/plugin/powerdns.php b/plugin/powerdns.php new file mode 100644 index 0000000..c8508cc --- /dev/null +++ b/plugin/powerdns.php @@ -0,0 +1,18 @@ +width = $width; +$obj->heigth = $heigth; + +$obj->rrd_title = sprintf('PowerDNS %s (%s)', $obj->args['type'], $obj->args['pinstance']); +$obj->rrd_format = '%5.1lf%s'; + +collectd_flush($obj->identifiers); +$obj->rrd_graph(); -- cgit v1.1