aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorThomas Harold2013-06-29 20:24:00 -0400
committerPim van den Berg2014-03-23 12:29:01 +0100
commitf579b9f5869ab165b2df2f133fc59923bc583fb1 (patch)
treea99b9c5d6025436194ac43ee70fc20321a87a03c /plugin
parentplugin: add aggregation plugin (diff)
downloadapt-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 'plugin')
-rw-r--r--plugin/aggregation.php2
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);