Changes

Jump to: navigation, search

Monitoring bandwidth of containers

89 bytes added, 00:05, 25 January 2010
m
append Category Networking & $VE_PRIVATE
BWDIR=var/rrd/vz
 
## Default folder for containers
VE_PRIVATE=/var/lib/vz/private
# Define the full path to the bandwidth VE directory and the storage dir.
CBWDIR=/vz/private$VE_PRIVATE/$BWVE/$BWDIR
# Test and make sure that directory is there, if not create it.
# Delete the .rrd file because its obviously not needed anymore.
if ! test -d /vz/private$VE_PRIVATE/$VES; then
echo $i will be deleted
rm -rf $CBWDIR/vps-$VES.rrd
[[Category: HOWTO]]
 
[[Category: Monitoring]]
[[Category: Networking]]
22
edits

Navigation menu