X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=b7cffad51847df5b6933c53313444ad5ac6a1905;hb=a4badecf11513f1d83cd80eb52be7bd8a21ee8cb;hp=1565d0a6128871090919f8171cc006cdb67f58e8;hpb=617df7ab1d3f55e12bd9e7df2fdf4ea78f9af875;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 1565d0a..b7cffad 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$" @@ -55,10 +59,6 @@ define command{ command_name dsa_check_soas_add command_line /usr/lib/nagios/plugins/dsa-check-soas -a "$ARG1$" "$ARG2$" } -define command{ - command_name dsa_check_dnssec - command_line /usr/lib/nagios/plugins/dsa-check-zone-rrsig-expiration-many --warn 20d --critical 7d /var/cache/bind/git/domains -} define command{ command_name dsa_check_always_ok command_line /bin/echo "Dummy check - always says OK" @@ -67,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' +}