Parent Relationship Not Suppressing Downstream Notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Smark
Posts: 32
Joined: Tue Jan 08, 2013 6:12 pm

Re: Parent Relationship Not Suppressing Downstream Notificat

Post by Smark »

scottwilkerson wrote:DOWN after it goes HARD down (down for max_check_attempts * retry_interval)
UP after a check attempt comes back UP
So if a host goes down, it actively runs a check on the parent, if it returns a good ping, it sends an alert, if it returns a bad ping it tries again until it either gets a good ping or reaches max_check_attempts. If it reaches max_check_attempts without a good response, then it suppresses the notification?

I want to make sure that it does actively check to see if the parent is alive and not just use the current status in Nagios. Can you confirm that it _should_ actively run a check against the host?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Parent Relationship Not Suppressing Downstream Notificat

Post by scottwilkerson »

It should check them if your nagios.cfg has

Code: Select all

enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
Except, it will use cached values if then are within these amount of seconds

Code: Select all

cached_host_check_horizon=15
cached_service_check_horizon=15
Also, you can change this value

Code: Select all

# SOFT STATE DEPENDENCIES
# This option determines whether or not Nagios will use soft state 
# information when checking host and service dependencies. Normally 
# Nagios will only use the latest hard host or service state when 
# checking dependencies. If you want it to use the latest state (regardless
# of whether its a soft or hard state type), enable this option. 
# Values:
#  0 = Don't use soft state dependencies (default) 
#  1 = Use soft state dependencies 

soft_state_dependencies=0
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Smark
Posts: 32
Joined: Tue Jan 08, 2013 6:12 pm

Re: Parent Relationship Not Suppressing Downstream Notificat

Post by Smark »

Scott,

Thanks for your time on this. Just to confirm, those settings deal with dependencies, but also apply to parent/child relationships right? I know they're very similar but are different config options in some places. Once I hear back I'll look into these values and implement them.

Thanks!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Parent Relationship Not Suppressing Downstream Notificat

Post by lmiltchev »

Thanks for your time on this. Just to confirm, those settings deal with dependencies, but also apply to parent/child relationships right?
This is correct. Let us know if you have any more questions/issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked