Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A script designed to be executed on an OpenVZ host machine, which allows Nagios to monitor /proc/user_beancounters to see if resource limits have been reached. By Kyle Brandt.
Current Version
Last Release Date
May 26, 2009
Owner
egalstad
Website
http://www.kbrandt.com/2008/10/openvz-beancounters-nagios-script.html
The script parses /proc/user_beancounters and will exit with appropriate Nagios exit status if one of these limits has been reached. If you don’t want to run this script as root, I recommend compiling a shell script with shc to copy the bean_counters file, own it as a unprivilaged user, and then make that a setuid root script (Linux won’t usually allow setuid shell scripts, which is why shc can be used to compile it. Does anyone think if the script only copys the file to tmp that this might be dangerious?). This is what the script expects with its current configuration. The script is easy to modify to make it check for other parameters besides the fail count (failcnt) as well.
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!