From d63ae653eb337d28cfb9012d962d32da6e05586c Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 10 Dec 2019 14:07:27 +1000 Subject: Make it suitable for apt-panopticon. --- conf/config.php | 9 +++++---- conf/types.db | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 conf/types.db (limited to 'conf') 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 @@ $CONFIG['version'] = 5; # collectd's datadir -$CONFIG['datadir'] = '/var/lib/collectd/rrd'; +$CONFIG['datadir'] = 'rrd'; # location of the types.db file -$CONFIG['typesdb'][] = '/usr/share/collectd/types.db'; +$CONFIG['typesdb'][] = 'conf/types.db'; # rrdtool executable $CONFIG['rrdtool'] = '/usr/bin/rrdtool'; @@ -34,7 +34,8 @@ $CONFIG['rrdtool_opts'] = array( #$CONFIG['cat']['Mailservers'] = '/mail\d+/'; # default plugins to show on host page -$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); +#$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); +$CONFIG['overview'] = array('FTP', 'HTTP', 'HTTPS', 'RSYNC'); # allowed other plugins to show on host page $CONFIG['allowed'] = array(); @@ -48,7 +49,7 @@ $CONFIG['time_range']['default'] = 86400 * 7; $CONFIG['time_range']['uptime'] = 31536000; # show load averages and used memory on overview page -$CONFIG['showload'] = true; +$CONFIG['showload'] = false; $CONFIG['showmem'] = false; $CONFIG['showtime'] = false; 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 @@ +Speed max:GAUGE:0:U, min:GAUGE:0:U +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 -- cgit v1.1