From a8cdaad5a6b8f46ffbaebfc39edb64cfaa9e085f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 7 Nov 2017 16:28:51 +0100 Subject: [PATCH] mirror-conova does not do https on its base IP-address, move the check to the syncproxy instance --- config/nagios-master.cfg | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 4295933..c8a146b 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -546,7 +546,7 @@ servers: mirror-conova: address: 217.196.149.229 parents: gw-conova - hostgroups: computers, stretch, service, apache2-hosts, apache-https + hostgroups: computers, stretch, service, apache2-hosts mirror-conova-debian: address: 217.196.149.232 hostgroups: secondary-IPs @@ -561,7 +561,7 @@ servers: parents: mirror-conova mirror-conova-syncproxy4-eu: address: 217.196.149.237 - hostgroups: secondary-IPs, rsyncd-hosts + hostgroups: secondary-IPs, rsyncd-hosts, https-service parents: mirror-conova arm-conova-01: @@ -1347,6 +1347,9 @@ hostgroups: apache-https: alias: hosts with https services private: 1 + https-service: + alias: https service for secondary addresses + private: 1 broken_https_default_vhost: alias: https default vhost does not say 200 OK private: 1 @@ -2499,6 +2502,12 @@ services: excludehostgroups: broken_https_default_vhost depends: "process - apache2 - master" check_interval: 120 + - + name: network service - https + check: check_https + hostgroups: https-service + excludehostgroups: broken_https_default_vhost + check_interval: 120 - name: network service - https check: dsa_check_https_want_auth @@ -2514,7 +2523,7 @@ services: - name: network service - https cert check: dsa_check_cert!443 - hostgroups: apache-https + hostgroups: apache-https, https-service depends: network service - https check_interval: 60 - -- 2.20.1