WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] How can I monitor each domU's bandwidth?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] How can I monitor each domU's bandwidth?
From: "Rudi Ahlers" <rudiahlers@xxxxxxxxx>
Date: Wed, 15 Oct 2008 12:51:26 +0200
Delivery-date: Wed, 15 Oct 2008 03:52:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=tLaJYaN48F4NashFk6qqQ8oUvFcB87wWGMnFw9kNM3c=; b=rXjQ5REd4fzID0d1Z4yM3nH+A5MA9XoskIQDCpd4v4JpKY5Cn7DDr5bru4iYwtOrlD VhWuSq/JIBtrC9bWhu+0mfvfp1ml7MCfJh0otO27pSV5Uj/7cONUM4WJ1MeoRD5Xl7S/ X9dX+Ox5s0RkPLo6h7//pF6G/XCb7Gdg+445o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=IrfVG/Zcd0UZ1F8VJEFeRVLKzuFtntHosxu+FNsPJ3gJlsVwfVF0qL08WMBIWiTHHx 3zKrm/kXa6JfChduEv0YypQ5NUK4s+z5skqblTDghLU0Fbkg4GyR8MwTxeNAY24L2bPc Jo/z+W8GABvyS0Mf/lz44VF5oImoV9lsZicFc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I desperately need some help with this. We provide XEN VPS's to our
clients in a hosting environment, and I need to measure the bandwidth
usage per VPS, since we charge per MB / per GB for bandwidth.

Someone suggested Cacti, and it works well, but every now and then it
stops monitoring each VPS's bandwidth (for no apparent reason), and
then I need to recreate the VPS's interface in Cacti - but this often
means that we've lost a few days (and close to a few GB's) traffic.

So, can someone please suggest something more reliable?

Each VPS's interface is named as follows:

vifkeit0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:833111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1330716 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:1778333780 (1.6 GiB)  TX bytes:168951143 (161.1 MiB)

vifplut0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:819054 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1390022 errors:0 dropped:82 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:512295207 (488.5 MiB)  TX bytes:408377761 (389.4 MiB)

vifwise0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:689438 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1098542 errors:0 dropped:1478 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:120582623 (114.9 MiB)  TX bytes:245914558 (234.5 MiB)




With Cacti, I just use the names vifwise0, vifplut0, etc.

-- 

Kind Regards
Rudi Ahlers

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users