Babineau, Mike wrote: > Just to clarify - are you manually executing this check using the same > account under which Nagios runs? > > -Mike > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James > Sent: Monday, May 07, 2007 12:34 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh id key file reject > > Hi everyone i have a problem with using the check_by_ssh plugin > > for some reason i can run from the command line fine the check_by_ssh > plugin with my id keyfile id_rsa > my id_rsa file is chowned by nagios so that shouldn't be a problem. i > had also chmoded 777 for testing. > > /usr/local/nagios/libexec/check_by_ssh -H 192.168.1.1 -l remotecmd -i > '/usr/local/nagios/etc/id_rsa' -C '/home/remotecmd/asterisk.sh' > > when running it through nagios i get the following error: > Remote command execution failed: Host key verification failed. > > ideas? > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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 > yeah ok you got me there i forgot to login to the remote host with user nagios thanks for the bump on the head
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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