Hi,
I have installed nagios 3.2.0 and nagios-plugins-1.4.14 and nrpe-2.12 on a server named “NAGIOS” for monitoring remote linux and windows servers. The “NAGIOS” [ip add is: [ 192.168.1.1/24 ]server has kernel version 2.6.27.21-170.2.56.fc10.i686 running on it. This is a virtual machine.
I have installed nrpe on both nagios server and remote linux server which is a webserver named “ISA” [IP add is 192.168.1.10/24] that has to be monitored for its public and private services.
I get following outputs/errors when i run following:
[root@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H localhost
Connection refused by host
[root@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H 192.168.1.1
Connection refused by host
[root@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H 192.168.1.10 ---->[192.168.1.10 is IP add of webserver ISA]
NRPE v2.12
[root@ISA ~]# /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@ISA ~]# /usr/local/nagios/libexec/check_nrpe -H 192.168.1.1
Connection refused or timed out
Here nrpe is not an xinetd based service, rather it is a standalone service. I compiled nrpe with “ssl” option on webserver i.e., ISA. Cant find where the problem is? Please help, i have been trying to find the mistake for more than 2 weeks.