after going through all the Internet about this problem, here I'm to ask for help :
I can get version of NRPE agent on the remote RHEL:
Code: Select all
[user@server ~]# /usr/local/nagios/libexec/check_nrpe -H HOSTNAME
NRPE v2.15Code: Select all
[nagios@server libexec]$ ./check_nrpe -H 127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake.Code: Select all
[user@server ~]# /usr/local/nagios/libexec/check_nrpe -H HOSTNAME -c check_load -a "-w 15,10,5 -c 30,25,20"
OK - load average: 0.04, 0.03, 0.00|load1=0.040;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.000;5.000;20.000;0;Code: Select all
[user@server ~]# /usr/local/nagios/libexec/check_nrpe -H HOSTNAME-c unix_flexlm -a "1735"
NRPE: Unable to read outputmy check launch a perl script which use an executable placed in "/usr/local/nagios/bin/", all rights should be good, according to your answers to others posts .
the NRPE port is accessible from outside (seen using nmap command) also
thank you for your answers