NRPE with multiple nics?
Posted: Tue Jun 18, 2013 6:46 pm
HI,
I have just rolled out NRPE to 50+ RHEL/CentOS VMs in my environment and they are all working fine except for one of them. On this VM I get the error CHECK_NRPE: Error - Could not complete SSL handshake.
Now when I've had this in the past its an easy fix, either open-ssldevel install, the nrpe config IP address or the nrpe port missing from /etc/services, but this time it doesn't work. I noticed that on this affected VM it has 2 nics, eth0 is a local only network (no access outside the VM) and eth1 is my regular network. I think what is happening is NRPE is hitting the first localonly network and failing, because if I run check_nrpe -h localhost it works, but from my nagios server it errors with the SSL handshake.
I have tried putting the localonly IP into the /etc/xinetd.d/nrpe config as well as also # the only_from section but no joy.
Any ideas?
Andy
I have just rolled out NRPE to 50+ RHEL/CentOS VMs in my environment and they are all working fine except for one of them. On this VM I get the error CHECK_NRPE: Error - Could not complete SSL handshake.
Now when I've had this in the past its an easy fix, either open-ssldevel install, the nrpe config IP address or the nrpe port missing from /etc/services, but this time it doesn't work. I noticed that on this affected VM it has 2 nics, eth0 is a local only network (no access outside the VM) and eth1 is my regular network. I think what is happening is NRPE is hitting the first localonly network and failing, because if I run check_nrpe -h localhost it works, but from my nagios server it errors with the SSL handshake.
I have tried putting the localonly IP into the /etc/xinetd.d/nrpe config as well as also # the only_from section but no joy.
Any ideas?
Andy