nrpe Nagios Remote Process Execution
nrpe - Daemon and plugin for executing plugins on remote hosts
Nagios open source system monitor software
nrpe - Daemon and plugin for executing plugins on remote hosts
Introduction
On of the features of Nagios is that is can process service check results that are submitted by external applications. Service checks which are performed and submitted to Nagios by external apps are called passive checks. Passive checks can be contrasted with active checks, which are service checks that have been initiated by Nagios.
Why The Need For Passive Checks?
Passive checks are useful for monitoring services that are:
How Do Passive Checks Work?
When setting up alerts in Nagios some are better to be active while others can be passive. Further Active monitoring can be executed either on the Nagios server or started from Nagios but executed remotely, see diagram.
Event Correlation and Analysis Market Definition and Architecture Description, 2009
Debra Curtis, David Williams
When embarking on an event correlation and analysis (ECA) project, it's important to consider the right event management specialist products, manager of managers (MoMs) and business service management (BSM) options, pulling together the appropriate sources and data types supported by the right ECA architecture.
On fedora or CentOS just install the RPM for Nagios and the plugins
yum install nagios
Edit the config files in /etc/nagios/objects
Check the config files are valid by typing
nagios -v /etc/nagios/nagios.cfg
Start nagios by typing
/etc/init.d/nagios restart
A Plugin is command-line script or executable to check the status of host or specific service. Whenever Nagios wants to check the service- or host-state it executes an plugin on the server or the remote host via NSClient++, check_by_ssh or NRPE.
The main difference between a NagiosPlugin and an NagiosAddon is Nagios addons are an extensions to the base-system monitoring on the server. There are two types of Nagios Addons available.
Nagios, the most popular open source solution for system and network monitoring, is extremely robust, but it's also intensely complex.