X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=b7cffad51847df5b6933c53313444ad5ac6a1905;hb=bf0b2ddcee40ecb7f72b27497cebfc05f1a8f2f2;hp=dd4cb06beb296b95142fb25d7bb42c4459a95ef2;hpb=2da96e4ba4fc735aaf73991d9ec299ab2648ce6f;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index dd4cb06..b7cffad 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -47,6 +47,10 @@ 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_soas command_line /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$" @@ -63,3 +67,11 @@ 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' +}