> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Matt Rae > Sent: Thursday, November 10, 2005 6:32 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] disable service checks when a host goes down > > I'm trying to disable service notifications when a host goes down. Does > this have to do with dependencies or notification optoins? Or something > else?
Nagios will automagically do this if you have a valid host check_command specified that returns CRITICAL if the host is down. > > I asked in #nagios and apparently this should be what nagios does by > default. The suggestion was to check check-host-alive.. but I'm using > the supplied check-host-alive. Can you run the host check_command, exactly as it's defined, as the nagios user and receive a CRITICAL state ('echo $?' should return '2' after running the command) when the host is down? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null