From: Peter Palfrader Date: Thu, 3 Apr 2008 11:51:13 +0000 (-0400) Subject: [project @ peter@palfrader.org-20080403115113-jvbesux7e8rskfb2] X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=sidebyside;h=22f5dc17487d37ae8611546e538d47cd69aceb9e;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20080403115113-jvbesux7e8rskfb2] nagios forks one instance to do its check, so there will always be 2 nagios processes, even if we only want one --- diff --git a/nagios-master.cfg b/nagios-master.cfg index 7615b72..cdc3c22 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -380,7 +380,8 @@ services: hosts: samosa - name: process - nagios3 - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'" + # it forks one instance to check, so make it -w 1:2 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'" hosts: samosa ###