Check_nrpe: Error-cocould not complete SSL handshake.

Source: Internet
Author: User

Run the check_nrpe command to check whether the nrpe is correctly installed. The following error occurs:

Check_nrpe: Error-cocould not complete SSL handshake.

Check whether the OpenSSL and openssl_devel plug-ins are installed.

2:/usr/local/Nagios/etc/nrpe. CFG: This configuration file is correctly configured. Note that space: allowed_host = 127.0.0.1, 192.168.0.1 is incorrect. It must be allowed_host = 127.0.0.1, 192.168.0.1. no space is allowed after the comma.

In addition, if/usr/local/Nagios/libexec/check_nrpe-H 127.0.0.1 is executed on the monitored server

The result is nrpe v2.12, but the result is: check_nrpe: Error-cocould not complete SSL handshake.

Check the processes on the monitored server: After executing the command PS-Ef | grep nrpe, no processes are displayed. This indicates that this nrpe has been installed and can be removed from the original configuration and then started nrpe. The procedure is as follows:

1. Remove the/etc/xinetd. d/nrpe file.

2. Restart the ninetd. d service. /Etc/init. d/xinetd restart

3. Restart nrpe. /Usr/local/Nagios/bin/nrpe-C/usr/local/Nagios/etc/nrpe. cfg-d


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.