NRPE is called as ‘Nagios Remote Plugin Executor’. NRPE allows nagios server
to remotely execute nagios commands or plugins on other Linux/Unix machines. NRPE is also available windows servers.
Following document shows you how to install NRPE, I am installing it on CentOS 6.4
1] Install NRPE required packages.
This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on Fedora and have it monitoring your local machine inside of 20 minutes. No advanced installation options are discussed here – just the basics that will work for 95% of users who want to get started.
These instructions were written based on a standard RHEL 6.3 Linux distribution.
What You’ll End Up With
If you follow these instructions, here’s what you’ll end up with:
Nagios and the plugins will be installed underneath /usr/local/nagios
Nagios will be configured to monitor a few aspects of your local system (CPU load, disk usage, etc.)
- The Nagios web interface will be accessible at http://localhost/nagios/
During portions of the installation you’ll need to have root access to your machine.
Make sure you’ve installed the following packages on your Fedora installation before continuing.
The CentOS servers that I am using is run on CLI (Command-Line Interface) mode. But in some cases, I need to have a desktop to install some applications with GUI (Graphic User Interface) mode. I will use GNOME, the most popular user-friendly desktop for any UNIX based system.
1. Using yum, we will need to install X Windows System as the based for GUI and rich input device capability:
$ yum groupinstall -y 'X Window System'
2. Then then we can install GNOME desktop environment on top of it:
$ yum groupinstall -y 'Desktop'