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/interface.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/interface.php') diff --git a/plugin/interface.php b/plugin/interface.php index bda0550..a3fca3d 100644 --- a/plugin/interface.php +++ b/plugin/interface.php @@ -13,7 +13,6 @@ require_once 'type/GenericIO.class.php'; $obj = new Type_GenericIO; $obj->datadir = $CONFIG['datadir']; -$obj->path_format = '{host}/{plugin}/{type}-{tinstance}.rrd'; $obj->args = array( 'host' => $host, 'plugin' => $plugin, -- cgit v1.1