Page 1 of 1

Multiple service alerts insted of Single host down

Posted: Fri Nov 23, 2018 5:20 am
by Gonela
Hi Team,

We are getting multiple service alerts along with host down alert instead of Single host down.

May i know the reason? anything need to be configure for such type of issues ?

Re: Multiple service alerts insted of Single host down

Posted: Mon Nov 26, 2018 12:16 pm
by benjaminsmith
Hi @Gonela,

You can suppress these alerts by the use of service dependencies in Nagios. There's also an option in the configuration file to disable service alerts when the host is down. You'll want to set host_down_disable_service_checks=1 in /usr/local/nagios/etc/nagios.cfg and then restart nagios.

More information and instructions available on your knowledgebase:

Nagis XI - Service Dependencies
https://support.nagios.com/kb/article/n ... ncies.html

Let me know if you have any other questions.

Re: Multiple service alerts insted of Single host down

Posted: Sun Jan 20, 2019 10:20 pm
by Gonela
Hi

host_down_disable_service_checks=1 parameter, not able find in /usr/local/nagios/etc/nagios.cfg file.

Can you please suggest how to configure.

Re: Multiple service alerts insted of Single host down

Posted: Mon Jan 21, 2019 10:29 am
by benjaminsmith
Hi @Gonela,

You'll need to be running Nagios XI 5 or higher and you can set this in the CCM > Advanced > Core Configs > General. Add the parameter host_down_disable_service_checks=1 to the configuration file, save changes and select Apply Configuration from the Quick Tools menu.

Re: Multiple service alerts insted of Single host down

Posted: Tue Feb 26, 2019 11:29 pm
by Gonela
Still getting same issue on NagiosXI.

As per my understanding, Alert should not create after host down alert correct ?

why it is creating service alert after host down alert.

If we use this option (host_down_disable_service_checks=1) , then we are not able to capture duration on service status in the xi console

Re: Multiple service alerts insted of Single host down

Posted: Wed Feb 27, 2019 12:09 pm
by benjaminsmith
Hello @Gonela,

One thing to know, so we don't confuse the difference between alerts and notifications in Nagios XI. An alert is generated when a host or service check goes from an OK state to a non-OK state. While a notification informs the user/admin of an alert.

When a host goes down, the services still get executed and can result in services in an unknown or critical state. Nagios suppresses any notifications however they still appear as critical in the interface. If you do not want to disable service checks when the host is down system wide, you can create host or service dependencies to manage check criteria and notification criteria. Go to Configure > CCM > Advanced > Dependencies to setup.

Let me know if you have further questions.