![]() This will not calculate the swap memory in results. cd /usr/lib/nagios/plugins/Įdit NRPE configuration file and add a command to check memory uses like below. Unlike disk and memory, monitoring the CPU usage on a Linux system isn’t as straightforward. Hence, monitoring these components is crucial. On CentOS/RHEL 64-bit systems this local will be /usr/lib64/nagios/plugins. Insufficient system resources such as storage, memory, and CPU (Central Processing Unit) can greatly affect an application’s performance. Download check_mem.pl using the following command and copy it to the Nagios plugins directory. You can download the check_mem.pl and configure with NRPE daemon. Monitor Memory UsesĪ Nagios plugin is available to monitor memory uses on Linux systems. ![]() The requests go to the remote host and the NRPE server checks for the command defined as check_load and execute it. Let’s verify the configuration by running the check_nrpe command from the Nagios serverĪs per the above screenshot, the Nagios server sent NRPE requests to the defined host (192.168.1.15) to execute command check_load and send results back. Command =/ usr/ lib/ nagios/ plugins/ check_load - w 15, 10, 5 - c 30, 25, 20
0 Comments
Leave a Reply. |