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...

498 Responses

  1. ashokkumar says:

    How to add hosts ipaddress and users in nagios server?

  2. Jagadeesh says:

    As i mentioned in my previous comment..

    connect to address ::1 port 5666: Connection refused
    connect to address 127.0.0.1 port 5666: Connection refused
    connect to host localhost port 5666: Connection refused
    

    I followed two methods

    1. I tried to open port for 5666 in iptables
    2. I disabled iptables and tried for sometime.

    but am getting same issues..

    • Ravi Saive says:

      @Jagadeesh,

      First verity that the port 5666 is running using following command.

      netstat -at | grep nrpe
      

      If not, you should check your NRPE installation…

  3. Jagadeesh says:

    connect to address ::1 port 5666: Connection refused
    connect to address 127.0.0.1 port 5666: Connection refused
    connect to host localhost port 5666: Connection refused

    • Ravi Saive says:

      @Jagadeesh,

      Please open the Nagio NRPE Port 5666 on firewall to allow connection from remote machines..

      • Jagadeesh says:

        I tried two things.

        1. I tried to open port for 5666 in iptables
        2. I disabled iptables and tried for sometime.

        I tried both but am getting same issues

        • Jagadeesh says:

          This tutorial is very very confusing, becuase which part will do at server and which will be do at remote machine is not clear.

          • Ravi Saive says:

            @Jagadeesh,

            If you know how Nagios works, you should clearly understand how these instructions works..

  4. Jagadeesh says:

    I can’t to install xinted in centos 6.10. Please anyone tell me.

    • Ravi Saive says:

      @Jagadeesh,

      It’s easy, just run the following command to install Xinetd on CentOS or Fedora.

      # yum install xinetd
      

Leave a Reply to vishal 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.