Only apply ping4 service to hosts which have an address macro.

Fixes #5891
This commit is contained in:
Gunnar Beutner 2014-03-31 09:49:45 +02:00
parent d874cbfe5b
commit 93baea247c

View File

@ -12,6 +12,7 @@ apply Service "ping4" {
check_command = "ping4",
assign where "generic-host" in host.templates
ignore where !host.macros.address
}
apply Service "ping6" {