accept that handel wants auth
authorPeter Palfrader <peter@palfrader.org>
Fri, 6 Apr 2012 14:09:11 +0000 (16:09 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 6 Apr 2012 14:09:11 +0000 (16:09 +0200)
config/nagios-master.cfg
config/static/checkcommands.cfg

index a6a74c3..81b9f36 100644 (file)
@@ -2219,6 +2219,13 @@ services:
     name: network service - https
     check: check_https
     hostgroups: apache-https
+    excludehosts: handel
+    depends: "process - apache2 - master"
+    normal_check_interval: 120
+  -
+    name: network service - https with auth
+    check: dsa_check_https_want_auth
+    hosts: handel
     depends: "process - apache2 - master"
     normal_check_interval: 120
   -
index 1591f52..b7cffad 100644 (file)
@@ -71,3 +71,7 @@ define command{
        command_name    dsa_check_port_closed
        command_line    /usr/lib/nagios/plugins/dsa-check-port-closed -H '$HOSTADDRESS$' -p $ARG1$
 }
+define command{
+       command_name    dsa_check_https_want_auth
+       command_line    /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 401'
+}