Monitoring /proc/user_beancounters with nagios
To be added locally on the VZ HN to /etc/nagios/nrpe_local.conf
.
Works as nagios-plugin with option '-f' or reports an increase of a failcnt-value by mail if run e.g. as a cronjob with option '-t'. We use it with both cases to be sure that we see a peak in case it happened between the nagios-checks.
The most current version of this script is available at http://github.com/peletiah/openvz/tree/master
Alternative Script
Here is an alternative script, also written in python: OpenVZ Nagios Bean Counters Script