From 128d4073bfe40ace697fc82b1c7f3021104294ee Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 3 Oct 2010 12:37:47 +0200 Subject: [PATCH] quantz and nono run apache2; add an unwanted/known apache2 check --- config/nagios-master.cfg | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 51fdb6d..2fc386a 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -620,11 +620,11 @@ servers: quantz: address: 206.12.19.122 parents: salieri - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, postgres84-hosts + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, postgres84-hosts, apache2-hosts nono: address: 206.12.19.123 parents: salieri - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, postgres84-hosts, xinetd-hosts + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, postgres84-hosts, xinetd-hosts, apache2-hosts lebrun: address: 193.198.184.10 @@ -1940,6 +1940,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2" hostgroups: apache2-hosts depends: process - apache2 - master + - + name: unwanted process - apache2 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C apache2" + hostgroups: computers + excludehostgroups: apache2-hosts - name: network service - http -- 2.20.1