Multiple service alerts insted of Single host down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Multiple service alerts insted of Single host down

Post 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 ?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Multiple service alerts insted of Single host down

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: Multiple service alerts insted of Single host down

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Multiple service alerts insted of Single host down

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: Multiple service alerts insted of Single host down

Post 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
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Multiple service alerts insted of Single host down

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked