From: Peter Palfrader Date: Sat, 12 Apr 2008 09:50:04 +0000 (-0400) Subject: [project @ peter@palfrader.org-20080412095004-u3atgwh7nlpclm3d] X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=72e46bc5da05ffcbb4de7936d04ff7394cc21d67;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20080412095004-u3atgwh7nlpclm3d] ssh checks with longer timeout --- diff --git a/checkcommands.cfg b/checkcommands.cfg index 33d6b89..3265a7c 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -24,3 +24,11 @@ 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$ +}