Nagios Xi Check Nrpe Error Could Not Complete Ssl Handshake
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. Well I am too check_nrpe error - could not complete ssl handshake. nagios … and after a successfull Nagios configuration - adding a new client to configuration check_nrpe: error - could not complete ssl handshake windows (read more about this in my Nagios configuration post) and setting up the configuration on the client side also, i check_nrpe error could not complete ssl handshake ubuntu 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 do to fix it! Nagios logoHow
Check_nrpe: Error - Could Not Complete Ssl Handshake Localhost
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: Error - Could not complete SSL handshake" problem you need check_nrpe error could not complete ssl handshake xinetd 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_hosts in the file nrpe.cfg is ignored. You should instead change the configuration of the service, for example, if you use xin
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more check_nrpe: received 0 bytes from daemon. check the remote server logs for error messages. about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered
Check_nrpe: Error Receiving Data From Daemon.
Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign
Nrpe Disable Ssl
up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Nagios - Could not complete SSL handshake up vote 3 down vote favorite I'm https://geekpeek.net/could-not-complete-ssl-handshake/ trying to configure Nagios command for checking status of physical memory on a remote Windows host using NRPE plugin. I'm using Nagios v3.0.6 on Ubuntu Server v14.10, and latest stable version of NSClient++ 0.4.3. Here are the snippets from the config files: define command { command_name check_ph_mem command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAl$ } and define service{ host_name remote-win-host service_description Check Memory NRPE check_command check_ph_mem use generic-service } Nagios could not retrieve http://serverfault.com/questions/668253/nagios-could-not-complete-ssl-handshake any information from this command because when I execute /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.150 it gives back following error: CHECK_NRPE: Error - Could not complete SSL handshake. I've tried with reconfiguring part of C:\Program Files\NSClient++\nsclient.ini in following way: [/settings/NRPE/server] allow arguments = true allowed hosts = 192.168.1.15 port = 5666 but it gives back the same error. I've already read dozens similar topics and tried different advices, but I still have the same issue. Do you have any idea how to fix this? ssl nagios nrpe share|improve this question edited Feb 18 '15 at 12:15 asked Feb 17 '15 at 8:27 Marko 16113 The version of check_nrpe (2.10? 2.12?) in Ubuntu 9.10 might be too old to work with the 0.4 branch of nsclient++. Can you try a newer/supported version of Ubuntu? –Keith Feb 17 '15 at 17:20 I've tried with new version of Ubuntu 14.10 server, but problem remains. Ubuntu version (in question) is changed from 9.10 to 14.10 . –Marko Feb 18 '15 at 12:15 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote If you are using NSCP-0.4.3.x (rather then NSCP-0.4.2.x) on your Windows Host, then certificate based authentication became the default authentication method. That´s why your check isn´t working. To work around the issue you need to add the following to your config: [/settings/NRPE/server] insecure = true After that you ne
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Nagios: CHECK_NRPE: Error - Could not complete SSL handshake User Name Remember Me? Password Linux - Newbie This http://www.linuxquestions.org/questions/linux-newbie-8/nagios-check_nrpe-error-could-not-complete-ssl-handshake-765515/ Linux forum is for members that are new to Linux. Just starting out and https://viewsby.wordpress.com/2012/09/12/nagios-check-nrpe-error-could-not-complete-ssl-handshake/ have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe could not to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. could not complete If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 10-30-2009, 03:34 AM #1 jonaskellens Member Registered: Jul 2008 Location: Ghent, Belgium Distribution: Fedora, CentOS Posts: 632 Rep: Nagios: CHECK_NRPE: Error - Could not complete SSL handshake Need some help with NRPE-config for Nagios. The NRPE-plugin is running as a xinetd-service. Firewall on Nagios Monitoring server is down. Firewall on remote client is running, TCP-port 56
nrpe error could not complete sslhandshake When you are tying to connect remote host from nagios server using check_nrpe you may get following error. $ /usr/lib/nagios/plugins/check_nrpe -H remotehostIP Output: check_nrpe error could not complete ssl handshake Reason for this error is remote host not allowing the nagios server to run command using check_nrpe. To overcome this problem we need to add ip address of nagios server in remote machine. Open /etc/nagios/nrpe.cfg using any editor. Then search for allwoed_hosts. By default allowed host value is allowed_hosts=127.0.0.1 Change 127.0.0.1 to nagios server ip address. Let's say if my nagios server ip address 192.168.1.20, you should add as below allowed_hosts=192.168.1.20 Now restart nagios-nrpe-server in remote host. $ service nagios-nrpe-server restart Restart nagios3 and nagios-nrpe-server in nagios server. $ service nagios3 restart $ service nagios-nrpe-server restart Now if you run following command in nagios server, your will get nrpe version details. $ /usr/lib/nagios/plugins/check_nrpe -H remotehostIP Output: NRPE V2.12 -Sany Rate this:Share this:ShareTweetPocketShare on TumblrEmailPrintLike this:Like Loading... Related By Sandeep Posted in Nagios 24 Post navigation ← Ubuntu 12.04 Enable auto complete/suggest withapt-get Configure hadoop job failurepercent → 24 comments on “Nagios check nrpe error could not complete sslhandshake” rugwiza November 27, 2012 @ 3:53 PM hello, thx for the tutorial. Im getting the same error but for me, im connecting locally, so there is no need to change the localhost. unfortunately, im getting the same error. Any advice? Reply Sandeep November 27, 2012 @ 5:05 PM Instead of localhost just try with your ip address or 127.0.0.1. Let me know if it works. Reply Paul September 4, 2013 @ 3:19 AM Thanks for the information. I am having an issue where I am getting a ssl handshake error. I have configured nrpe.cfg and /etc/xinetd.d/nrpe to allow for local host and the server ip address. When I run " /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1″ it still gives a ssl handshake error. I see the port is bound on the host and can telnet to the port but I cannot get check_nrpe to work properly. Reply Sandeep September 4, 2013 @ 9:08 AM Check for firewalls and disable SELinux. Also check if nrpe daemon is running in slave machine. rugwiza December 3, 2012 @ 12:14 PM hello, i faced the same problem: after following all the steps requi