Problem with check_by_ssh...

C. Bensend benny at bennyvision.com
Tue Nov 11 21:27:58 CET 2003



>     check_command    check_by_ssh!"/usr/local/nagios/libexec/check_load -w
> 70,60,50 -c 90,80,70"
>     max_check_attempts    3
>     normal_check_interval    5
>     retry_check_interval    1
> }
>
> When nagios is doing that check, it returns "Host key verification failed"
>
> Any ideas???

Nagios isn't using a hostname, it's using an IP.  As the nagios user,
execute the same test that you tried before, but using the IP.  Accept
the "Do you want to save this key" message, and then your Nagios
checks should work.

Benny


-- 

"Legend has it that once 100 posts have been made, The Dark Lord
Bernstein will rise from the prison of ice and wage his inevitable
war on mankind."                                    -- Erik Bourget


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
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