mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 06:34:42 +02:00
Only apply ping4 service to hosts which have an address macro.
Fixes #5891
This commit is contained in:
parent
d874cbfe5b
commit
93baea247c
@ -12,6 +12,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.macros.address
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "ping6" {
|
apply Service "ping6" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user