X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=052798f5cedf74df624843c78dfd0dad87045a61;hb=37c1a31f9f4e78fdc6892c808e414cd423daaeaf;hp=dd4cb06beb296b95142fb25d7bb42c4459a95ef2;hpb=2da96e4ba4fc735aaf73991d9ec299ab2648ce6f;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index dd4cb06..052798f 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -47,6 +47,18 @@ define command{ command_name dsa_check_mirrorsync command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$" } +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$" @@ -63,3 +75,15 @@ define command{ command_name dsa_check_ntp command_line /usr/lib/nagios/plugins/check_ntp_time -H '$HOSTADDRESS$' } +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 ' +}