We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf5076 commit ebcc489Copy full SHA for ebcc489
plugin/bind.php
@@ -0,0 +1,20 @@
1
+<?php
2
+
3
+# Collectd bind plugin
4
5
+require_once 'conf/common.inc.php';
6
+require_once 'type/GenericStacked.class.php';
7
+require_once 'inc/collectd.inc.php';
8
9
10
+$obj = new Type_GenericStacked($CONFIG);
11
+$obj->width = $width;
12
+$obj->heigth = $heigth;
13
+$obj->generate_colors();
14
15
+$obj->rrd_title = sprintf('%s/%s', $obj->args['pinstance'], $obj->args['type']);
16
+$obj->rrd_format = '%5.1lf%s';
17
18
+collectd_flush($obj->identifiers);
19
+$obj->rrd_graph();
20
0 commit comments