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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

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.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

322 Responses

  1. Anisha Jain says:

    I was able to follow this to monitor the remote windows server (Windows server 2008 R2), however I have a tomcat server running on that system that i actually need to monitor. Any ideas how I could proceed with that?

  2. jonus says:

    Hi Ravi,

    I just want your help on how to execute windows commands remotely from Linux server?

    For Linux to Linux it is possible using below command.
    #ssh ls -l

    But for Linux to Windows it is not possible , do you have any document / solution for this ?

    Jonus Joseph

  3. Chaitanya Datkhile says:

    Nice Article, I used this article for configuring the Remote linux host on Nagios Server and it got configured properly without any error.

  4. rajesh says:

    when i am excute make install-xinetd it tell /usr/bin/install -c -m 644 sample-config/nrpe.xinetd /etc/xinetd.d/nrpe this is correctly installed or not

  5. rajesh says:

    Hi when I execute /usr/local/nagios/libexec/check_n then press tab not coming nrpe in nagios server
    it will come for check_nagios that but nrpe is not shown here

  6. David Haines says:

    The 2 problems I encountered and resolved were the following:

    1. In the Nagios 4.0.1 Installation Guide on RHEL/CentOS 6.x/5.x & Fedora 19/18/17 article ## include openssl and openssl-devel needing to be installed on the Nagios Server
    2. Not sure why during the NRPE install on the Nagios Server, the check_nrpe program did not get copied in the /usr/local/nagios/libexec/ directory so I copied it over.

    Everything else worked as expected and I am monitoring remote servers.

  7. Muscab says:

    i am trying to integrate nagios xi to a ganglia server to get alerts from some three thousand nodes. please help.

  8. Arunava Ghosh says:


    Please share puppet monitoring tools installation & configuration.


  9. umesh says:

    very useful information. I am wondering how to write a plugin from scratch and get the info displayed in nagios. I would like to create the plugin in my nagios server and not need to install any agents like nrpe but still be able to get some stats from remote server…is it possible ? if so, please point me to the right docs or send an email to with any links.

  10. dennis raborar says:

    Hi when I execute /usr/local/nagios/libexec/check_nrpe -H localhost -c check_users it says
    NRPE: Unable to read output

    what went wrong?
    I follow the above procedure please help thanks!

Leave a Reply

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

Join Over 85000+ Linux Users
  1. 53,676
  2. 2,838
  3. 20,639

Enter your email to get latest Linux Howto's