diff options
author | Pim van den Berg | 2010-01-12 19:58:47 +0100 |
---|---|---|
committer | Pim van den Berg | 2010-01-12 20:19:47 +0100 |
commit | 924495bb2d732548083de9e54bf93eebe7f0d910 (patch) | |
tree | 1f9deb6f85c00cf568d6738752bb21a6a3658521 /plugin/cpu.php | |
parent | update changelog to v0.2 (diff) | |
download | apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.zip apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.gz apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.bz2 apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.xz |
make rrdtool executable configurable
Diffstat (limited to '')
-rw-r--r-- | plugin/cpu.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; | |||
17 | # cpu-X/cpu-user.rrd | 17 | # cpu-X/cpu-user.rrd |
18 | # cpu-X/cpu-wait.rrd | 18 | # cpu-X/cpu-wait.rrd |
19 | 19 | ||
20 | $obj = new Type_GenericStacked($CONFIG['datadir']); | 20 | $obj = new Type_GenericStacked($CONFIG); |
21 | $obj->data_sources = array('value'); | 21 | $obj->data_sources = array('value'); |
22 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); | 22 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); |
23 | $obj->ds_names = array( | 23 | $obj->ds_names = array( |