aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorPim van den Berg2009-11-04 23:32:35 +0100
committerPim van den Berg2009-11-04 23:32:35 +0100
commit427ad818345c43bd23afbb108a803de732f12f1a (patch)
treebf6633d31f6939fe9d20f93eb8e6dc4242aea0ab /conf
parentcode cleanup in rrdtool class (diff)
downloadapt-panopticon_cgp-427ad818345c43bd23afbb108a803de732f12f1a.zip
apt-panopticon_cgp-427ad818345c43bd23afbb108a803de732f12f1a.tar.gz
apt-panopticon_cgp-427ad818345c43bd23afbb108a803de732f12f1a.tar.bz2
apt-panopticon_cgp-427ad818345c43bd23afbb108a803de732f12f1a.tar.xz
add descriptions to configuration settings
Diffstat (limited to 'conf')
-rw-r--r--conf/config.php19
1 files changed, 13 insertions, 6 deletions
diff --git a/conf/config.php b/conf/config.php
index 751bcf1..da23449 100644
--- a/conf/config.php
+++ b/conf/config.php
@@ -1,8 +1,12 @@
1<?php 1<?php
2 2
3# collectd's datadir
3$CONFIG['datadir'] = '/var/lib/collectd/rrd'; 4$CONFIG['datadir'] = '/var/lib/collectd/rrd';
4 5
5#$CONFIG['cat']['nethuis'] = array('pepper'); 6# category of hosts to show on main page
7#$CONFIG['cat']['category1'] = array('host1', 'host2');
8
9# default plugins to show on host page
6$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); 10$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap');
7 11
8# default width/height of the graphs 12# default width/height of the graphs
@@ -12,6 +16,13 @@ $CONFIG['heigth'] = 175;
12$CONFIG['detail-width'] = 800; 16$CONFIG['detail-width'] = 800;
13$CONFIG['detail-heigth'] = 350; 17$CONFIG['detail-heigth'] = 350;
14 18
19# collectd's unix socket (unixsock plugin)
20# enabled: 'unix:///var/run/collectd-unixsock'
21# disabled: NULL
22$CONFIG['socket'] = NULL;
23
24# group data to show in a graph
25# XXX: these settings have to move to their plugins
15$CONFIG['groupby'] = array( 26$CONFIG['groupby'] = array(
16 'cpu' => 'type', 27 'cpu' => 'type',
17 'irq' => 'type', 28 'irq' => 'type',
@@ -21,11 +32,7 @@ $CONFIG['groupby'] = array(
21 'sensors' => 'type', 32 'sensors' => 'type',
22); 33);
23 34
24# collectd's unix socket (unixsock plugin) 35# load local configuration
25# enabled: 'unix:///var/run/collectd-unixsock'
26# disabled: NULL
27$CONFIG['socket'] = NULL;
28
29if (file_exists(dirname(__FILE__).'/config.local.php')) 36if (file_exists(dirname(__FILE__).'/config.local.php'))
30 include 'config.local.php'; 37 include 'config.local.php';
31 38