1. Install Required NRPE Packages
2. Verify NRPE Installation
3. Update /etc/nagios/nrpe.cfg
Configuration
Add or update the following lines:
4. Create and Set Permissions for check_mem.sh
Script
Paste the following code into the file:
Set the correct permissions:
5. Restart the NRPE Service
6. Test NRPE Commands Locally and from the Nagios Server
- Local Test
- Remote Test (Run from Nagios Server)