Home » General » HowTo » Bandwidth Accounting + Graphing and More for OpenVZ
Bandwidth Accounting + Graphing and More for OpenVZ [message #1341] |
Tue, 07 February 2006 02:56 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
phpfreak
Messages: 47 Registered: January 2006
|
Member |
|
|
Well, I found the iptables method of collecting bandwidth a bit too hands on and unforgiving. Therefore, using my mad php skills, and some bash scripting, I've whipped up an set of applications that allows you a more graphical and accurate overview using rrdtool, and some PHP scripts. You can have full bandwidth accounting for your VPS including daily, monthly and weekly tabulated data in about 5 minutes of setup time.
Here's some screen shots (full size screens are on our site):
![http://www.serverpowered.com/images/bw1_thumb.jpg](http://www.serverpowered.com/images/bw1_thumb.jpg)
![http://www.serverpowered.com/images/bw2_thumb.jpg](http://www.serverpowered.com/images/bw2_thumb.jpg)
![http://www.serverpowered.com/images/bw3_thumb.jpg](http://www.serverpowered.com/images/bw3_thumb.jpg)
The total process takes about 5 minutes to setup using the pre-created CentOS 4.2 templates that I have packaged up for you, and installing a bash script that does the collection.
The cool thing is, when you add a new VPS, the cronjob will automatically detect this and add the graphs for you. In addition, when you delete a VPS, the graphs and .rrd files will be deleted with it.
The only thing you need to install on the hostnode is the bash script and the rrdtool rpm ( or compile rrdtool from source ). The rest of the display, and web server that displays these graphs is located inside the VE that you'll create specifically for this purpose.
I just wanted to give something back to the community. Thanks for all that you are doing to help this awesome solution grow and become even more evolved ![Smile](images/smiley_icons/icon_smile.gif)
The full details are found at ServerPowered.com, our server website: http://www.serverpowered.com/openvz-bandwidth-accounting.php
Please direct any discussions here, and not on our server company's website I'll subscribe to this and help you out if you need it.
Enjoy!
Eric Rosebrock
http://www.serverpowered.com
http://www.hybodus.com
http://www.linuxforum.com
http://www.phpfreaks.com
[Updated on: Tue, 07 February 2006 03:14] Report message to a moderator
|
|
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Bandwidth Accounting + Graphing and More for OpenVZ
By: phpfreak on Tue, 07 February 2006 02:56
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: scooter on Tue, 07 February 2006 04:44
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: phpfreak on Tue, 07 February 2006 04:46
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: scooter on Tue, 07 February 2006 04:55
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: phpfreak on Tue, 07 February 2006 04:57
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: scooter on Tue, 07 February 2006 05:07
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: phpfreak on Tue, 07 February 2006 05:08
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: scooter on Tue, 07 February 2006 05:10
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: devnu11 on Tue, 07 February 2006 11:32
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: duswil on Tue, 21 March 2006 03:06
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: jbond007 on Tue, 21 March 2006 03:36
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: asmith on Fri, 21 April 2006 12:09
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: scooter on Fri, 21 April 2006 16:04
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: duswil on Fri, 21 April 2006 16:55
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: asmith on Fri, 21 April 2006 16:56
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: jorgea on Tue, 30 July 2013 23:24
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: gral on Mon, 03 February 2014 20:57
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: duswil on Tue, 09 May 2006 18:52
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: Foblas on Thu, 28 September 2006 09:43
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: null on Fri, 05 October 2007 10:22
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: Shanlar on Wed, 02 January 2008 06:15
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: XaoZoov on Sun, 06 January 2008 03:12
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: XaoZoov on Sun, 06 January 2008 06:34
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: duswil on Tue, 08 January 2008 17:53
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: dvazart on Thu, 15 October 2009 09:33
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
|
![Read Message Read Message](/theme/ovz3/images/read.png) |
|
Re: Bandwidth Accounting + Graphing and More for OpenVZ
By: amoon on Fri, 30 December 2011 21:31
|
Goto Forum:
Current Time: Mon Jul 29 22:53:20 GMT 2024
Total time taken to generate the page: 0.02751 seconds
|