Changes

Jump to: navigation, search

Monitoring openvz resources using nagios and snmp

251 bytes added, 07:12, 7 April 2009
RET=0
DATAubc_file=`cat '/proc/user_beancounters';DATA='';if [ -r $ubc_file ]; then DATA=`cat $ubc_file`fiif [ -z "$DATA" ]; then echo "CRITICAL - $ubc_file is not readable or empty. Maybe it is only readable for root and this script should be called by sudo."; exit 3;fi
if [ -f $FILE ]; then
15
edits

Navigation menu