<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Can Nagios force status of Host?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>When one or more services on a host fails, nagios will execute your specified host check command (and not before). It is the result of this command that determines the host state. Even if all your defined services on a host were critical, if your check-host-alive command returns OK (or isn't even defined) then the status of the host will be OK.<BR>
<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
-----Original Message-----<BR>
From: Larry Crowder <CrowderLG@ldschurch.org><BR>
To: nagios-users@lists.sourceforge.net <nagios-users@lists.sourceforge.net><BR>
Sent: Fri Sep 26 13:52:41 2003<BR>
Subject: [Nagios-users] Can Nagios force status of Host?<BR>
<BR>
I have a situation where a service has problems, (PING drops packets or server IP address is actually changed) at which time Nagios correctly sets the Service status to "Critical".  It does not however, set the Host status to 'HOST DOWN".  When the  server comes back up again, Nagios sets the Service status to "OK" but Host status is not affected.<BR>
<BR>
Q:  Shouldn't Nagios set the Host status to "HOST DOWN" when the services totally fail and are set to a "CRITICAL" status?  If not, any ideas on how I can force it?   I have looked at the documentation (and will continue to do so).    This is significant to us because we want to correctly alert co-workers about up and down of hosts.<BR>
<BR>
Thanks<BR>
<BR>
Larry<BR>
<BR>
<BR>
------------------------------------------------------------------------------<BR>
This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.<BR>
<BR>
<BR>
==============================================================================<BR>
<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This sf.net email is sponsored by:ThinkGeek<BR>
Welcome to geek heaven.<BR>
<A HREF="http://thinkgeek.com/sf">http://thinkgeek.com/sf</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>
::: Messages without supporting info will risk being sent to /dev/null<BR>
</FONT>
</P>

</BODY>
</HTML>