Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A Nagios-plugin to monitor fail-counts of OpenVZ containers.
Current Version
1.0
Last Release Date
2010-09-13
Owner
Martin Scharm
Website
https://binfalse.de/software/nagios/check_ubc-pl/
Download URL
https://binfalse.de/wp-content/uploads/2010/09/check_UBC.pl
License
GPL
Compatible With
OpenVZ containers may have limited resources, if they reach their maximum and try to request more of a single resource they produce a fail-count that is displayed in /proc/user_beancounters. Maybe you want to get notified about that problem, this script monitors the file and alerts if any fail-counter increases. To reset the fail-counts you have to restart the container, but sometimes there isn’t the chance to reboot a virtual machine. So this script copies the /proc/user_beancounters (at default the copy is located at /tmp/user_beancounters) and alerts about diffs. To disable the alert just delete the copy, the script will create a new copy when it is called the next time. So there won’t be a diff anymore.
To get read access to /proc/user_beancounters for the user nagios don’t forget to set the s-bit (chmod +s check_UBC.pl).
Maybe you have to modify the location of your utils.pm by updating the lib-path in line 13
More information at <a href="https://binfalse.de/software/nagios/check_ubc-pl/">https://binfalse.de</a>
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!