check_by_ssh wont work - help.

News piero at news.fb.se
Tue Feb 12 17:37:03 CET 2008


Hi all.

  Im trying to get check_by_ssh to work but i keep failing. Its  
between two linux, Debian (nagiosserver) and redhat (cilent). Im  
trying something simple at first, just check the disk.

I have setup the keys so i can login without password (with user  
nagios). When i do a test with from terminal it goes well:

/usr/local/nagios/libexec/check_by_ssh -H ekonomi.fb.se -C '/usr/local/ 
nagios/libexec/check_disk -w 75% -c 90% -p /var'

When i try the same thing in nagios i get:

DISC
	UNKNOWN	12-02-2008 17:32:57	0d 0h 21m 53s	3/3	Remote command  
execution failed: Host key verification failed.

Im seem having problem with the aut-key. I have doublechecked the  
nagios-account but in cant see whats wrong. For it is nagios user that  
is doing the check right?

thx.

p

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080212/36d84268/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndisabled.gif
Type: image/gif
Size: 1003 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080212/36d84268/attachment.gif>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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