A bandwidth monitor, null router and alerter for the Xen bare metal hypervisor
MongoDB to store all the history and XM as the Xen toolstack.
bundle installinstall necessary dependencies.
bwmon.rblines 101, 110 and 112 to your own email address, domain and subject respectively.
ruby addvm.rbAdd all your VMs with their hostnames (must be the same as
xm listand their config file).
./install.shMove the necessary scripts in place.
- Edit your crontab (
crontab -e) to run
bash /path/to/start.shat your specified interval.
- The monitor will then run the script at that interval and email you and nullroute the VM if it goes over its bandwidth allocation.
Copyright (c) 2014 Defined Code Ltd. See the LICENSE file for license rights and limitations (MIT).