ssl-error in nrpe plugin

vivek sharma sharma vivek_222 at rediffmail.com
Sun Apr 3 14:31:13 CEST 2005


Dear all,
         I have installed nrpe on my nagios host and one client host.

On Nagios Host:
1.)I compiled nrpe and copied the check_nrpe plugin to /usr/local/nagios/libexec/ directory


On client host:
1.)I compiled the nrpe and then copied the nrpe.cfg in /etc/
2.)Also placed /etc/xinetd.d/nrpe and placed the user as root in it and the allowed hosts as the Nagios host
3.)Started the xinetd daemon

Now i noticed two things:
Firstly when i try to telnet client_host 5666 from nagios_host it gives following
################
[root at nagios libexec]# telnet 203.187.192.44 5666
Trying 203.187.192.44...
Connected to 203.187.192.44 (203.187.192.44).
Escape character is '^]'.
Connection closed by foreign host.
################

Secondly when i try to run the check_nrpe daemon from within the /usr/local/nagios/libexec/ directory in Nagios_host it gives:
################
./check_nrpe -H 203.187.192.44 -c check_load

CHECK_NRPE: Error - Could not complete SSL handshake.
###############

The copy of nrpe.cfg in client host is as follows:
#################################
server_port=5666
command_timeout=60
# The following examples use hardcoded command arguments...

command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdb1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
##################################
The rest of the parameters in nrpe.cfg file are either not applicable b'cos i am using /etc/xinetd.d/nrpe or they are commented.

Pls suggest.

Thanks.
Vivek.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050403/f572f0bf/attachment.html>


More information about the Users mailing list