Check_nrpe Error - Could Not Complete Ssl Handshake. Inetd
Contents |
Could not complete SSL handshake June 21, 2013, 12:41 29 Comments If you know about "CHECK_NRPE: Error - Could not complete SSL handshake" error then you are probably running Nagios in your environment. check_nrpe error could not complete ssl handshake centos Well I am too … and after a successfull Nagios configuration - adding
Nrpe Disable Ssl
a new client to configuration (read more about this in my Nagios configuration post) and setting up the check_nrpe error could not complete ssl handshake windows configuration on the client side also, i also got "CHECK_NRPE: Error - Could not complete SSL handshake" in my Nagios.In this post i will explain why Nagios is getting this error and check_nrpe: error - could not complete ssl handshake. xinetd what to do to fix it! Nagios logoHow To fix "CHECK_NRPE: Error - Could not complete SSL handshake" guide!Step 1: "CHECK_NRPE: Error - Could not complete SSL handshake" is usually (always from what i've seen) a client side problem. Step 2: Nagios client holds the file nrpe.cfg (provided by nagios-nrpe or nrpe package) usually at location /etc/nagios/nrpe.cfg (if installed from RPM).Step 3:
Check_nrpe: Error Receiving Data From Daemon.
To FIX "CHECK_NRPE: Error - Could not complete SSL handshake" problem you need to edit nrpe.cfg file and the line allowed_hosts.By default nrpe.cfg allowed_hosts line only holds localhost address:allowed_hosts=127.0.0.1You need to add the address one or more of your Nagios servers - separate it with commas:allowed_hosts=127.0.0.1,192.168.1.100Step 4: ..do not forget to restart nrpe service![root@foo1 ~]# service nrpe restart Shutting down Nagios NRPE daemon (nrpe): [ OK ] Starting Nagios NRPE daemon (nrpe): [ OK ]Now your Nagios shouldn't show "CHECK_NRPE: Error - Could not complete SSL handshake" error for this client anymore!!TEST: You can test this from your Nagios server by finding and running check_nrpe script (syntax: check_nrpe -H CLIENTIPADDR):[root@foo1 ~]# /usr/lib/nagios/plugins/check_nrpe -H 192.168.61.149 CHECK_NRPE: Error - Could not complete SSL handshake. [root@foo1 ~]# vi /etc/nagios/nrpe.cfg [root@foo1 ~]# service nrpe restart Shutting down Nagios NRPE daemon (nrpe): [ OK ] Starting Nagios NRPE daemon (nrpe): [ OK ] [root@foo1 ~]# /usr/lib/nagios/plugins/check_nrpe -H 192.168.61.149 NRPE v2.14If the response to this test is NRPE version of the client, the connection is OK!UPDATE (Thanks to Stefano Costa):If you are running the NRPE daemon under either inetd
CHECK_NRPE: Error – Could not complete SSL handshake by Ramya Nuvvula · Published : September 2, 2015 | Last Updated: February 2, 2016 We have already discussed about Nagios installation on check_nrpe error - could not complete ssl handshake. ubuntu RHEL based systems, Nagios installation on Debian based systems, Add Remote Linux Host check_nrpe error - could not complete ssl handshake redhat to Nagios Server & Add Remote Windows Host to Nagios Server. Alternatively you can install other network monitoring tools
Check_nrpe: Error - Could Not Complete Ssl Handshake Centos 7
such as Zabbix, Monitorix, Cacti, Munin & Icinga2. Many of us has been experiencing the "CHECK_NRPE: Error – Could not complete SSL handshake". Why its happening ? It was happen when NRPE https://geekpeek.net/could-not-complete-ssl-handshake/ server is not allowing to access service from Nagios server. What we can do ? Don't worry nothing is there to think much, You need to add nagios server ip into nrpe configuration file to solve the issue. I'm trying to access remote host from my nagios server. I got below error message but i can able to get the output within host (locally). # http://www.2daygeek.com/check-nrpe-error-could-not-complete-ssl-handshake/ /usr/local/nagios/libexec/check_nrpe -H x.x.x.x (Remote server IP) CHECK_NRPE: Error - Could not complete SSL handshake. See the below screen shot. Our remote client not talking with Nagios server. It was working fine with localhost. # /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.13 Add the Nagios server IP into nrpe.cfg file, if you installed nrpe alone. # vi /etc/nagios/nrpe.cfg allowed_hosts=127.0.0.1,x.x.x.x On Debian, Ubuntu, Linux Mint: $ sudo service nagios-nrpe-server restart On CentOS, Fedora or RHEL: # service nagios restart Add the Nagios server IP into nrpe file, if you installed NRPE daemon as a service under xinetd. # nano /etc/xinetd.d/nrpe only_from = 127.0.0.1 x.x.x.x # Restart the xinetd service # # service xinetd restart Verifying NRPE Service Status from log file (For Debian based system /var/log/syslog & RHEL based system /var/log/messages). # tail -f /var/log/syslog Aug 11 08:46:45 2daygeek.prod nrpe[30484]: Starting up daemon Aug 11 08:46:45 2daygeek.prod nrpe[30484]: Listening for connections on port 5666 Aug 11 08:46:45 2daygeek.prod nrpe[30484]: Allowing connections from: 127.0.0.1,x.x.x.x Verifying NRPE listening port. # netstat -tpln | grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 30484/nrpe Check Again whether NRPE can able to talk with remote host or not. # /usr/local/nagios/libexec/check
tech companies with 1 application on Indeed Prime On this page Error: Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Error - Could not complete https://www.howtoforge.com/nagios-icinga-debian-squeeze-check_nrpe-error-could-not-complete-ssl-handshake SSL handshake. Solution Error: Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Error - Could not complete SSL handshake. You try to connect from your Nagios/Icinga host to a remote Nagios NRPE server like this... /usr/lib/nagios/plugins/check_nrpe -H 9.8.7.6 ... and get the following error: [emailprotected]:/etc/nagios-plugins/config# /usr/lib/nagios/plugins/check_nrpe -H 9.8.7.6 CHECK_NRPE: Error - Could not complete SSL handshake. [emailprotected]:/etc/nagios-plugins/config# Solution could not Open /etc/nagios/nrpe.cfg on the remote Nagios NRPE server... vi /etc/nagios/nrpe.cfg ... and add the IP address of your Nagios/Icinga host (1.2.3.4 in this example) to the allowed_hosts line: [...] # ALLOWED HOST ADDRESSES # This is an optional comma-delimited list of IP address or hostnames # that are allowed to talk to the NRPE daemon. # # could not complete Note: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your /etc/hosts.allow # file to allow only the specified host to connect to the port # you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1,1.2.3.4 [...] Save the file and restart the NRPE server: /etc/init.d/nagios-nrpe-server restart view as pdf | print Share this page: Tweet Follow 0 Comment(s) Add comment Name * Email * Tutorials Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Error - Could not complete SSL handshake. > Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Tutorial Info Author: falko Tags: errors Share This Page Tweet Xenforo skin by Xenfocus Contact Help Imprint Tutorials Top RSS-Feed Terms Howtoforge © projektfarm GmbH.