From b1f866709a3ce30678e183e08d424247e761ca44 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 29 Sep 2009 22:07:01 +0200 Subject: make width and heigth of graphs configurable These configuration options have been added: - width - heigth - detail-width - detail-heigth --- conf/config.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'conf') diff --git a/conf/config.php b/conf/config.php index 16a2d34..cbddfb3 100644 --- a/conf/config.php +++ b/conf/config.php @@ -5,6 +5,13 @@ $CONFIG['datadir'] = '/var/lib/collectd/rrd'; #$CONFIG['cat']['nethuis'] = array('pepper'); $CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); +# default width/height of the graphs +$CONFIG['width'] = 400; +$CONFIG['heigth'] = 175; +# default width/height of detailed graphs +$CONFIG['detail-width'] = 800; +$CONFIG['detail-heigth'] = 350; + $CONFIG['groupby'] = array( 'cpu' => 'type', 'irq' => 'type', -- cgit v1.1