MonitoringExchange
NagiosForge
NagiosWiki
Nagios Community Platform powered by NETWAYS

Addon:NRPE

Search  
From MonEx Wiki
Jump to: navigation, search

NRPE

Addon:NRPE
Cover
Description: The NRPE addon is designed to allow you to execute Nagios plugins on remote Linux/Unix machines.
Author: Ethan Galstad
Developer:
Released: 03/10/2008
Latest release version: 2.12
OS: Unix/Linux
Genre: {{{Genre}}}
Licence:
Licence: {{{licence}}}
Website: Nagios.org

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. Since these public resources are not usually exposed to external machines, an agent like NRPE must be installed on the remote Linux/Unix machines.


Contents


How it works

The NRPE addon consists of two pieces:

  • The check_nrpe plugin, which resides on the local monitoring machine
  • The NRPE daemon, which runs on the remote Linux/Unix machine

When Nagios needs to monitor a resource of service from a remote Linux/Unix machine:

  • Nagios will execute the check_nrpe plugin and tell it what service needs to be checked
  • The check_nrpe plugin contacts the NRPE daemon on the remote host over an (optionally) SSL-protected connection
  • The NRPE daemon runs the appropriate Nagios plugin to check the service or resource
  • The results from the service check are passed from the NRPE daemon back to the check_nrpe plugin, which then returns the check results to the Nagios process.

Note: The NRPE daemon requires that Nagios plugins be installed on the remote Linux/Unix host. Without these, the daemon wouldn't be able to monitor anything.

Image:NRPE.jpeg‎


Features

Direct Checks

The most straight forward use of the NRPE addon is to monitor "local" or "private" resources on a remote Linux/Unix Machine. This includes things like CPU load, memory usage, swap usage, current users, disk usage, process states, etc.

Image:NRPE_Bild1.jpg

Indirect Checks

You can also use the NRPE addon to indirectly check "public" services and resources of remote servers that might not be reachable directly from the monitoring host. For instance, if the remote host that the NRPE daemon and plugins are installed on can talk to the a remote web server (but the monitoring host cannot), you can configure the NRPE daemon to allow you to monitor the remote web server indirectly. The NRPE daemon is essentially acting as proxy in this case.

Image:NRPE_Bild2.jpg


See also

External Links


Literatur

  • Wolfgang Barth: (2005) Nagios – System- und Netzwerk-Monitoring – Open Source Press ISBN 3-937514-09-0
  • Wolfgang Barth: (2008) Nagios. System- und Netzwerk-Monitoring 2. Auflage – Open Source Press ISBN 978-3-937514-46-8