You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by 조대형 <ca...@renet.kr> on 2016/03/09 07:59:18 UTC

How to measure a VM bandwidth usage

Hi, all

I have a question about Bandwidth usage in Cloudstack.

Do you know how to measure the network usage for VM in Cloudstack?

I want to provide bandwidth usage to my customer. 

For example, some site provide the value in client portal page. 

It is same as the interface RX/TX.





 

Does anyone know how to do that?


Re: How to measure a VM bandwidth usage

Posted by Nux! <nu...@li.nux.ro>.
Also check this

https://issues.apache.org/jira/browse/CLOUDSTACK-7583

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Suresh Sadhu" <su...@accelerite.com>
> To: users@cloudstack.apache.org
> Sent: Wednesday, 9 March, 2016 14:01:05
> Subject: RE: How to measure a VM bandwidth usage

> Refer cwiki:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Usage+metering+for+Direct+Network
> 
> regards
> sadhu
> 
> -----Original Message-----
> From: Naresh Kumar [mailto:bishnoink@gmail.com]
> Sent: Wednesday, March 9, 2016 6:27 PM
> To: users@cloudstack.apache.org
> Subject: Re: How to measure a VM bandwidth usage
> 
> Thanks,
> 
> When you say CloudStack support TrafficSentinel, it mean CloudStack can pull
> data from TrafficSentinel? is there any documentation available on this?
> 
> Naresh Kumar
> 
> 
>> On 09-Mar-2016, at 6:13 PM, Shweta Agarwal <sh...@accelerite.com>
>> wrote:
>>
>> CloudStack supports TrafficSentinel as an external Traffic Monitor to get
>> metering stats for Direct Network.
> 
> 
> 
> 
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the
> property of Accelerite, a Persistent Systems business. It is intended only for
> the use of the individual or entity to which it is addressed. If you are not
> the intended recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this communication in
> error, please notify the sender and delete all copies of this message.
> Accelerite, a Persistent Systems business does not accept any liability for
> virus infected mails.

RE: How to measure a VM bandwidth usage

Posted by Suresh Sadhu <su...@accelerite.com>.
Refer cwiki:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Usage+metering+for+Direct+Network

regards
sadhu

-----Original Message-----
From: Naresh Kumar [mailto:bishnoink@gmail.com] 
Sent: Wednesday, March 9, 2016 6:27 PM
To: users@cloudstack.apache.org
Subject: Re: How to measure a VM bandwidth usage

Thanks,

When you say CloudStack support TrafficSentinel, it mean CloudStack can pull data from TrafficSentinel? is there any documentation available on this?

Naresh Kumar


> On 09-Mar-2016, at 6:13 PM, Shweta Agarwal <sh...@accelerite.com> wrote:
> 
> CloudStack supports TrafficSentinel as an external Traffic Monitor to get metering stats for Direct Network.




DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

Re: How to measure a VM bandwidth usage

Posted by Naresh Kumar <bi...@gmail.com>.
Thanks,

When you say CloudStack support TrafficSentinel, it mean CloudStack can pull data from TrafficSentinel? is there any documentation available on this?

Naresh Kumar


> On 09-Mar-2016, at 6:13 PM, Shweta Agarwal <sh...@accelerite.com> wrote:
> 
> CloudStack supports TrafficSentinel as an external Traffic Monitor to get metering stats for Direct Network.


Re: How to measure a VM bandwidth usage

Posted by Shweta Agarwal <sh...@accelerite.com>.
This is available for Advance zone .
However you can measure traffic for basic zone as well using traffic sentinal .
CloudStack supports TrafficSentinel as an external Traffic Monitor to get metering stats for Direct Network.

Thanks
Shweta

________________________________________
From: Naresh Kumar <bi...@gmail.com>
Sent: Wednesday, March 9, 2016 5:40 PM
To: users@cloudstack.apache.org
Subject: Re: How to measure a VM bandwidth usage

Hi,

Is it available for both Basic and Advanced zones?

Thanks,
Naresh Kumar

