> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of News > Sent: Tuesday, February 12, 2008 10:37 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh wont work - help. > > 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' >
> 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? Correct. In the host{} definition that this service check is applied to, is the 'address' specified as 'ekonomi.fb.se'? If not, you'll need to manually ssh to the IP/hostname used as the address in the host definition to associate the host key with _that_ name or address. -- Marc ------------------------------------------------------------------------- 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/ _______________________________________________ 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