check_by_ssh

Brian Hendrix bhendrix at stthomas.org
Tue Jan 20 18:14:24 CET 2004


I have been attempting in the last two days to get use nrpe on an AIX
4.3.3 system with no avail. It compiles but when attempting to use it, I
get the following error:
 
# ./check_nrpe -H {host to monitor} -c check_load
CHECK_NRPE: Error - Could not complete SSL handshake.
 
Well, I gave up on that for now and will revisit it when I have time to
research. I am giving an important demo to my IT managers in two days.
They are excited about not having to possibly spend $140,000 to renew
COMMANDPOST/Patrol.
 
I decided to use ssh instead. I did my research and configured ssh
correctly on both machines, created the key on nagios server, shared the
public key with remote AIX server. I can now as the nagios user on the
nagios server login via ssh to the remote system's nagios user without a
passphrase. Works great. However, whenever I use check_by_ssh, I am
always getting prompted for a passphrase. I am at a loss on what I may
be missing.
 
I created the key with the following command:
 
# ssh-keygen -t rsa1
I had to use the -t parameter. It was required.
 
I am using the following command to connect to the remote server:
 
# ./check_by_ssh -H hostname -l nagios -C check_load
 
 
Any assistance is greatly appreciated.

 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~
Brian Hendrix
Team Leader
DTR Services
Saint Thomas Health Services
2000 Church Street
Nashville, TN  37236
 
bhendrix at stthomas.org 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Whatever you do, do your work heartily,
as for the Lord rather than for men
    - Colossians 3:23
~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040120/3fe3e04b/attachment.html>


More information about the Users mailing list