From 924495bb2d732548083de9e54bf93eebe7f0d910 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 12 Jan 2010 19:58:47 +0100 Subject: make rrdtool executable configurable --- plugin/cpu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/cpu.php') diff --git a/plugin/cpu.php b/plugin/cpu.php index d4097b0..081427f 100644 --- a/plugin/cpu.php +++ b/plugin/cpu.php @@ -17,7 +17,7 @@ require_once 'inc/collectd.inc.php'; # cpu-X/cpu-user.rrd # cpu-X/cpu-wait.rrd -$obj = new Type_GenericStacked($CONFIG['datadir']); +$obj = new Type_GenericStacked($CONFIG); $obj->data_sources = array('value'); $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); $obj->ds_names = array( -- cgit v1.1