mirror of https://github.com/Icinga/icinga2.git
parent
f26b37e763
commit
cffe3cf57c
|
@ -123,7 +123,7 @@ based on attribute identifiers for example `host_name` objects can be [applied](
|
|||
check_command = "ping4"
|
||||
|
||||
assign where "generic-host" in host.templates
|
||||
ignore where !host.address
|
||||
ignore where host.address == ""
|
||||
}
|
||||
|
||||
In this example the `ping4` service will be created as object for all hosts importing
|
||||
|
|
|
@ -16,7 +16,7 @@ apply Service "ping4" {
|
|||
check_command = "ping4"
|
||||
|
||||
assign where "generic-host" in host.templates
|
||||
ignore where !host.address
|
||||
ignore where host.address == ""
|
||||
}
|
||||
|
||||
apply Service "ping6" {
|
||||
|
@ -25,7 +25,7 @@ apply Service "ping6" {
|
|||
check_command = "ping6"
|
||||
|
||||
assign where "generic-host" in host.templates
|
||||
ignore where !host.address6
|
||||
ignore where host.address6 == ""
|
||||
}
|
||||
|
||||
apply Notification "mail-icingaadmin" to Host {
|
||||
|
|
Loading…
Reference in New Issue