[Nagiosplug-help] check_by_ssh Host key verification failed

Charles Sprickman spork at bway.net
Fri Oct 21 18:00:04 CEST 2005


On Fri, 21 Oct 2005, Michael Markstaller wrote:

> Hi,
>
> I've some problems with check_by_ssh: I've setup things with a id_rsa 
> without password and everything works fine from shell as root and with 
> "su nagios"; added the hosts to the ~/.ssh/known_hosts and copied the 
> same file to nagios' home, I still get "Host key verification failed" in 
> the service output.. Any hint where to search further or how to find out 
> where check_by_ssh looks for known_hosts when run from within nagios ?

Do the "su" routine again, but instead of specifying a hostname, specify 
the machine's IP address.

Thanks,

Charles

> (used plugins 1.3.1 and latest 1.4.2)
>
> tia
>
> Michael
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>




More information about the Help mailing list