What is Nagios Nrpe plugin?

What is Nagios Nrpe plugin?

The NRPE addon is designed to allow you to execute Nagios plugins on remote Linux/Unix machines. The main reason for doing this is to allow Nagios to monitor “local” resources (like CPU load, memory usage, etc.) on remote machines.

Is Nrpe safe?

check_nrpe is not secure, unless you configure and use certificates, if not you are using “Anonymous Diffie-Hellman” see OpenSSL wiki for an explanation. NRPE’s security is based on IP whitelisting only, so not safe against MITM attacks as well…

What is Nrpe port?

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

How Nagios will execute Nrpe plugin in remote system?

The Nagios daemon which run checks on remote machines in NRPE (Nagios Remote Plugin Executor). It allows you to run Nagios plugins on other machines remotely. You can monitor remote machine metrics such as disk usage, CPU load etc.

How do I restart Nrpe service?

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 does Nrpe work in Nagios?

NRPE is a monitoring agent and protocol that is often used to monitor remote hosts with Nagios. NRPE works with: a client (check_nrpe plugin) that runs on the Nagios server. a daemon that runs on the remote server, processes requests from the client, and returns status information.

How restart Nrpe service in Linux?

How do I start Nagios service in Linux?

Starting and Stopping Nagios

  1. Init Script: The easiest way to start the Nagios 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 does Nrpe work?

How to install NRPE and Nagios plugins?

Install NRPE and Nagios plugins: Allow Nagios server to run commands on the client by adding it to the allowed_hosts entry in /etc/nagios/nrpe.cfg. The line should look like: Define the standard checks that you will perform on every client with NRPE. Define the checks on /etc/nagios/nrpe_local.cfg. For instance, a model for the file could be:

Where can I download NRPE?

Nagios 4.x github.com/NagiosEnterprises/nrpe/releases/download/nrpe-4.0… NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you to monitor remote machine metrics (disk usage, CPU load, etc.).

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.

How do I allow the execution of the NRPE script?

Allow the execution of the script: The previous script is a very simple example, checking the disk usage of the directory /root and setting a threshold for considering it OK, Warning or Critical. Add the command to the NRPE configuration file on the client ( /etc/nagios/nrpe_local.cfg ): And restart the NRPE listener: