X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=3265a7c1ee25896a2a1db2187d63900fa1d107ed;hb=d4d9c9081e4c51620f3b05775bb8e7105005fb95;hp=2edbeb5092ae496c88855fba771aa72293c5fd7c;hpb=d8c5d6904d8caaa22010740d6df2994c170af665;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 2edbeb5..3265a7c 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -20,3 +20,15 @@ define command{ command_name dsa_check_smtp command_line /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ } +define command{ + command_name dsa_check_smtp_port + command_line /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p $ARG1$ +} +define command{ + command_name dsa_check_ssh + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ +} +define command{ + command_name dsa_check_ssh_port + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ +}