diff options
author | Pim van den Berg | 2014-05-03 11:15:53 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-03 11:15:53 +0200 |
commit | 1c888304d33a8c1405b8716356ae300fad39521c (patch) | |
tree | ce0f5ef1946da9fd006a333f49233007fa574ae4 /plugin/cpu.php | |
parent | inc: mv graphs_from_plugin, build_url functions to html.inc.php (diff) | |
download | apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.zip apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.gz apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.bz2 apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.xz |
type/Default: don't depend on external function GET
Diffstat (limited to 'plugin/cpu.php')
-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 a886f97..a3e968a 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); | 20 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
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( |