Page 1 of 1

Host and Service Notifications

Posted: Thu Dec 06, 2018 5:39 am
by charlie126
Hi,

Is it possible if the host is down that i do NOT receive the 'service' problem/unknown email notifications for that host?

Re: Host and Service Notifications

Posted: Thu Dec 06, 2018 2:11 pm
by benjaminsmith
Hello @charlie126

You can use host and service dependencies to suppress notifications when a master host/service is down. Please refer to the following documenation for configuration:

Host and Service Dependencies
https://assets.nagios.com/downloads/nag ... ncies.html

There is also a system wide configuration setting in Nagios core to disable services checks when the corresponding host is down.

Define in /usr/local/nagios/etc/nagios.cfg:

Code: Select all

host_down_disable_service_checks=1
Service Dependencies
https://support.nagios.com/kb/article/n ... s-505.html

Let me know if you have any other questions.

Re: Host and Service Notifications

Posted: Fri Dec 07, 2018 10:08 am
by charlie126
Thanks Ben. Just to confirm the system wide 'setting host_down_disable_service_checks=1' disables the service checks for only the host that is down?

Re: Host and Service Notifications

Posted: Fri Dec 07, 2018 10:31 am
by scottwilkerson
charlie126 wrote:Thanks Ben. Just to confirm the system wide 'setting host_down_disable_service_checks=1' disables the service checks for only the host that is down?
That is correct