From 5dc4af1af0ef039d8c863448f04a46aaf78e9e4b Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 28 Dec 2013 19:22:55 +0100 Subject: [PATCH] add stockhausen and new jetty-hosts processes Signed-off-by: Martin Zobel-Helas --- config/nagios-master.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index c506b14..e49cc26 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -490,6 +490,10 @@ servers: address: 82.195.75.100 parents: ganeti3 hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, wheezy, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts, hasvarlogfs + stockhausen: + address: 82.195.75.108 + parents: ganeti3 + hostgroups: computers, service, kvmdomains, wheezy, acpid-hosts. jetty-hosts master: address: 82.195.75.110 parents: ganeti3 @@ -1047,6 +1051,9 @@ hostgroups: apache2-hosts: alias: hosts running apache2 private: 1 + jetty-hosts: + alias: hosts running jetty + private: 1 varnish-hosts: alias: hosts running varnish private: 1 @@ -2185,6 +2192,16 @@ services: # there is always one extra process per check currently running.. nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" hosts: tchaikovsky + ### + - + name: process - jetty - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a jsvc.exec" + hostgroups: jetty-hosts + - + name: process - jetty - worker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u jetty -a jsvc.exec -user jetty" + hostgroups: jetty-hosts + depends: process - jetty - master ### - -- 2.20.1