checkubc.rb: A script to monitor the health of OpenVZ containers by reading user_beancounters This script reads /proc/user_beancounters and will generate warnings if certain thresholds are crossed. It also stores maxheld and failcnt in a gdbm file and warns if those numbers grow. You may tweak the thresholds and the location of the gdbm file by editing the constants defined below. Depends on: gdbm, Time, Net::SMTP All of these should be part of your basic Ruby distribution Usage: ./checkubc.rb Best run regularly from cron(8) Ben Klang Copyright 2006-2008 http://projects.alkaloid.net $Id$