mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-31 11:50:17 +02:00
parent
f26b37e763
commit
cffe3cf57c
@ -123,7 +123,7 @@ based on attribute identifiers for example `host_name` objects can be [applied](
|
|||||||
check_command = "ping4"
|
check_command = "ping4"
|
||||||
|
|
||||||
assign where "generic-host" in host.templates
|
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
|
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"
|
check_command = "ping4"
|
||||||
|
|
||||||
assign where "generic-host" in host.templates
|
assign where "generic-host" in host.templates
|
||||||
ignore where !host.address
|
ignore where host.address == ""
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "ping6" {
|
apply Service "ping6" {
|
||||||
@ -25,7 +25,7 @@ apply Service "ping6" {
|
|||||||
check_command = "ping6"
|
check_command = "ping6"
|
||||||
|
|
||||||
assign where "generic-host" in host.templates
|
assign where "generic-host" in host.templates
|
||||||
ignore where !host.address6
|
ignore where host.address6 == ""
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Notification "mail-icingaadmin" to Host {
|
apply Notification "mail-icingaadmin" to Host {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user