2009/9/2 Thomas Guyot-Sionnest <derm...@aei.ca>

> This had to do with the server's kay that changed and is being cached in
> the nagios user's ~/.ssh/known_hosts. Find any entry matching the target
> host name or IP and delete them, then connect manually to the host as
> the nagios user.
>

Thanks for the reply.


I deleted the entry matching the remote host's IP from the nagios
user's ~/.ssh/known_hosts file on the nagios server. But that
didn't help at all.

On running the command again, I still got the error;

nag...@central-host:/> /usr/local/nagios/libexec/check_by_ssh -H x.x.x.x -C
"/export/home/nagios/plugins/check_swap -w 50% -c 10%"

Remote command execution failed: ###################### !!! WARNING !!!
#############################


In reply to Grant's comments, my Nagios user's home directory is stored on a
local disk partition.

Any more pointers?
------------------------------------------------------------------------------
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@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

Reply via email to