Build precise queries to find exactly what you need
Press ESC to close
I’m using this plug-in for both my local machine and remote servers.
However, ‘free’ memory, when returned using the ‘free’ command, can be misleading, since memory is available at the moment it’s required, but allocated for caching the rest of the time.
More information is here: http://www.linuxatemyram.com
Might I suggest the -/+ buffers/cache value is used?
free=`free | grep Mem | sed -r ‘s/ +/ /g’ | cut -d -f 4`
to
free=`free | grep “buffers/cache” | sed -r ‘s/ +/ /g’ | cut -d -f 4`
gives a better reading of ‘available’ memory…
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!