mirror of https://github.com/Icinga/icinga2.git
parent
02fc3278c8
commit
296d9ce97b
|
@ -381,7 +381,7 @@ objects. The exact effect of this association depends on the two object types.
|
|||
check_command = "ping4"
|
||||
}
|
||||
|
||||
apply template Service "ping-service" to Host where (host == "localhost")
|
||||
apply template Service "ping-service" to Host where host == "localhost"
|
||||
|
||||
In this example the `where` condition is a constant expression which is
|
||||
evaluated for all objects of type Host and a new service is created for each
|
||||
|
|
Loading…
Reference in New Issue