mirror of https://github.com/Icinga/icinga2.git
28 lines
477 B
Plaintext
28 lines
477 B
Plaintext
|
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)
|
||
|
}
|
||
|
|