I’m in a position where I’m being forced to explain Nagios behavior in the following scenario. The ICMP Status column reflects the status of the host if I ran a ping from the Nagios server.
Time ICMP Status Host Status Service Status Notification 1 OK Up Up none 2 OK Up Down Service 3 timeout Down Down Host *4 OK Down Down none
I’m trying to understand the behavior in Step 4. From a different post ([http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?13781](hyperlink url)) I saw the follwoing statement:
[blockquote]The status of a host is only checked when a service check results in a non-OK state or if the host was previously down and a service check results in an OK state. [/blockquote]
I am running version 2.9. From the table above, it appears that Nagios did not perform a Host Check even when the Host recovered. And based on the statement above, this is expected behavior. I have two questions about it:
- Can someone point me to a spot in the v2.9 documentation which addresses this scenario? I can’t seem to find explicit mention of it.
- Can you help me understand the logic behind this behavior? Intuitively I expected Nagios to know when the a Host recovers and alert, even if the Service doesn’t.
I don’t want to give you the impression I think this is wrong behavior. I just need to understand it better. Thanks.