

You can check whether the script generates output properly by manually running the following command on localhost. On RHEL/CentOS: # cd /usr/lib64/nagios/plugins/ (or /usr/lib/nagios/plugins/ for 32-bit) Preparing Remote Servers On Debain/Ubuntu: # cd /usr/lib/nagios/plugins/ The script that we will use for monitoring RAM is available at Nagios Exchange, as well as the creators' Github repository.Īssuming that NRPE has already been set up, we start the process by downloading the script in the server that we want to monitor. In this tutorial, we will see how we can configure NRPE in Nagios to monitor RAM usage of a remote server. However, the scripts and plugins needed to monitor memory usage do not come with stock Nagios.

In the previous tutorial, we have seen how we can set up Nagios Remote Plugin Executor (NRPE) in an existing Nagios setup. How to monitor server memory usage with Nagios Remote Plugin Executor (NRPE)
