• Skip to primary navigation
  • Skip to main content
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

CHECK_NRPE: Error – Could not complete SSL handshake nagios

March 2, 2013 by Sharad Chhetri 2 Comments

CHECK_NRPE: Error – Could not complete SSL handshake nagios

The nrpe uses the port no. 5666 to communicate . The same port no. must be opened in nagios server as well as in nagios client.
Usually we see the error “CHECK_NRPE: Error – Could not complete SSL handshake” .It is because nrpe works with ssl and this error tells that nrpe is not able to communicate because there is some SSL issue.
For resolving this issue. Install the ssl in both side nagios server and nagios client. Use the below given command to install openssl package

In CentOS or Red Hat

yum install openssl

In Debian or Ubuntu

sudo apt-get install openssl

Restart the nrpe in both system (nagios server and nagios client)

/etc/init.d/nrpe restart

now check with check_nrpe .

Get the location where check_nrpe is there.

find / -name check_nrpe
You will find where the check_nrpe is located

Use the absolute path of check_nrpe and hit the below command.
In my system the path was /usr/lib/nagios/plugins/check_nrpe, hence I am using same.

/usr/lib/nagios/plugins/check_nrpe -H remote_server_ip

It will show the nrpe version. like this in below given command.
Remote server IP is 192.168.122.94

[root@localhost ~]# /usr/lib/nagios/plugins/check_nrpe -H 192.168.122.94
NRPE v2.13
[root@localhost ~]#

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Error: Could not open command file ‘/usr/local/nagios/var/rw/nagios.cmd’ for update!
  2. There are unfinished transactions remaining. You might consider running yum-complete-transaction
  3. Unable to complete install:’unsupported configuration hda-duplex not supported in this Qemu binary’
  4. Nagios Plugin : check ssl certificate expiry date
  5. Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!
  6. fatal error: error writing to /tmp/ccwAjc9Z.s: No space left on device
  7. error: The requested URL returned error: 403 Forbidden while accessing Github repo
  8. dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu
  9. make all command error while installing nagios
  10. How to install and configure nagios nrpe in CentOS and Red Hat

Filed Under: Linux, Monitoring Server, Server Tagged With: nrpe

Reader Interactions

Comments

  1. Mariano says

    June 23, 2014 at 3:26 pm

    Hello, debian as serious?

    thank you very much

    Reply
  2. Scott says

    August 23, 2013 at 8:29 pm

    On SuSE SLES 10/11, sometimes xinetd goes belly up. rcxinetd restart usually does the trick.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy