How To Check Memory Utilization With Nagios And NRPE

Proper Credit for this script is due to “jlightner”, user “MensaWater” on linuxquestions.org – reposted without permission (no contact info available). Original link: http://www.linuxquestions.org/questions/linux-software-2/nagios-check-ram-usage-on-remote-server-747531/ Create the script /usr/local/nagios/libexec/check_mem.sh as shown below (make sure you set execute perms):