From 1bb10c398d1a3198a8b86517bd780b8122e2e69d Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 11:40:46 +0200 Subject: move collectd_flush function to base class --- plugin/snmp.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/snmp.php') 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 @@ # Collectd snmp plugin require_once 'conf/common.inc.php'; -require_once 'inc/collectd.inc.php'; switch(GET('t')) { @@ -32,6 +31,5 @@ switch(GET('t')) { $obj->rrd_format = '%5.1lf%s'; -collectd_flush($obj->identifiers); $obj->rrd_graph(); -- cgit v1.1