Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Issues»CHECK_NRPE: Error – Could not complete SSL handshake.

    CHECK_NRPE: Error – Could not complete SSL handshake.

    RahulBy RahulMarch 21, 20141 Min Read

    While connecting to remote server from Nagios server using NRPE, Some times we faced this issue “CHECK_NRPE: Error – Could not complete SSL handshake.” If you see this error, don’t panic. This issue can be solve easily within minute.

    Issue/Error:

    Getting error “CHECK_NRPE: Error – Could not complete SSL handshake” while connecting nagios server trying to connect remote NRPE server.

    # /usr/lib64/nagios/plugins/check_nrpe -H 192.168.10.45
    
    CHECK_NRPE: Error - Could not complete SSL handshake.
    

    Solution:

    This issue generally comes when NRPE server is not allowing to access service from Nagios server. You need to add nagios server ip in nrpe configuration file.

    Step 1:

    Edit NRPE configuration file /etc/nagios/nrpe.cfg and search for allowed_hosts configuration variable.

    Step 2:

    Add your nagios servers ip address in allowed_hosts. For multiple nagios servers add all ips with comma-delimited list. It also supports subnets (like: 192.168.10.0/24).

    allowed_hosts=127.0.0.1, 192.168.10.3, 192.168.10.4
    

    After making above changes restart nrpe service

    # service nrpe restart
    

    Step 3:

    Finally verify changes again using check_nrpe command from nagios server

    # /usr/lib64/nagios/plugins/check_nrpe -H 192.168.10.45
    
    NRPE v2.14
    
    nagios NRPE
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install mod_security with Apache on CentOS/RHEL 7/6
    Next Article How to Setup VirtualHosts in Lighttpd Server

    Related Posts

    How to Install Nagios Client (NRPE) on Ubuntu 20.04

    3 Mins Read

    How to Install Nagios Server on Ubuntu 20.04

    Updated:June 3, 20213 Mins Read

    How To Install NRPE on LinuxMint 19/18

    Updated:December 6, 20182 Mins Read

    How to Monitor Memory, CPU and Disk on Linux using NRPE and Nagios

    Updated:January 11, 20183 Mins Read

    How to Create Own Nagios Plugin using Bash Shell Script

    Updated:December 1, 20172 Mins Read

    How To Install NRPE on CentOS/RHEL 7/6

    Updated:November 10, 20173 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.