Host and Service Notifications

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
charlie126
Posts: 13
Joined: Mon Oct 01, 2018 7:55 am

Host and Service Notifications

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

Re: Host and Service Notifications

Post 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.
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!
charlie126
Posts: 13
Joined: Mon Oct 01, 2018 7:55 am

Re: Host and Service Notifications

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host and Service Notifications

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked