From 93baea247c86f645bf1bdcd0081de52957a66bcf Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 31 Mar 2014 09:49:45 +0200 Subject: [PATCH] Only apply ping4 service to hosts which have an address macro. Fixes #5891 --- etc/icinga2/conf.d/generic-host.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/icinga2/conf.d/generic-host.conf b/etc/icinga2/conf.d/generic-host.conf index e6be42e07..d5e6b4829 100644 --- a/etc/icinga2/conf.d/generic-host.conf +++ b/etc/icinga2/conf.d/generic-host.conf @@ -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" { -- 2.49.0