From: Peter Palfrader Date: Fri, 6 Apr 2012 14:09:11 +0000 (+0200) Subject: accept that handel wants auth X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f859054d0f3d6900fd346caa48f9e5046492d341;p=mirror%2Fdsa-nagios.git accept that handel wants auth --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index a6a74c3..81b9f36 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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 - diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 1591f52..b7cffad 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -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' +}