THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Multiple Categories

NRPE - How to install NRPE

Installing NRPE Using the Install Script

You must run the following commands as root.

cd /tmp

For CentOS & RHEL , Fedora 14+, SLES & OpenSUSE 11+, Ubuntu, Debian:

wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz

Unpack the installer, and run the install script:

tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall

The script takes care of the following setup:

  • Installs prerequisite packages
  • Creates required users and groups
  • Defines services for xinetd
  • Compiles and installs the NRPE agent and Nagios plugins
  • Configures the firewall (except on SLES)
  • Configures the agent

The script will stop to prompt you once to ask for the IP address(es) for your monitoring server(s).

You will need to type either a single address or multiple addresses separated by spaces. This will configure the xinetd superdaemon to allow connections from those addresses to the NRPE agent.

You now have NRPE installed. You may remove any installation files in the tmp directory.

 

This video covers the steps above.

 

 

 

Installing NRPE From Source

The following KB article describes how to install and configure NRPE from source for use with Nagios Core/XI. The linux-nrpe-agent that ships with Nagios XI is only supported on CentOS, RHEL, OpenSUSE, SLES, Ubuntu, and Debian. Most monitored environments consist of many different distributions, therefore may need to compile NRPE and its associated plugins.

Documentation - How To Install NRPE v3 From Source

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

2.23 (30)
Article Rating (30 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Upgrading The Linux NRPE Agent
Viewed 9796 times since Wed, Aug 30, 2017
NRPE - How To Uninstall NRPE
Viewed 40456 times since Thu, Aug 10, 2017
Nagios XI - Installing The AIX Agent
Viewed 9864 times since Wed, Jan 27, 2016
Nagios XI - Installing The Linux Agent
Viewed 17475 times since Wed, Jan 27, 2016
Nagios XI - Installing The Solaris Agent
Viewed 8458 times since Wed, Jan 27, 2016
Nagios XI - How To Monitor Apache ActiveMQ With Nagios XI
Viewed 9987 times since Wed, Jan 27, 2016
NRPE - v3 check_nrpe Config File
Viewed 31129 times since Fri, Jun 24, 2016
Nagios XI - Installing the XI Mac OS/X Agent
Viewed 8002 times since Wed, Jan 27, 2016
NRPE - How To Install NRPE v4 From Source
Viewed 388104 times since Fri, Jun 3, 2016
NRPE - v3 Enhanced Security
Viewed 112361 times since Thu, Jun 30, 2016