Page 1 of 1

No notification triggered when any host is down

Posted: Thu Jun 07, 2012 3:27 pm
by eclypse
I recently installed Nagios XI 2011R2.4.

When any host goes down completely, no notification is triggered. I've checked the notification log to see that the notification is not sent out at all.

However, if an invidivual service goes down, it notifies just fine. Any ideas where to start troubleshooting? No host dependencies have been configured.

Here's the content of a host config file in question if that helps:

Code: Select all

define host {
        host_name                       something.somewhere.com
        use                             xiwizard_linuxsnmp_host
        alias
        address                         192.168.1.1
        max_check_attempts              5
        check_interval                  5
        retry_interval                  1
        check_period                    xi_timeperiod_24x7
        contacts                        eclypse
        notification_interval           60
        notification_period             xi_timeperiod_24x7
        first_notification_delay        60
        notifications_enabled           1
        icon_image                      nexenta.jpg
        _xiwizard                       linuxsnmp
        register                        1
        }
A service on that same host which notifies just fine:

Code: Select all

 define service {
        host_name                       batfs0314.mathworks.com
        service_description             CPU Usage
        use                             xiwizard_linuxsnmp_load
        check_command                   check_xi_service_snmp_linux_load! -C some-community --v2c -w 80 -c 90 -f
        max_check_attempts              5
        check_interval                  5
        retry_interval                  1
        check_period                    xi_timeperiod_24x7
        notification_interval           60
        notification_period             xi_timeperiod_24x7
        notifications_enabled           1
        contacts                        eclypse
        _xiwizard                       linuxsnmp
        register                        1
        }


Re: No notification triggered when any host is down

Posted: Thu Jun 07, 2012 3:49 pm
by lmiltchev
Start by following the steps outlined on our wiki page:

http://support.nagios.com/wiki/index.ph ... n_Problems

Let us know if you have any more issues.

Re: No notification triggered when any host is down

Posted: Fri Jun 08, 2012 8:26 am
by eclypse
Thanks,

It looks like there might be a bug somewhere with regards to using the CCM beta.

The issue appears to be that "first_notification_delay" was set to "60", which is not something I intentionally set. To fix this, I used the CCM beta to bulk modify all my hosts back to "0", killed a host, and confirmed that I received notification immediately.

After setting the first_notification_delay to "0", applying the changes and checking the written config file to confirm, when I go back into the CCM beta and look at the "First notification delay" field, it shows that it is still set to "60".

Therefore, this if I make any other change to the host from CCM, if I don't make sure to reset this field, it will go back to "60" again. For what it's worth, I use the default of "60" for the Notification interval.

Alternatively, if I look at the host through the legacy configuration manager, it correctly shows it as being set to "0".

Re: No notification triggered when any host is down

Posted: Fri Jun 08, 2012 2:58 pm
by scottwilkerson
I believe you are correct, I have confirmed this activity and notified the the New CCM developer..

Thanks!