No notification triggered when any host is down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

No notification triggered when any host is down

Post 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
        }

User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No notification triggered when any host is down

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Re: No notification triggered when any host is down

Post 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".
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No notification triggered when any host is down

Post by scottwilkerson »

I believe you are correct, I have confirmed this activity and notified the the New CCM developer..

Thanks!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked