Minimize notifications if host is down

Marc Powell marc at ena.com
Tue Oct 25 19:10:52 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Johan Barelds
> Sent: Tuesday, October 25, 2005 9:43 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Minimize notifications if host is down
> 
> Hi all,
> 
> I have experienced a few times now that a host was down which was
> monitored by
> Nagios. Nagios did it's job and flooded me with notifications (one for
> *every*
> service on that host and again the whole series when it came back
online
> again).
> 
> Question: is there an option that Nagios sends a notification only
ones
> (no
> matter how many services on that host are down) and one again after
the
> host
> is up again?

This is standard behavior with a properly defined host check_command,
i.e. one that returns a CRITICAL state when the host is down.

http://nagios.sourceforge.net/docs/1_0/networkreachability.html

"The main purpose of Nagios is to monitor services that run on or are
provided by physical hosts or devices on your network. It should be
obvious that if a host or device on your network goes down, all services
that it offers will also go down with it. Similarly, if a host becomes
unreachable, Nagios will not be able to monitor the services associated
with that host.

Nagios recognizes this fact and attempts to check for such a scenario
when there are problems with a service. ***Whenever a service check
results in a non-OK status level, Nagios will attempt to check and see
if the host that the service is running on is "alive". Typically this is
done by pinging the host and seeing if any response is received. If the
host check commmand returns a non-OK state, Nagios assumes that there is
a problem with the host. In this situation Nagios will "silence" all
potential alerts for services running on the host and just notify the
appropriate contacts that the host is down or unreachable.*** If the
host check command returns an OK state, Nagios will recognize that the
host is alive and will send out an alert for the service that is
misbehaving."

(emphasis mine)

--
Marc 


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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