Nagios XI 5.8.6 Service Dependency under same host.
Posted: Wed Aug 02, 2023 10:36 pm
Hello everyone,
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.
I'd greatly appreciate any insights or suggestions on why this service dependency might not be functioning as expected. Thank you in advance for your assistance.
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
}