X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=052798f5cedf74df624843c78dfd0dad87045a61;hb=911593d86daf4c1d0c5b9e38ffe6eefb57d38ebc;hp=b7cffad51847df5b6933c53313444ad5ac6a1905;hpb=f859054d0f3d6900fd346caa48f9e5046492d341;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index b7cffad..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$" @@ -75,3 +83,7 @@ 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 ' +}