Host and Service Notifications

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Host and Service Notifications

Postby charlie126 » Thu Dec 06, 2018 5:39 am

Hi,

Is it possible if the host is down that i do NOT receive the 'service' problem/unknown email notifications for that host?
charlie126
 
Posts: 9
Joined: Mon Oct 01, 2018 7:55 am

Re: Host and Service Notifications

Postby benjaminsmith » Thu Dec 06, 2018 2:11 pm

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.
User avatar
benjaminsmith
 
Posts: 241
Joined: Wed Aug 22, 2018 4:39 pm

Re: Host and Service Notifications

Postby charlie126 » Fri Dec 07, 2018 10:08 am

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?
charlie126
 
Posts: 9
Joined: Mon Oct 01, 2018 7:55 am

Re: Host and Service Notifications

Postby scottwilkerson » Fri Dec 07, 2018 10:31 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12594
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot], Zen and 26 guests