Check_nrpe Error - Could Not Complete Ssl Handshake. Centos
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 6 Well I am too … and after a successfull Nagios configuration - adding a
Check_nrpe Error - Could Not Complete Ssl Handshake. Nagios
new client to configuration (read more about this in my Nagios configuration post) and setting up the configuration on error could not complete ssl handshake. 5 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 what to
Nrpe Could Not Complete Ssl Handshake
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: To FIX check nrpe could not complete ssl handshake "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 or xinetd the option allowed
CHECK_NRPE: Error – Could not complete SSL handshake by Ramya Nuvvula · Published : September 2, 2015 | Last Updated: February 2, 2016 We have
Check_nrpe Error Could Not Complete Ssl Handshake Windows
already discussed about Nagios installation on RHEL based systems, Nagios installation
Check_nrpe Error - Could Not Complete Ssl Handshake. Localhost
on Debian based systems, Add Remote Linux Host to Nagios Server & Add Remote Windows Host to Nagios check_nrpe error could not complete ssl handshake ubuntu Server. Alternatively you can install other network monitoring tools such as Zabbix, Monitorix, Cacti, Munin & Icinga2. Many of us has been experiencing the "CHECK_NRPE: Error – Could not https://geekpeek.net/could-not-complete-ssl-handshake/ complete SSL handshake". Why its happening ? It was happen when NRPE 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 http://www.2daygeek.com/check-nrpe-error-could-not-complete-ssl-handshake/ nagios server. I got below error message but i can able to get the output within host (locally). # /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
• All times are UTC - 6 hours [ DST ] Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group