From c35dbe1b8337e3812366d149aa4f5745a922a9be Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Fri, 12 Aug 2022 15:10:02 +0200 Subject: [PATCH] make https cert check explicitly require a check_cert variable --- common/monitoring/icinga2/files/services/http_services.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/monitoring/icinga2/files/services/http_services.conf b/common/monitoring/icinga2/files/services/http_services.conf index 2dc2de8..ec4a35a 100644 --- a/common/monitoring/icinga2/files/services/http_services.conf +++ b/common/monitoring/icinga2/files/services/http_services.conf @@ -10,7 +10,7 @@ apply Service "Zertifikat: " for ( vhost => config in host.vars.vhosts ) to Host vars += config - assign where host.vars.vhosts[vhost]["http_ssl"] + assign where host.vars.vhosts[vhost]["http_ssl"] && host.vars.vhosts[vhost]["check_cert"] } apply Service "HTTP(S): " for ( vhost => config in host.vars.vhosts ) to Host {