> On 09-Mar-2016, at 3:01 PM, Suresh Sadhu <su...@accelerite.com> wrote:
>
> HI,
>
> You can check the” cloud.user_statistics” table  and you can find the sent/received bytes of an account traffic.
>
> You are right its same as RX/TX packet traffic on guest network.
>
>
> mysql> select * from user_statistics\G;
> *************************** 1. row ***************************
>                    id: 1
>        data_center_id: 1
>            account_id: 2
>     public_ip_address: NULL
>             device_id: 7
>           device_type: DomainRouter
>            network_id: 204
>    net_bytes_received: 11090
>        net_bytes_sent: 20974
> current_bytes_received: 0
>    current_bytes_sent: 0
>    agg_bytes_received: 11090
>        agg_bytes_sent: 20974
>
>
> regards
> sadhu
> From: 조대형 [mailto:carlcho@renet.kr]
> Sent: Wednesday, March 9, 2016 12:29 PM
> To: users@cloudstack.apache.org
> Subject: How to measure a VM bandwidth usage
>
> Hi, all
> I have a question about Bandwidth usage in Cloudstack.
> Do you know how to measure the network usage for VM in Cloudstack?
> I want to provide bandwidth usage to my customer.
> For example, some site provide the value in client portal page.
> It is same as the interface RX/TX.
> [cid:image001.png@01D17A1C.A34A17F0]
> [cid:image002.png@01D17A1C.A34A17F0]
>
> Does anyone know how to do that?
>
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.




DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

Re: How to measure a VM bandwidth usage

Posted by Naresh Kumar <bi...@gmail.com>.
Hi,

Is it available for both Basic and Advanced zones?

Thanks,
Naresh Kumar

> On 09-Mar-2016, at 3:01 PM, Suresh Sadhu <su...@accelerite.com> wrote:
> 
> HI,
> 
> You can check the” cloud.user_statistics” table  and you can find the sent/received bytes of an account traffic.
> 
> You are right its same as RX/TX packet traffic on guest network.
> 
> 
> mysql> select * from user_statistics\G;
> *************************** 1. row ***************************
>                    id: 1
>        data_center_id: 1
>            account_id: 2
>     public_ip_address: NULL
>             device_id: 7
>           device_type: DomainRouter
>            network_id: 204
>    net_bytes_received: 11090
>        net_bytes_sent: 20974
> current_bytes_received: 0
>    current_bytes_sent: 0
>    agg_bytes_received: 11090
>        agg_bytes_sent: 20974
> 
> 
> regards
> sadhu
> From: 조대형 [mailto:carlcho@renet.kr]
> Sent: Wednesday, March 9, 2016 12:29 PM
> To: users@cloudstack.apache.org
> Subject: How to measure a VM bandwidth usage
> 
> Hi, all
> I have a question about Bandwidth usage in Cloudstack.
> Do you know how to measure the network usage for VM in Cloudstack?
> I want to provide bandwidth usage to my customer.
> For example, some site provide the value in client portal page.
> It is same as the interface RX/TX.
> [cid:image001.png@01D17A1C.A34A17F0]
> [cid:image002.png@01D17A1C.A34A17F0]
> 
> Does anyone know how to do that?
> 
> 
> 
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.


RE: How to measure a VM bandwidth usage

Posted by Suresh Sadhu <su...@accelerite.com>.
HI,

You can check the” cloud.user_statistics” table  and you can find the sent/received bytes of an account traffic.

You are right its same as RX/TX packet traffic on guest network.


mysql> select * from user_statistics\G;
*************************** 1. row ***************************
                    id: 1
        data_center_id: 1
            account_id: 2
     public_ip_address: NULL
             device_id: 7
           device_type: DomainRouter
            network_id: 204
    net_bytes_received: 11090
        net_bytes_sent: 20974
current_bytes_received: 0
    current_bytes_sent: 0
    agg_bytes_received: 11090
        agg_bytes_sent: 20974


regards
sadhu
From: 조대형 [mailto:carlcho@renet.kr]
Sent: Wednesday, March 9, 2016 12:29 PM
To: users@cloudstack.apache.org
Subject: How to measure a VM bandwidth usage

Hi, all
I have a question about Bandwidth usage in Cloudstack.
Do you know how to measure the network usage for VM in Cloudstack?
I want to provide bandwidth usage to my customer.
For example, some site provide the value in client portal page.
It is same as the interface RX/TX.
[cid:image001.png@01D17A1C.A34A17F0]
[cid:image002.png@01D17A1C.A34A17F0]

Does anyone know how to do that?



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.