X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=052798f5cedf74df624843c78dfd0dad87045a61;hb=e24e106252116bed264c027ad7e63b4c96347bad;hp=1591f520eba112202b8df338e0461a051d8ef110;hpb=c02f3097cdbaa7b6360e0bfa257ff32c5e3b7d11;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 1591f52..052798f 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -51,6 +51,14 @@ define command{ command_name dsa_check_mirrorsync_skew command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$" --allow-skew "$ARG3$" } +define command{ + command_name dsa_check_staticsync + command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path .serial --unix --ssl +} +define command{ + command_name dsa_check_staticsync_nossl + command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path .serial --unix +} define command{ command_name dsa_check_soas command_line /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$" @@ -71,3 +79,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 ' +}