aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorPim van den Berg2009-09-29 22:07:01 +0200
committerPim van den Berg2009-09-29 22:07:01 +0200
commitb1f866709a3ce30678e183e08d424247e761ca44 (patch)
treea52f5aea35f90c1a061929263ff8d0fb7db2542f /conf
parentprevent warning when no categories are defined (diff)
downloadapt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.zip
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.gz
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.bz2
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.xz
make width and heigth of graphs configurable
These configuration options have been added: - width - heigth - detail-width - detail-heigth
Diffstat (limited to 'conf')
-rw-r--r--conf/config.php7
1 files changed, 7 insertions, 0 deletions
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';
5#$CONFIG['cat']['nethuis'] = array('pepper'); 5#$CONFIG['cat']['nethuis'] = array('pepper');
6$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); 6$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap');
7 7
8# default width/height of the graphs
9$CONFIG['width'] = 400;
10$CONFIG['heigth'] = 175;
11# default width/height of detailed graphs
12$CONFIG['detail-width'] = 800;
13$CONFIG['detail-heigth'] = 350;
14
8$CONFIG['groupby'] = array( 15$CONFIG['groupby'] = array(
9 'cpu' => 'type', 16 'cpu' => 'type',
10 'irq' => 'type', 17 'irq' => 'type',