aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/aggregation.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/aggregation.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/aggregation.php')
-rw-r--r--plugin/aggregation.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/aggregation.php b/plugin/aggregation.php
index c4353ce..2a74403 100644
--- a/plugin/aggregation.php
+++ b/plugin/aggregation.php
@@ -3,7 +3,6 @@
3# Collectd aggregation plugin 3# Collectd aggregation plugin
4 4
5require_once 'conf/common.inc.php'; 5require_once 'conf/common.inc.php';
6require_once 'inc/collectd.inc.php';
7 6
8## LAYOUT 7## LAYOUT
9# aggregation-(plugin)-(calculate)/(type)-(type-instance).rrd 8# aggregation-(plugin)-(calculate)/(type)-(type-instance).rrd
@@ -42,7 +41,6 @@ switch($pi[0]) {
42 $obj->rrd_format = '%7.2lf'; 41 $obj->rrd_format = '%7.2lf';
43 $obj->rrdtool_opts .= ' -u 100'; 42 $obj->rrdtool_opts .= ' -u 100';
44 43
45 collectd_flush($obj->identifiers);
46 $obj->rrd_graph(); 44 $obj->rrd_graph();
47 break; 45 break;
48} 46}