How to Add Linux Host to Nagios Monitoring Server Using NRPE Plugin

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

TecMint users Get a Free Domain and 30% off on Inmotion Web Hosting - Signup with Inmotion Now!

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

279 Responses

  1. Arun says:

    Thanks for the information ..
    While installing NRPE Plugin on Monitoring server i am getting
    “checking for SSL headers… configure: error: Cannot find ssl headers” while running ./configure

    Run “yum install -y openssl-devel” to resolve the error .

  2. Papouz says:

    Thanks it’s very clear. I would see the next article. Maybe a link?

    • Ravi Saive says:

      Which next article you talking about, we’ve already included links to the installation of Nagios and how to add windows host to Nagios at the beginning of the article. Please check and let me know is there anything you want from us..

  3. Giovanni says:

    [root@node2 nrpe-2.15]# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_load
    CHECK_NRPE: Error – Could not complete SSL handshake.

    anybody??? =(

  4. Tom Huerlimann says:

    Hi all,

    While i tried to install and compile the NRPE plugins with the ./configure-command, i received following error:

    checking for SSL headers… configure: error: Cannot find ssl headers

    To fix this on CentOS you need to install the openssl-devel package.
    # yum install openssl-devel


  5. Shantanu says:

    How to check the Memory of a remote Linux client from Nagios??

    • Ravi Saive says:

      Here is the command to check memory usage of remote linux client from Nagios server..make sure you opened port 5666 on remote linux client.

      # /usr/local/nagios/libexec/check_nrpe -H localhost -c check_mem -f -w 20 -c 10 
  6. I can confirm if I follow the same procedure for the remote and local host, i.e. installing the plugin, daemon and daemon config, then I get the check_nrpe file present in the required directory.


  7. Hi Ravi,

    Thanks for this detailed and helpful article. I followed the instructions to the letter, and I see the remote host on the Nagios dashboard, however I get the error on all checks that others have reported:

    (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, …) failed. errno is 2: No such file or directory

    I think this problem is due to the fact that when you install the daemon on the Nagios server, the check_nrpe file is not installed, as others suggested, so the checks do not work.

    On the remote host when installing, you advise to run the following:

    [root@tecmint]# make install-plugin
    [root@tecmint]# make install-daemon
    [root@tecmint]# make install-daemon-config

    But on the Nagios server only to run

    [root@tecmint]# make install-daemon

    Could this possibly be related? I don’t know – but I also have the same issue in that the check_nrpe file is missing on the Nagios server, and is present on the Remote server.


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 62000+ Linux Users
  1. 47558
  2. 2150
  3. 11343

Enter your email to get latest Linux Howto's