Re: [vserver] Network traffic monitoring per-vserver

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Sun 22 May 2011 - 13:05:25 BST
Message-ID: <33651.192.168.101.15.1306065925.squirrel@192.168.100.17>

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.

-- 
Daniel Hokka Zakrisson
Received on Sun May 22 13:05:34 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 22 May 2011 - 13:05:34 BST by hypermail 2.1.8