X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=9811089201d4f552fc2eae241c32af9da61cc083;hb=f97e9c3da88b304f964ee824a50c6b2998dbd56b;hp=3265a7c1ee25896a2a1db2187d63900fa1d107ed;hpb=72e46bc5da05ffcbb4de7936d04ff7394cc21d67;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 3265a7c..9811089 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -8,6 +8,10 @@ define command { command_name dsa_check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $HOSTADDRESS$ -t 50 -c $ARG1$ } +define command { + command_name dsa_check_nrpe_host + command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -c $ARG2$ +} define command{ command_name dsa_check_cert command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -S -C 14 @@ -32,3 +36,27 @@ define command{ command_name dsa_check_ssh_port command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ } +define command{ + command_name dsa_check_ssh_port_version + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ -r "$ARG2$" +} +define command{ + command_name dsa_check_time + command_line /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$ +} +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_soas + command_line /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$" +} +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_always_ok + command_line /bin/true +}