<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Well, I found my problem, guys, and do I feel stupid. If I were smart, I would not admit this on the list.</DIV>
<DIV> </DIV>
<DIV>Benny, when I saw in your email the following:</DIV>
<DIV>ping <hostname><BR>ping 100.1.30.31<BR></DIV>
<DIV>I realized that was NOT the address for my remote host. The IP address was wrong in the hosts.cfg</DIV>
<DIV> </DIV>
<DIV>I AM NOW WORKING VIA SSH !!</DIV>
<DIV> </DIV>
<DIV>Anyway, I now know more about SSH than I ever wanted to. I also learned that the check_by_ssh command takes a "-1" (minus one) parameter for rsa1 that is not part of the -h help.</DIV>
<DIV> </DIV>
<DIV>THANKS for all the assistance.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~<BR>Brian Hendrix<BR>Team Leader<BR>DTR Services<BR>Saint Thomas Health Services<BR>2000 Church Street<BR>Nashville, TN 37236</DIV>
<DIV> </DIV>
<DIV><A href="mailto:bhendrix@stthomas.org">bhendrix@stthomas.org</A> <BR>(615) 284-5297 (work)<BR>(615) 222-1704 (fax)<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>Whatever you do, do your work heartily,<BR>as for the Lord rather than for men<BR> - Colossians 3:23<BR>~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR>>>> "C. Bensend" <benny@bennyvision.com> 1/20/2004 4:08:17 PM >>><BR><BR>> I tried the check_by_ssh command with the "-1" (minus one) option from<BR>> the command line:<BR>> check_by_ssh -1 -H <hostname> -C <command><BR>> (without a passphrase)<BR>><BR>> Amazingly, it worked. I believe the "-1" says to use ssh protocol 1.<BR><BR>OK, so sshd on the remote host is accepting protocol 1 connections.<BR><BR>> However, when I edit my services.cfg and checkcommands.cfg to include<BR>> the new optio
n, I get:<BR>> ssh: connect to address 100.1.30.31 port 22: Connection refused<BR><BR>From the nagios machine, can you provide the results of (as user nagios):<BR><BR>ping <hostname><BR>ping 100.1.30.31<BR><BR>ssh -1 hostname<BR>ssh -2 hostname<BR><BR>Benny<BR><BR><BR>-- <BR>"Have you ever tried simply turning off the TV, sitting down with your<BR>children, and hitting them?" -- Bender, "Futurama"<BR><BR><BR>-------------------------------------------------------<BR>The SF.Net email is sponsored by EclipseCon 2004<BR>Premiere Conference on Open Tools Development and Integration<BR>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.<BR><U><A href="http://www.eclipsecon.org/osdn">http://www.eclipsecon.org/osdn</A></U> <BR>_______________________________________________<BR>Nagios-users mailing list<BR><U><A href="mailto:Nagios-users@lists.sourceforge.net">Nagios-use
rs@lists.sourceforge.net</A></U> <BR><U><A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></U> <BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null<BR></DIV><FONT SIZE=3 COLOR=BLUE><PRE>
Confidentiality Notice: This email message, including any attachments, contains
information that is confidential and/or legally privileged. The information is intended
only for the individual(s) named above. If you are not the intended recipient or the
person responsible for delivering the email to the intended recipient, be advised that
you have received this email in error and that any use, dissemination, distribution,
forwarding, printing, or copying of this email is strictly prohibited. If you have received
this email in error, please purge it immediately and notify the sender.
</PRE></FONT>
</BODY></HTML>