check_by_ssh failing - host key verification failed

patrick.morris at hp.com patrick.morris at hp.com
Thu Apr 15 02:53:30 CEST 2010


Hi O'Donnell,!

On Wed, 14 Apr 2010, O'Donnell, Robert L wrote:

> Giorgio,
> 
> Yes.
> 
> Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa
> 
> logs me in with prompt ?nagios@(remote_machine_name):~>? and
> whoami returns nagios.

I see that you're logging in by IP, but in the config snippet you
included previously there was no IP defined in the host definition, so
$HOSTADDRESS$ will expand to the same value as host_name.  You'll need
to log in using the same exact address (in this case, name) Nagios will
be using to create an entry in your known_hosts file that matches what
Nagios will be using.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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