icinga2/test/config/7683.conf

28 lines
477 B
Plaintext
Raw Normal View History

object Host "7683-parent" {
check_command = "dummy"
vars.dummy_state = 0
}
object Host "7683-child1" {
check_command = "dummy"
vars.dummy_state = 0
}
object Host "7683-child2" {
check_command = "dummy"
vars.dummy_state = 0
}
object Service "7683-service" {
check_command = "dummy"
host_name = "7683-parent"
vars.dummy_state = 0
}
apply Dependency "test-host" to Host {
parent_host_name = "7683-parent"
assign where match("7683-child*", host.name)
}