Re: [vserver] Network traffic monitoring per-vserver

From: Romain Riviere <romain.riviere_at_gmail.com>
Date: Sun 22 May 2011 - 15:00:32 BST
Message-Id: <5EFD9848-DDCA-4E43-94C8-5B597E607DDB@gmail.com>

Le 22 mai 2011 à 14:05, Daniel Hokka Zakrisson a écrit :

> Daniel Lo Nigro wrote:
>> Hi everyone,
>> Is it possible to monitor how much traffic each vserver is using? I'm currently
>> using vnstat for monitoring network transfer for the whole server, but it'd be
>> great to produce a report stating how much network transfer each vserver is
>> using per month as well.
>
> You can graph iptables hit counters rather easily to get that sort of data.
> Just setup a rule like iptables -A OUTPUT -o eth0 -s <guest IP> and you
> will see.

I recently came across a nice munin plugin for iptables accounting too:
http://backreference.org/2010/07/31/munin-traffic-accounting-with-iptables/

Cheers,
Romain
Received on Sun May 22 15:00:47 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 22 May 2011 - 15:00:47 BST by hypermail 2.1.8