[CentOS-virt] how to monitor each VM's traffic?

Fri Aug 8 13:52:34 UTC 2008
Tim Verhoeven <tim.verhoeven.be at gmail.com>

On Fri, Aug 8, 2008 at 3:49 PM, Rudi Ahlers <rudiahlers at gmail.com> wrote:
> I need a way for a client to login to a PHP / MySQL based sytem, which can
> show them traffic graphs for their VPS's, and OpenVZ works different from
> Xen, so I can't even rely on the Xen stuff.
> I'm looking for something similar to Cacti / MRTG - but something that can
> graph traffic for each IP / VM on a server

How about the xentop command, you can use it in batch mode and it can
display network statistics. So you should be able to write simple
plugin for Cacti that parses it output.


Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)