The default XI wizard sets up a memory monitor, but it seems to only monitor physical memory and not calculate the free physical+cached, so it is in a perpetual alarm state. Is there a better way to configure this?
Thank you,
Brad
Linux NRPE Memory Monitoring
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linux NRPE Memory Monitoring
This is based on the default plugin used.
If you make the following modification to line 59 of
/usr/local/nagios/libexec/custom_check_mem on the remote machine
If you make the following modification to line 59 of
/usr/local/nagios/libexec/custom_check_mem on the remote machine
Code: Select all
memoutput=`free -t -m | head -5 | tail -1`
Re: Linux NRPE Memory Monitoring
Thank you. What is the name of the service I need to restart to get that to take effect?
Thanks,
Brad
Thanks,
Brad
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linux NRPE Memory Monitoring
You don't, just need to change the file on each remote machine you are monitoring.