X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=052798f5cedf74df624843c78dfd0dad87045a61;hb=2f5c5d80bb347daaa8557e6b23b3cc49c05e9152;hp=8801888496653d3e84bed951b34bf022f225aeaf;hpb=4d70649af1913862fdf791453c3d2b16f0643c7d;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 8801888..052798f 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,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 ' +}