Check_ssh not working

Marc Powell marc at ena.com
Wed Nov 11 14:07:25 CET 2009


On Nov 10, 2009, at 9:12 PM, Joseph Filla wrote:

> 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
> }


Verify that these are actually what nagios is using by finding them in objects.cache. Verify that you don't have multiple copies of nagios running at the same time (stop, kill any that remain, start).

--
Marc


------------------------------------------------------------------------------
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