Service Dependencies for Hierarchical topology
Posted: Tue Mar 12, 2019 7:34 am
Hi
I have more than 1000 hosts, each of these hosts have around 25 services.(1000*25 services) and I use passive check.
The hosts connects to each other in form of a tree and i have a service for each host that the service depends on the same service of its parent.
For more explanation:
host_A is parent of host_B and host_B is parent of host_C and host_C is parent of host_D and ... . All of the hosts have service_1
I want to configure service dependencies for them as below.
define servicedependency{
host_name host_A
service_description service_1
dependent_host_name host_B
dependent_service service_1
inherits_parent 1
}
define servicedependency{
host_name host_B
service_description service_1
dependent_host_name host_C
dependent_service service_1
notification_failure_criteria w,u,c
inherits_parent 1
}
define servicedependency{
host_name host_C
service_description service_1
dependent_host_name host_D
dependent_service service_1
inherits_parent 1
}
Because of topology of my hosts is Hierarchical (in form of tree) and a branch of the topology can be more than 6 levels, are there a way that I don't have to define the dependency for all of hosts for the service one by one?
Thanks
I have more than 1000 hosts, each of these hosts have around 25 services.(1000*25 services) and I use passive check.
The hosts connects to each other in form of a tree and i have a service for each host that the service depends on the same service of its parent.
For more explanation:
host_A is parent of host_B and host_B is parent of host_C and host_C is parent of host_D and ... . All of the hosts have service_1
I want to configure service dependencies for them as below.
define servicedependency{
host_name host_A
service_description service_1
dependent_host_name host_B
dependent_service service_1
inherits_parent 1
}
define servicedependency{
host_name host_B
service_description service_1
dependent_host_name host_C
dependent_service service_1
notification_failure_criteria w,u,c
inherits_parent 1
}
define servicedependency{
host_name host_C
service_description service_1
dependent_host_name host_D
dependent_service service_1
inherits_parent 1
}
Because of topology of my hosts is Hierarchical (in form of tree) and a branch of the topology can be more than 6 levels, are there a way that I don't have to define the dependency for all of hosts for the service one by one?
Thanks