<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all.<div><br class="webkit-block-placeholder"></div><div> 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.</div><div><br class="webkit-block-placeholder"></div><div>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:</div><div><br class="webkit-block-placeholder"></div><div>/usr/local/nagios/libexec/check_by_ssh -H ekonomi.fb.se -C '/usr/local/nagios/libexec/check_disk -w 75% -c 90% -p /var'</div><div><br class="webkit-block-placeholder"></div><div>When i try the same thing in nagios i get:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-family: arial; font-size: 16px; "><table border="0" width="100%" class="status" style="color: black; font-family: arial, serif; font-size: 8pt; background-color: white; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; position: static; z-index: auto; "><tbody><tr><td class="statusBGUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); "><table border="0" width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td align="LEFT"><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td align="LEFT" valign="center" class="statusBGUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); "><a href="http://ns.intern.fb.se/nagios/cgi-bin/extinfo.cgi?type=2&host=ekonomi&service=DISC">DISC</a></td></tr></tbody></table></td><td align="RIGHT" class="statusBGUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); "><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td align="center" valign="center"><a href="http://ns.intern.fb.se/nagios/cgi-bin/extinfo.cgi?type=2&host=ekonomi&service=DISC"><img border="0" width="20" height="20" alt="Notifications for this service have been disabled" title="Notifications for this service have been disabled" src="cid:CE240EBF-CAEC-4E08-A740-ECCE96890CCE"></a></td></tr></tbody></table></td></tr></tbody></table></td><td class="statusUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 153, 0); ">UNKNOWN</td><td class="statusBGUNKNOWN" nowrap="" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); ">12-02-2008 17:32:57</td><td class="statusBGUNKNOWN" nowrap="" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); ">0d 0h 21m 53s</td><td class="statusBGUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); ">3/3</td><td class="statusBGUNKNOWN" style="font-family: arial, serif; font-size: 8pt; background-color: rgb(255, 218, 159); ">Remote command execution failed: Host key verification failed. </td></tr></tbody></table><br></span></div><div>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?</div><div><br class="webkit-block-placeholder"></div><div>thx.</div><div><br class="webkit-block-placeholder"></div><div>p</div><div><br class="webkit-block-placeholder"></div></body></html>