2014-05-02 01:03:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
object HostGroup "6105-bar" {
|
|
|
|
assign where match("6105-keks*", host.name)
|
2014-08-05 16:37:30 +02:00
|
|
|
vars.foo = "bar"
|
2014-05-02 01:03:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2014-08-05 16:37:30 +02:00
|
|
|
vars.bar = "foo"
|
2014-05-02 01:03:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|