From 72e46bc5da05ffcbb4de7936d04ff7394cc21d67 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 12 Apr 2008 05:50:04 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080412095004-u3atgwh7nlpclm3d] ssh checks with longer timeout --- checkcommands.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) 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$ +} -- 2.20.1