X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=bdc76d5a45a6f34c53c63481b789f9c4fde38af7;hb=7a5951043c70c1769b8204976b0a82ccb531be5e;hp=88cf91f26d6a5456eb8b1282575d8e04005a263d;hpb=1749876011d300fbd90218b22f1fc999e62224bb;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 88cf91f..bdc76d5 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -36,7 +36,19 @@ 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_always_ok + command_line /bin/true +}