<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Aug 8, 2008 at 3:47 PM, Karanbir Singh <span dir="ltr">&lt;<a href="mailto:mail-lists@karan.org">mail-lists@karan.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Rudi Ahlers wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Sure, that&#39;s for XEN, but it&#39;s not very effective. I need graph the<br>
traffic for each VM, not the vif - the vifs tend to change on a reboot,<br>
and also reset with the stats.<br>
<br>
How can I graph the traffic over a perioud of time, for any given IP<br>
address?<br>
<br>
Cacti works well, for switches &amp; routers, but I can&#39;t get Cacti to graph<br>
an individual VM on the server.<br>
<br>
On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh &lt;<a href="mailto:mail-lists@karan.org" target="_blank">mail-lists@karan.org</a><br></div><div class="Ih2E3d">
&lt;mailto:<a href="mailto:mail-lists@karan.org" target="_blank">mail-lists@karan.org</a>&gt;&gt; wrote:<br>
<br>
 &nbsp; &nbsp;Rudi Ahlers wrote:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Hi all<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Can someone please tell me how to monitor each VM&#39;s traffic on a<br>
 &nbsp; &nbsp; &nbsp; &nbsp;CentOS<br>
 &nbsp; &nbsp; &nbsp; &nbsp;5.2 server, running either Xen or OpenVZ? I need to bill my<br>
 &nbsp; &nbsp; &nbsp; &nbsp;users for<br>
 &nbsp; &nbsp; &nbsp; &nbsp;the traffic they use, and would like to have a traffic usage<br>
 &nbsp; &nbsp; &nbsp; &nbsp;graph for<br>
 &nbsp; &nbsp; &nbsp; &nbsp;each Xen / OpenVZ Virtual Machine on the server.<br>
<br>
<br>
 &nbsp; &nbsp;if you look at how xen sets up the Vif interfaces, you will note<br>
 &nbsp; &nbsp;that its quite trivial. just watch the vif as you would an eth<br>
 &nbsp; &nbsp;interface.<br>
</div></blockquote>
<br>
You&#39;ve been on the list long enough to consider trimming your posts and not top posting.<br>
<br>
also, you seem confused about what a virtual interface is. take a look at virsh and see how you can bring up and take down a xen domu while getting info on what interfaces its using and how.<div><div></div><div class="Wj3C7c">
<br>
_______________________________________________<br>
</div></div></blockquote></div>Yes, but that&#39;s not going to help me. Sure, I can SSH into the server and see the usage with ifconfig, or virsh as you say - but I can&#39;t allow clients to login into the main server. <br>
<br>I need a way for a client to login to a PHP / MySQL based sytem, which can show them traffic graphs for their VPS&#39;s, and OpenVZ works different from Xen, so I can&#39;t even rely on the Xen stuff. <br><br>I&#39;m looking for something similar to Cacti / MRTG - but something that can graph traffic for each IP / VM on a server<br clear="all">
<br>-- <br><br>Kind Regards<br>Rudi Ahlers<br>
</div>