aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorMark Nellemann2015-08-26 12:29:30 +0200
committerMark Nellemann2015-08-26 12:29:30 +0200
commit26cd32c6deb372dc25e3c010b65d9697962edf16 (patch)
tree2ab8aba3d1e1091932ac2f6393968c7fb2efd0a8 /conf
parentinc/functions: a host, pi and ti may contain colons (:) and spaces ( ) (diff)
downloadapt-panopticon_cgp-26cd32c6deb372dc25e3c010b65d9697962edf16.zip
apt-panopticon_cgp-26cd32c6deb372dc25e3c010b65d9697962edf16.tar.gz
apt-panopticon_cgp-26cd32c6deb372dc25e3c010b65d9697962edf16.tar.bz2
apt-panopticon_cgp-26cd32c6deb372dc25e3c010b65d9697962edf16.tar.xz
Support for host categories bases on regular expression matching against host names
Diffstat (limited to '')
-rw-r--r--conf/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php
index ec55d30..0628bfe 100644
--- a/conf/config.php
+++ b/conf/config.php
@@ -18,6 +18,9 @@ $CONFIG['rrdtool_opts'] = array();
18# category of hosts to show on main page 18# category of hosts to show on main page
19#$CONFIG['cat']['category1'] = array('host1', 'host2'); 19#$CONFIG['cat']['category1'] = array('host1', 'host2');
20 20
21# category of hosts based on regular expression
22#$CONFIG['cat']['Mailservers'] = '/mail\d+/';
23
21# default plugins to show on host page 24# default plugins to show on host page
22$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap'); 25$CONFIG['overview'] = array('load', 'cpu', 'memory', 'swap');
23 26