summaryrefslogtreecommitdiffstats
path: root/test/config/6105.conf
blob: 6bfccff5812962098640b31fdf3d2da45c5bca2e (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
object HostGroup "6105-bar" {
  assign where match("6105-keks*", host.name)
  vars.foo = "bar"
}

object Host "6105-keks" {
  import "test-generic-host"
  address = "12.3.4"
}

apply Service "6105-foo" {
  import "test-generic-service"
  check_command = "ping4"
  assign where "6105-bar" in host.groups
}

object ServiceGroup "6105-bar" {
  assign where service.name == "6105-foo"
  vars.bar = "foo"
}