Do not receive notifications from services if host is down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ericclaus
Posts: 3
Joined: Tue Jun 11, 2019 9:53 am

Do not receive notifications from services if host is down

Post by ericclaus »

Hello,


I would like to configure all hosts and services so that if a host becomes unreachable I do not receive notifications about the host's services being down as well (e.g. if a host stops responding to ping, I don't care if it's memory usage check fails).

I'm relatively new to Nagios and haven't found a way to accomplish this yet. What is the best way to go about doing this?

Thank you in advance.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Do not receive notifications from services if host is do

Post by lmiltchev »

Actually, this is the "default" nagios behavior.
If the host is in hard non-OK state, notifications for services on this host won't be sent out.
See full documentation below:

https://assets.nagios.com/downloads/nag ... tions.html

If this is not working for you, we need to investigate, and find out what is causing the issue. You can check to see if you have multiple nagios processes running on the system by running:

Code: Select all

ps -ef | grep nagios.cfg | grep -v grep
We would need to see the nagios.log, showing the host going down in a hard down state, and notifications for services on that host being sent.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ericclaus
Posts: 3
Joined: Tue Jun 11, 2019 9:53 am

Re: Do not receive notifications from services if host is do

Post by ericclaus »

Thanks for your quick reply! I'll see if I can replicate the issue again and update this later this afternoon.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Do not receive notifications from services if host is do

Post by lmiltchev »

Sure, let us know if you have any further questions/issues. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked