aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/dbi.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-03 11:40:46 +0200
committerPim van den Berg2014-05-03 19:19:05 +0200
commit1bb10c398d1a3198a8b86517bd780b8122e2e69d (patch)
tree669ea50b9b0efe268f4bb9153459f95ccfb167b5 /plugin/dbi.php
parenttype: move generic functions to base class (diff)
downloadapt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.zip
apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.gz
apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.bz2
apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.xz
move collectd_flush function to base class
Diffstat (limited to 'plugin/dbi.php')
-rw-r--r--plugin/dbi.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/dbi.php b/plugin/dbi.php
index 31aacc9..b9dd268 100644
--- a/plugin/dbi.php
+++ b/plugin/dbi.php
@@ -4,7 +4,6 @@
4 4
5require_once 'conf/common.inc.php'; 5require_once 'conf/common.inc.php';
6require_once 'type/Default.class.php'; 6require_once 'type/Default.class.php';
7require_once 'inc/collectd.inc.php';
8 7
9 8
10 9
@@ -14,5 +13,4 @@ $obj = new Type_Default($CONFIG, $_GET);
14$obj->rrd_title = sprintf('%s', $obj->args['pinstance'], $obj->args['type']); 13$obj->rrd_title = sprintf('%s', $obj->args['pinstance'], $obj->args['type']);
15$obj->rrd_format = '%5.1lf%s'; 14$obj->rrd_format = '%5.1lf%s';
16 15
17collectd_flush($obj->identifiers);
18$obj->rrd_graph(); 16$obj->rrd_graph();