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 {