From aa454ff4b3d4d5be9d5cc9dff4b4246c6e655f3e Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Wed, 4 Nov 2009 21:05:37 +0100 Subject: remove path_format from plugins The relative path to an rrd file can be generated based on host, plugin, plugin instance, type and type instance. In this case path_format is not needed anymore. This commit includes code based on the collectd_identifier function from php-collection by Bruno Prémont. --- plugin/irq.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/irq.php') diff --git a/plugin/irq.php b/plugin/irq.php index 6a05245..e442142 100644 --- a/plugin/irq.php +++ b/plugin/irq.php @@ -16,7 +16,6 @@ sort($tinstance); $obj = new Type_GenericStacked; $obj->datadir = $CONFIG['datadir']; -$obj->path_format = '{host}/{plugin}/{type}-{tinstance}.rrd'; $obj->args = array( 'host' => $host, 'plugin' => $plugin, -- cgit v1.1