VMware Cloud Community
KristofPattou
Enthusiast
Enthusiast
Jump to solution

total bytes network traffic for a given period and a given vm guest

Hi,

I would like to see the total bytes of network traffic a given vm generates in a give period.

I think it's possible with a super metric but don't know how.

Any help is welcome.

Kristof

0 Kudos
1 Solution

Accepted Solutions
sxnxr
Commander
Commander
Jump to solution

This is for vrops 6x

1. Create a Metric config

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <AdapterKinds>
     <AdapterKind adapterKindKey="VMWARE">
<ResourceKind resourceKindKey="VirtualMachine">
        <Metric attrkey="net|transmitted_average" />
        <Metric attrkey="net|received_average" />
        </ResourceKind>
     </AdapterKind>
  </AdapterKinds>

2. Create a new dashboard with Object list and Metric Chart

3. Edit the object list widget and filter on object type\Virtual Machines and save it

4. Edit the metric chart and select the metric config you created in step one in the metrix configuration box and save it

5. Under Widget interactions select object list in the drop down and click Apply Interactions and save the dashboard

When you open the dashboard and select a VM from the list (or search of it in the filter) it will display the Average amount of data received and transmitted in KBps in the metric chart. Use the date controls to specify when you want to see the data to and from.

 

Hope this helps

View solution in original post

0 Kudos
4 Replies
AdilArif
Enthusiast
Enthusiast
Jump to solution

This might be of help.

https://blog.packet-foo.com/2013/04/capturing-packets-of-vmware-machines/

Cheers, Adil Arif https://in.linkedin.com/pub/adil-arif/5b/a22/30 Blog: http://enterprisedaddy.com
0 Kudos
KristofPattou
Enthusiast
Enthusiast
Jump to solution

Hi,

Thanks for the reply. I red the article but that's more about capturing packets.

I want to have a metric or dashboard where I can select a vm and timeframe and see the amount of traffic that is transferred in and out.

Thanks,

Kristof

0 Kudos
sxnxr
Commander
Commander
Jump to solution

This is for vrops 6x

1. Create a Metric config

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <AdapterKinds>
     <AdapterKind adapterKindKey="VMWARE">
<ResourceKind resourceKindKey="VirtualMachine">
        <Metric attrkey="net|transmitted_average" />
        <Metric attrkey="net|received_average" />
        </ResourceKind>
     </AdapterKind>
  </AdapterKinds>

2. Create a new dashboard with Object list and Metric Chart

3. Edit the object list widget and filter on object type\Virtual Machines and save it

4. Edit the metric chart and select the metric config you created in step one in the metrix configuration box and save it

5. Under Widget interactions select object list in the drop down and click Apply Interactions and save the dashboard

When you open the dashboard and select a VM from the list (or search of it in the filter) it will display the Average amount of data received and transmitted in KBps in the metric chart. Use the date controls to specify when you want to see the data to and from.

 

Hope this helps

0 Kudos
KristofPattou
Enthusiast
Enthusiast
Jump to solution

Thanks,

I will try this and let you know !

Kristof

0 Kudos