diff options
Diffstat (limited to '')
-rw-r--r-- | conf/config.php | 9 | ||||
-rw-r--r-- | conf/types.db | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/conf/config.php b/conf/config.php index 69f934c..6f50aeb 100644 --- a/conf/config.php +++ b/conf/config.php | |||
@@ -4,10 +4,10 @@ | |||
4 | $CONFIG['version'] = 5; | 4 | $CONFIG['version'] = 5; |
5 | 5 | ||
6 | # collectd's datadir | 6 | # collectd's datadir |
7 | $CONFIG['datadir'] = '/var/lib/collectd/rrd'; | 7 | $CONFIG['datadir'] = 'rrd'; |
8 | 8 | ||
9 | # location of the types.db file | 9 | # location of the types.db file |
10 | $CONFIG['typesdb'][] = '/usr/share/collectd/types.db'; | 10 | $CONFIG['typesdb'][] = 'conf/types.db'; |
11 | 11 | ||
12 | # rrdtool executable | 12 | # rrdtool executable |
13 | $CONFIG['rrdtool'] = '/usr/bin/rrdtool'; | 13 | $CONFIG['rrdtool'] = '/usr/bin/rrdtool'; |
@@ -34,7 +34,8 @@ $CONFIG['rrdtool_opts'] = array( | |||
34 | #$CONFIG['cat']['Mailservers'] = '/mail\d+/'; | 34 | #$CONFIG['cat']['Mailservers'] = '/mail\d+/'; |
35 | 35 | ||
36 | # default plugins to show on host page | 36 | # default plugins to show on host page |
37 | $CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); | 37 | #$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); |
38 | $CONFIG['overview'] = array('FTP', 'HTTP', 'HTTPS', 'RSYNC'); | ||
38 | 39 | ||
39 | # allowed other plugins to show on host page | 40 | # allowed other plugins to show on host page |
40 | $CONFIG['allowed'] = array(); | 41 | $CONFIG['allowed'] = array(); |
@@ -48,7 +49,7 @@ $CONFIG['time_range']['default'] = 86400 * 7; | |||
48 | $CONFIG['time_range']['uptime'] = 31536000; | 49 | $CONFIG['time_range']['uptime'] = 31536000; |
49 | 50 | ||
50 | # show load averages and used memory on overview page | 51 | # show load averages and used memory on overview page |
51 | $CONFIG['showload'] = true; | 52 | $CONFIG['showload'] = false; |
52 | $CONFIG['showmem'] = false; | 53 | $CONFIG['showmem'] = false; |
53 | $CONFIG['showtime'] = false; | 54 | $CONFIG['showtime'] = false; |
54 | 55 | ||
diff --git a/conf/types.db b/conf/types.db new file mode 100644 index 0000000..0605eae --- /dev/null +++ b/conf/types.db | |||
@@ -0,0 +1,2 @@ | |||
1 | Speed max:GAUGE:0:U, min:GAUGE:0:U | ||
2 | Tests ProtocolWarnings:GUAGE:0:U, URLSanityErrors:GUAGE:0:U, IntegrityErrors:GUAGE:0:U, IntegrityWarnings:GUAGE:0:U, UpdatedErrors:GUAGE:0:U, UpdatedWarnings:GUAGE:0:U | ||