windvally
Contributor
Contributor

How to get the packet number of VM's nic in all cluster in datacenter

I want get the packet sent and receive number per second of all  vm's nics.

In My vsphere env, there is a datacenter, some cluster, every cluster have some esxi host.

Some VM will send huge number packets. I want to monitor the number of send send and receive packet for all VM.

0 Kudos
1 Reply
LucD
Leadership
Leadership

The number of packets send/received can be retrieved with the Get-Stat cmdlet.

The smallest interval (20 seconds) can be retrieved by using the Realtime switch.

Just wondering if a 20 second interval is fit to do "monitoring" ?

The smallest interval you can get is 5 seconds, but then you will have to use the Get-EsxTop cmdlet.


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

0 Kudos