How do I set up Nrpe?

How do I set up Nrpe?


  1. Add nrpe port to /etc/services – Add NRPE service to /etc/services and make sure port 5666 (default) is open on Firewall: # echo “nrpe 5666/tcp # NRPE” >> /etc/services.
  2. Make necessary changes to nrpe. conf – Edit nrpe.
  3. Start xinetd/nrpe and enable them at system boot:

How do I know if Nrpe is installed?

Step 1 – Configure NRPE on Linux Host

  1. Step 1.1 – Install NRPE. Firstly we would require installing nrpe service on remote Linux system, which we need to monitor through Nagios server.
  2. Step 1.2 – Configure NRPE.
  3. Step 1.3 – Verify Connectivity from Nagios.

What is the Nrpe package?

Nrpe is a system daemon that will execute various Nagios plugins locally on behalf of a remote (monitoring) host that uses the check_nrpe plugin. Various plugins that can be executed by the daemon are available at: This package provides the core agent.

How restart Nrpe service in Linux?

cfg file will be located in /etc/nagios/nrpe. cfg , and you should be able to then enable and (re)start the nrpe service with: chkconfig nrpe on (which will ensure NRPE starts on system boot), and /etc/init. d/nrpe restart (to restart the service).

How do you use Nrpe?

Please use the below instructions to install Nagios Plugins and NRPE daemon on the Remote Linux Host.

  1. Step 1: Install Required Dependencies.
  2. Step 2: Create Nagios User.
  3. Step 3: Install the Nagios Plugins.
  4. Step 4: Extract Nagios Plugins.
  5. Step 5: Compile and Install Nagios Plugins.
  6. Step 6: Install Xinetd.

What is the latest version of Nrpe?

At the time of writing, the latest version of NRPE was 3.2. 1. Install the NRPE plugin. You’ll need to create a command definition in one of your Nagios object configuration files in order to use the check_nrpe plugin.

How do I start Nagios in AIX?

Starting Nagios Core

  1. Init Script: The easiest way to start the Nagios Core daemon is by using the init script like so: /etc/rc.d/init.d/nagios start.
  2. Manually: You can start the Nagios daemon manually with the -d command line option like so: /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg.

How can I check my Nagios status?

To identify the status of a monitored service, Nagios runs a check plugin on it. Nagios can tell what the status of the service is by reading the exit code of the check. Nagios understands the following exit codes: 0 – Service is OK.

What is Nrpe port?

By default, the NRPE daemon listens on TCP port 5666, whether it’s configured to do SSL or not.

How do I install NRPE on Linux?

NRPE – How to install NRPE. You must run the following commands as root. For CentOS & RHEL 5-7, Fedora 14+, SLES & OpenSUSE 11+, Ubuntu 12+, Debian 6+: Unpack the installer, and run the install script: The script takes care of the following setup: The script will stop to prompt you once to ask for the IP address(es) for your monitoring server(s).

How to install NRPE on an op5 Monitor server?

Note that this article is intended for Debian 6, 7, 8 and Ubuntu 16.04 client hosts, and that these steps never should be performed on an OP5 Monitor server. 1. Install the NRPE package together with plugins: 2. Create a new file called /etc/nagios/nrpe.d/op5_commands.cfg containing the following information:

How to NRPE to Nagios server in Ubuntu?

Step 1 – Install NRPE on Ubuntu. NRPE is available under default apt repositories of Ubuntu systems. Step 2 – Configure NRPE. In NRPE configuration, first we need to nrpe to which nagios servers it accepts requests, For example your nagios server ip is, then add this ip to allowed hosts list.

Do I need to compile NRPE and its plugins?

Most monitored environments consist of many different distributions, therefore may need to compile NRPE and its associated plugins. For any support related questions please visit the Nagios Support Forums at: Posted by: jomann on Wed, Dec 17, 2014 at 8:20 PM. This article has been viewed 73091 times.

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top