Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Uses the value of (MemAvailable / MemTotal) from /proc/meminfo to determine current % of memory available.
Current Version
Last Release Date
2017-11-17
Owner
Ed
Website
https://github.com/erude1/nagios-plugin-memory
Download URL
https://raw.githubusercontent.com/erude1/nagios-plugin-memory/master/check_memory.rb
License
Apache
Compatible With
This seems to make more sense than what some of the other tools I've seen are doing. All input is welcome!
From the free command man page MemAvailable is: Estimation of how much memory is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory slabs will be reclaimed due to items being in use
On EL6 vm.meminfo_legacy_layout must be set to 0. You can set that with: sysctl -w vm.mem-info_legacy_layout=0
Tested On: CentOS6 - ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux] CentOS7 - ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
You must be logged in to submit a review.
To:
From:
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!