summaryrefslogtreecommitdiffstats
path: root/test/config/7683.conf
blob: 4e1a9869b5ad3b19f0f393043c69325d7796f595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)
}