X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=91d55a4d5c7302b454cb4685392066e5f2e6a2ef;hb=8905858d3e7177ab42ca06685107510d299c69d8;hp=1591f520eba112202b8df338e0461a051d8ef110;hpb=c02f3097cdbaa7b6360e0bfa257ff32c5e3b7d11;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 1591f52..91d55a4 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -71,3 +71,11 @@ 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' +} +define command{ + command_name dsa_check_https_any_status + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 ' +}