aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/snmp.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/snmp.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/snmp.php')
-rw-r--r--plugin/snmp.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/snmp.php b/plugin/snmp.php
index 680d94f..4d871a8 100644
--- a/plugin/snmp.php
+++ b/plugin/snmp.php
@@ -3,7 +3,6 @@
3# Collectd snmp plugin 3# Collectd snmp plugin
4 4
5require_once 'conf/common.inc.php'; 5require_once 'conf/common.inc.php';
6require_once 'inc/collectd.inc.php';
7 6
8 7
9switch(GET('t')) { 8switch(GET('t')) {
@@ -32,6 +31,5 @@ switch(GET('t')) {
32 31
33$obj->rrd_format = '%5.1lf%s'; 32$obj->rrd_format = '%5.1lf%s';
34 33
35collectd_flush($obj->identifiers);
36$obj->rrd_graph(); 34$obj->rrd_graph();
37 35