When you encounter CHECK_NRPE: Error - Could not complete SSL handshake ... If you encounter this error when using the nagios check_nrpe plugin and the monitored server, it could be due to the following issues.
- You will have only an SSL problem if the SSL version used by the check_nrpe and the NRPE daemon are incompatible
- Access permission for nrpe.cfg on the monitored server is blocking access. It should have read access rw_r__r__
- Permission error within the /etc/nagios/nrpe.cfg file.
allowed_hosts=127.0.0.1,192.168.x.x
- You will also receive the error if the Nagios Server cannot access the NRPE serice at all through the xinetd.d service. Check the /etc/xinetd.d/nrpe service
{ .... user = nagios group = nagios server = /usr/sbin/nrpe server_args = -c /etc/nagios/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1,192.168.x.x }
- If all else fail, check the /var/log/messages
# grep nrpe /var/log/messages
# cd /usr/lib64/nagios/plugins # ./check_nrpe -H monitored_server, NRPE v2.12
No comments:
Post a Comment