Best bandwidth monitoring method? [message #36376] |
Fri, 12 June 2009 19:12 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
rmwebs
Messages: 8 Registered: June 2009
|
Junior Member |
|
|
We're in the process of building an OpenVZ control panel, however would like a little input.
Its designed to be run with a 'master' script that calls to the 'slaves', each running HyperVM -- ideally we want the scripts on the slave to be as small as possible.
I've looked at all the bandwidth/traffic accounting options on the forum, and wiki however there seems to be very little info on implementation, and which methods are best for an operation such as ours.
Anyone got any idea what would be best here? We need to be able to track monthly bandwidth usage, and possibly display bandwidth graphs.
Thanks for your time.
[Updated on: Fri, 12 June 2009 19:12] Report message to a moderator
|
|
|
|
|
|
|
Re: Best bandwidth monitoring method? [message #36438 is a reply to message #36436] |
Thu, 18 June 2009 13:33 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
rmwebs
Messages: 8 Registered: June 2009
|
Junior Member |
|
|
[quote title=arghbis wrote on Thu, 18 June 2009 09:00]rmwebs wrote on Thu, 18 June 2009 14:21 | Thanks for the suggestions, however neither of these would really work.
1) tx_bytes would show the bandwidth for all vps accounts (I need to get data for each individual account)
you're wrong. If you use tx_bytes for venet0 on each vps, it show the tx_bytes of the vps only
2) Collectd isnt able to pick up bandwidth usage from each VPS.
sorry, but you're wrong again. I use it this way
|
Thanks for your reply.
1) Yes, but as stated, whats to stop the VPS user from modifying the value?
2) I've searched high and low and cant find anything about using it with OpenVZ
[Updated on: Thu, 18 June 2009 13:34] Report message to a moderator
|
|
|
Re: Best bandwidth monitoring method? [message #36439 is a reply to message #36438] |
Thu, 18 June 2009 13:39 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
arghbis
Messages: 35 Registered: November 2007
|
Member |
|
|
rmwebs wrote on Thu, 18 June 2009 15:33 |
1) Yes, but as stated, whats to stop the VPS user from modifying the value?
Even if you're root user, you can't modify this info, or if so, tell me how to, i'm interested!
2) I've searched high and low and cant find anything about using it with OpenVZ
you just have to install collectd on each vps and configure it
|
On one of our servers, i've a vps that is a collectd server, and each vps has its collectd slave configured to send its data to the server.
|
|
|
|