EloHHH
Enthusiast
Enthusiast

Network usage of VM in 30 days! (not avrage)

Hi,

 

I'm trying to find out if there is any way to get state of the network(used traffic in/out or total) for VMs that used in last 30 days?

I can only able to get the average with @LucD solution!
https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Average-Network-throughput-for-a-VM-wi...

 

Reply
0 Kudos
LucD
Leadership
Leadership

That depends on which Statistics Levels you have defined on your vCenter.

See PowerCLI & vSphere statistics – Part 1 – The basics for more details.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
EloHHH
Enthusiast
Enthusiast

Thank you for your fast reply

I already put it on Level 3
2022-10-16 16_17_25-Window.png

 

It still gives the average, Im not sure how we can get the total usage of VM in 30 days.
2022-10-16 16_21_48-Window.png

Should I calculate something to achieve the total traffic usage of VM? or there is a better way?
The purpose is if a VM used 2TB within a month, we should suspend the VM.

Reply
0 Kudos
LucD
Leadership
Leadership

Your interval 4 is still at level 1, so your level 3 for intervals1, 2 and 3 will get aggregated.
Statistics are based on averages over an interval, to measure the total amount over a month you will need other tools


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
EloHHH
Enthusiast
Enthusiast

Hey,

Alright thanks, but what tools?
I already tried VEEAM ONE and it shows the same data as vcenter!
Do you know any tools?

Reply
0 Kudos
LucD
Leadership
Leadership

Have a look at VMware Aria.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos