Check_ssh not working

Joseph Filla joseph.filla at gmail.com
Wed Nov 11 04:12:51 CET 2009


Good day,

My nagios 3.2 with nagios-plugins 1.4.14 install running on Debian 5
is not running check_ssh correctly. I can run it successfully from the
command line as both myself and as user nagios but the web pages are
showing a status of 'Unknown' and a Status Information of 'check_ssh:
Could not parse arguments'

My check command:

# 'check_ssh' command definition:
define command{
	command_name	check_ssh
	command_line	$USER1$/check_ssh -H $HOSTADDRESS$
	}

my service definition:
define service{
    use                     default-service-host
    hostgroup_name          linux_hosts
    service_description	    SSH
    check_command	    check_ssh
}

I've also tried running check_ssh without the '-H $HOSTADDRESS$' but
still the same. I've set this to check three different hosts,
including localhost, and I do not get any status other than UNKNOWN.

Any help is very much appreciated.

Joe

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list