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.
Do not receive notifications from services if host is down
Re: Do not receive notifications from services if host is do
Actually, this is the "default" nagios behavior.
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:
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.
See full documentation below:If the host is in hard non-OK state, notifications for services on this host won't be sent out.
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 grepBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Do not receive notifications from services if host is do
Thanks for your quick reply! I'll see if I can replicate the issue again and update this later this afternoon.
Re: Do not receive notifications from services if host is do
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!