X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=1591f520eba112202b8df338e0461a051d8ef110;hb=611376368dc102b2b4641e187077cfadaae76c9e;hp=0eb547d7d35c13b6c1446bb00bf46c03d5172fa4;hpb=3d042e9442ffc93aeb7f9a0f31bf95f6196f9f13;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 0eb547d..1591f52 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -9,7 +9,7 @@ define command { } define command { command_name dsa_check_nrpe_host - command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -c $ARG2$ + command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -t 50 -c $ARG2$ } define command{ command_name dsa_check_cert @@ -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$" @@ -61,5 +65,9 @@ define command{ } define command{ command_name dsa_check_ntp - command_line /usr/lib/nagios/plugins/check_ntp -H '$HOSTADDRESS$' + 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$ }