From 22f5dc17487d37ae8611546e538d47cd69aceb9e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 3 Apr 2008 07:51:13 -0400 Subject: [PATCH] [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 --- nagios-master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ### -- 2.20.1