Suppressing service notifications if host fails

Marc Powell marc at ena.com
Mon Jan 16 22:12:45 CET 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Marc Powell
> Sent: Monday, January 16, 2006 3:11 PM
> To: Mott Leroy; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Suppressing service notifications if host
> fails
> 
> 
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of Mott Leroy
> > Sent: Monday, January 16, 2006 2:54 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Suppressing service notifications if host
> fails
> >
> > Hi -
> >
> > When a host goes down, we still receive failure notices for all the
> > services on that host. It seems like this is a clear dependency,
such
> > that a failure on a host should suppress its service notifications.
> >
> > I looked in the manual and saw the section on service dependencies
and
> > host dependencies but it seemed those were only for 'host to host'
or
> > 'service to service' dependencies, not the basic host -> service
> > dependency.
> >
> > Using Nagois 2.0b3.
> >
> > Thanks if you could point me in the right direction -
> 
> Nagios will automagically suppress service notifications for down
hosts
> if you have a properly configured host check_command that returns
> CRICITAL or UNREACHABLE when the host is down.

[edit] of course there is no UNREACHABLE status result from a plugin.
That's determined internally by Nagios based on the 'parents' directive
for each host. [/edit]

Sorry about that slight mis-information.

--
Marc


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list