Page 2 of 2
Re: Parent Relationship Not Suppressing Downstream Notificat
Posted: Mon Jan 27, 2014 4:03 pm
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?
Re: Parent Relationship Not Suppressing Downstream Notificat
Posted: Mon Jan 27, 2014 4:12 pm
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
Re: Parent Relationship Not Suppressing Downstream Notificat
Posted: Tue Jan 28, 2014 10:28 am
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!
Re: Parent Relationship Not Suppressing Downstream Notificat
Posted: Tue Jan 28, 2014 11:05 am
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.