From 08f3b1fc85f30f3272d1fe9833dd538ea0cc199c Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Sat, 10 Sep 2011 15:46:21 +0200 Subject: plugin/cpu: default scale to 100% To be able to easily compare graphs with different max values. --- plugin/cpu.php | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin') diff --git a/plugin/cpu.php b/plugin/cpu.php index 4c049d6..a0a19fc 100644 --- a/plugin/cpu.php +++ b/plugin/cpu.php @@ -46,6 +46,7 @@ $obj->heigth = $heigth; $obj->rrd_title = sprintf('CPU-%s usage', $obj->args['pinstance']); $obj->rrd_vertical = 'Jiffies'; $obj->rrd_format = '%5.2lf'; +$obj->rrdtool_opts .= ' -u 100'; collectd_flush($obj->identifiers); $obj->rrd_graph(); -- cgit v1.1