diff options
author | Thomas Harold | 2013-06-29 20:24:00 -0400 |
---|---|---|
committer | Pim van den Berg | 2014-03-23 12:29:01 +0100 |
commit | f579b9f5869ab165b2df2f133fc59923bc583fb1 (patch) | |
tree | a99b9c5d6025436194ac43ee70fc20321a87a03c /plugin/aggregation.php | |
parent | plugin: add aggregation plugin (diff) | |
download | apt-panopticon_cgp-f579b9f5869ab165b2df2f133fc59923bc583fb1.zip apt-panopticon_cgp-f579b9f5869ab165b2df2f133fc59923bc583fb1.tar.gz apt-panopticon_cgp-f579b9f5869ab165b2df2f133fc59923bc583fb1.tar.bz2 apt-panopticon_cgp-f579b9f5869ab165b2df2f133fc59923bc583fb1.tar.xz |
plugin/aggregation: cpu: allow 4 digits
Diffstat (limited to '')
-rw-r--r-- | plugin/aggregation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/aggregation.php b/plugin/aggregation.php index 625ec33..3e8b598 100644 --- a/plugin/aggregation.php +++ b/plugin/aggregation.php | |||
@@ -39,7 +39,7 @@ switch($pi[0]) { | |||
39 | $obj->rrd_title = 'CPU usage'; | 39 | $obj->rrd_title = 'CPU usage'; |
40 | $obj->rrd_title = sprintf('CPU usage (%s)', $pi[1]); | 40 | $obj->rrd_title = sprintf('CPU usage (%s)', $pi[1]); |
41 | $obj->rrd_vertical = 'Jiffies'; | 41 | $obj->rrd_vertical = 'Jiffies'; |
42 | $obj->rrd_format = '%5.2lf'; | 42 | $obj->rrd_format = '%7.2lf'; |
43 | $obj->rrdtool_opts .= ' -u 100'; | 43 | $obj->rrdtool_opts .= ' -u 100'; |
44 | 44 | ||
45 | collectd_flush($obj->identifiers); | 45 | collectd_flush($obj->identifiers); |