notifications not being sent on host down/unreachable

Noel Platzke neufpas at gmail.com
Tue Oct 6 19:21:17 CEST 2009


I have a nagios setup consisting of 2 distributed servers and one master
using nsca. I'm having an issue where notifications aren't being sent for
hosts going down or becoming unreachable but I see them in that state in the
GUI and the logs. If a service check fails the notification is sent fine but
if the whole box dies I'm never seeing a host down/unreachable alert. In
fact there is no notification listed in the notification history so it seems
to be a config issue. But I've looked through all of the configs multiple
times and just can't figure this out.

My host, service and contacts are defined with the following templates:

define host{
        name                            standard-host
        max_check_attempts              3
        check_interval                  15
        retry_interval                  5
        check_command                   check-host-alive
        check_period                    24x7
        notifications_enabled           1
        retain_status_information       1
        retain_nonstatus_information    1
        contacts                        ops
        notification_interval           15
        notification_period             24x7
        check_freshness                 1
        freshness_threshold             300
        register                        0
        }


define service{
        name                            standard-service
        max_check_attempts              3
        check_interval                  5
        retry_interval                  3
        check_period                    24x7
        notification_interval           10
        notification_period             24x7
        notification_options            u,c,r
        contacts                        ops
        register                        0
        check_freshness                 1
        freshness_threshold             300
}

define contact{
        name                            standard-contact
        host_notifications_enabled      1
        service_notifications_enabled   1
        host_notification_period        24x7
        service_notification_period     24x7
        host_notification_options       d,u,r
        service_notification_options    c,u,r
        host_notification_commands      host-notify-by-email
        service_notification_commands   notify-by-email-verbose
        register                        0
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091006/66d298da/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- next part --------------
_______________________________________________
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