diff options
author | Mark Nellemann | 2015-08-26 12:29:30 +0200 |
---|---|---|
committer | Mark Nellemann | 2015-08-26 12:29:30 +0200 |
commit | 26cd32c6deb372dc25e3c010b65d9697962edf16 (patch) | |
tree | 2ab8aba3d1e1091932ac2f6393968c7fb2efd0a8 /conf | |
parent | inc/functions: a host, pi and ti may contain colons (:) and spaces ( ) (diff) | |
download | apt-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.php | 3 |
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 | ||