Your should look at the log before the service notification was suppressed because the host was down. I'm 90% sure the reason why your host down notification was not sent was because the host was in a soft state type and came back online before it was determined to be in a hard state. And you didn't post your linux-server template config so you will have to check your and retry_interval definition. <br>
<br>For my host objects I set a retry_interval of 1 and max_check_attemps of 2 in the template so I get notified a little quicker when a host goes down.<div><br></div><div><a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html">http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html</a> </div>
<div><br></div><div>-Travis Runyard<br><br><div class="gmail_quote">On Tue, Aug 28, 2012 at 4:39 PM, Net Warrior <span dir="ltr"><<a href="mailto:netwarrior863@gmail.com" target="_blank">netwarrior863@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there guys.<br>
<br>
I have face something weird, I did not get a notificationn of a down<br>
state for a particular host,<br>
this is the host config.<br>
<br>
define service{<br>
        use                             local-service         ; Name<br>
of service template to use<br>
        host_name                       hostname<br>
        service_description             SSH<br>
        check_command                   check_ssh<br>
        flap_detection_enabled          0<br>
        notifications_enabled           1<br>
        notification_options            w,u,r,c<br>
        check_period                    24x7<br>
        check_interval                  1<br>
        max_check_attempts              3<br>
        first_notification_delay        0<br>
        notification_interval           10<br>
}<br>
<br>
<br>
<br>
define host{<br>
        use                     linux-server            ; Name of host<br>
template to use<br>
                                                        ; This host<br>
definition will inherit all variables that are defined<br>
                                                        ; in (or<br>
inherited by) the linux-server host template definition.<br>
        host_name                       hostname<br>
        alias                           the alias<br>
        address                         x.x.x.x<br>
        contact_groups                  admins<br>
        contacts                        nagiosadmin<br>
        check_interval                  1<br>
        max_check_attempts              3<br>
        notification_interval           10<br>
        flap_detection_enabled          0<br>
        first_notification_delay        0<br>
        }<br>
<br>
and in the logs I got<br>
[1346196987.097821] [032.0] [pid=21145] ** Service Notification<br>
Attempt ** Host: 'hostname', Service: 'SSH', Type: 0, Options: 0,<br>
Current State: 2, Last Notification: Wed Dec 31 21:00:00 1969<br>
[1346196987.097843] [032.1] [pid=21145] The host is either down or<br>
unreachable, so we won't notify contacts about this service.<br>
[1346196987.097851] [032.0] [pid=21145] Notification viability test<br>
failed.  No notification will be sent out.<br>
<br>
The host is either down or unreachable --- Of coure, so why the<br>
notification was not fired?<br>
<br>
Any idea what could be wrong?, I got some notification with other host<br>
and all have the same configuration, I have already restarted nagios<br>
<br>
Thanks for your time and support<br>
Best regards.<br>
<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">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>
</blockquote></div><br></div>