blob: da23449b44d474959a6592a27186c0f5d78782b9 (
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
33
34
35
36
37
38
39
|
<?php
# collectd's datadir
$CONFIG['datadir'] = '/var/lib/collectd/rrd';
# category of hosts to show on main page
#$CONFIG['cat']['category1'] = array('host1', 'host2');
# default plugins to show on host page
$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;
# collectd's unix socket (unixsock plugin)
# enabled: 'unix:///var/run/collectd-unixsock'
# disabled: NULL
$CONFIG['socket'] = NULL;
# group data to show in a graph
# XXX: these settings have to move to their plugins
$CONFIG['groupby'] = array(
'cpu' => 'type',
'irq' => 'type',
'memory' => 'type',
'processes' => 'type',
'swap' => 'type',
'sensors' => 'type',
);
# load local configuration
if (file_exists(dirname(__FILE__).'/config.local.php'))
include 'config.local.php';
?>
|