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

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. 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. Follow Me: Twitter, Facebook and Google+

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

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

486 Responses

  1. sabir says:

    Hi bro, I added multiple Linux servers to Nagios server but all added server showing same "/" partition sizes and swap sizes, my partitions are created with LVM in all configuration files i modified “Hostname, alias, IPaddress“, is there any modifications i have to do?

  2. MS Zaid says:

    How to remove the nrpe 3.2.1 setup from scratch in the client machine?

    I want to remove all the files & folders related nrpe and want make a fresh start. Assist me in it

  3. MS Zaid says:

    [[email protected] nrpe-3.2.1]# /usr/local/nagios/libexec/check_nrpe -H localhost
    CHECK_NRPE: Error – Could not connect to ::1c00:0:ffff:ffff: Connection reset by peer

  4. MS Zaid says:
    [[email protected] nagios]# wget http://liquidtelecom.dl.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.0.tar.gz
    
    Sample Output
    --2018-07-24 12:15:14--  http://liquidtelecom.dl.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.0.tar.gz
    Resolving liquidtelecom.dl.sourceforge.net... 197.155.77.8
    Connecting to liquidtelecom.dl.sourceforge.net|197.155.77.8|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://downloads.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.0.tar.gz
    --2018-07-24 12:15:16--  http://downloads.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.0.tar.gz
    Resolving downloads.sourceforge.net... 216.105.38.13
    Connecting to downloads.sourceforge.net|216.105.38.13|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2018-07-24 12:15:18 ERROR 404: Not Found.
    

    can you please update the url of nrpe 3.0 plugin.

  5. rasmita says:

    make: *** No rule to make target `install-daemon-config‘. Stop.
    You have new mail in /var/spool/mail/root
    [[email protected]]# make install-xinetd
    make: *** No rule to make target `install-xinetd’. Stop.
    [[email protected] nrpe-3.0]# make install-inetd
    No inetd file to install
    make: *** [install-
    getting above error

    • Ravi Saive says:

      @Rasmita,

      Please install all needed packages for Nagios to compile as shown.

      # yum install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel xinetd
      
      
      
      
      • Muabarak Ali Mohd Mustafa says:

        every package is installed and latest but still the same issue

        • Jahal_Postaria says:

          same error as received by mubarak. All the package is installed and latest

          • Marcus says:

            Same issue here. There appears to be a missing step in the instructions. I’ve validated that all the listed packages are installed–my guess is that there is a package missing, and it is not listed in these instructions.

  6. Partha Sarathi Dash says:

    I downloaded nrpe plugin tarball on nagios server and extracted it in /root/nagios/. Now when I am going inside that directory and running ./configure it is giving me these error. Can any one help me!!!

    checking for Kerberos include files... configure: WARNING: could not find include files
    checking for pkg-config... pkg-config
    checking for SSL headers... configure: error: Cannot find ssl headers
    
    • Ravi Saive says:

      @Partha,

      Please first install required libraries on your Linux distribution you are using.

      [[email protected]]# yum install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel
      
  7. Ravat Tailor says:

    Hi, How can I provide remote server port in host.cfg file.

  8. ajay says:
    $ sudo yum install gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel xinetd unzip
    

    this command shows:

    Loaded plugins: product-id, refresh-packagekit, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    No package gd available.
    No package gd-devel available.
    No package openssl-devel available.
    Nothing to do
    

    what it means?

Got something to say? Join the discussion.

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.