aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/config.php
blob: 751bcf13fccab06b6520582d722e5c1f34b94a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

$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',
	'memory' => 'type',
	'processes' => 'type',
	'swap' => 'type',
	'sensors' => 'type',
);

# collectd's unix socket (unixsock plugin)
# enabled: 'unix:///var/run/collectd-unixsock'
# disabled: NULL
$CONFIG['socket'] = NULL;

if (file_exists(dirname(__FILE__).'/config.local.php'))
	include 'config.local.php';

?>