I'm currently using Nagios xi 5.8.6 and I've set up a host named "INDRA." Within this host, I've added two services: "service_A" and "service_B." My goal is to establish a service dependency where "service_B" relies on the status of "service_A."
However, I'm encountering an issue where the dependency doesn't appear to be functioning as intended. Even when "service_A" is in a CRITICAL state, "service_B" still shows an OK status.
Here is the configuration snippet I'm using for the service dependency:
I have even tried the option "forced immediate check for host and all servicec" but the service_B is still OK.
Code: Select all
define servicedependency {
# config_name INDRA_DEPENDENCY
dependent_host_name INDRA
dependent_service_description service_B
host_name INDRA
service_description service_A
inherits_parent 1
execution_failure_criteria w,u,c,p,
notification_failure_criteria w,u,c,p,
dependency_period 24x7
}