Host / services dependencies are not working
Posted: Thu Apr 19, 2018 8:42 am
Hello,
i have configured some hosts dependent on a "X" host. but when that "X" host goes down/unreachable those dependent hosts are also raising alerts.
I want that dependent hosts checks & notification should fail when "X" host is down. but that's not working.
Also, same with services- configured some services dependent on a "Y" service.
I want that dependent service checks & notification should fail when "Y" service is critical/warning but that's not working.
can somebody guide me?
check below dependency configs.
define hostdependency {
# config_name local2
dependent_host_name local4,local5,local6
host_name local2
inherits_parent 0
execution_failure_criteria u,d,p,
notification_failure_criteria u,d,
dependency_period xi_timeperiod_24x7
}
define servicedependency {
# config_name local12
dependent_host_name local8
dependent_service_description CPU Usage, Memory Usage
host_name local12
service_description cpu
inherits_parent 1
execution_failure_criteria w,u,c,p,
notification_failure_criteria w,u,c,p,
dependency_period xi_timeperiod_24x7
}
i have configured some hosts dependent on a "X" host. but when that "X" host goes down/unreachable those dependent hosts are also raising alerts.
I want that dependent hosts checks & notification should fail when "X" host is down. but that's not working.
Also, same with services- configured some services dependent on a "Y" service.
I want that dependent service checks & notification should fail when "Y" service is critical/warning but that's not working.
can somebody guide me?
check below dependency configs.
define hostdependency {
# config_name local2
dependent_host_name local4,local5,local6
host_name local2
inherits_parent 0
execution_failure_criteria u,d,p,
notification_failure_criteria u,d,
dependency_period xi_timeperiod_24x7
}
define servicedependency {
# config_name local12
dependent_host_name local8
dependent_service_description CPU Usage, Memory Usage
host_name local12
service_description cpu
inherits_parent 1
execution_failure_criteria w,u,c,p,
notification_failure_criteria w,u,c,p,
dependency_period xi_timeperiod_24x7
}