VMware Cloud Community
yashatrevm
Enthusiast
Enthusiast
Jump to solution

Monitor packet drops in VMs

Hi Everyone, 
I am facing a piculier problem. I have 3 clusters in my vCenter Server, each having at least two or more ESXi servers. I  have a total of 145 VMs in it. However, only VMs in one of these clusters are dropping Tx and Rx packets (info from vROPS). I want to write a powercli script that I can execute on a need basis to get information on how many packets were dropped by which VMs in a given time period. 

I would really appreciate it if someone can help me with this script as I am not a core network person, and am not aware of powercli capabilities with respect to VM network. 

 

Thank you.

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the Get-Stat cmdlet to retrieve metrics.

Did you do a search in this community?
There are many examples of such scripts in here, see for example Solved: Re: How to get statistics of all VMs that is dropp... - VMware Technology Network VMTN


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

View solution in original post

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

You can use the Get-Stat cmdlet to retrieve metrics.

Did you do a search in this community?
There are many examples of such scripts in here, see for example Solved: Re: How to get statistics of all VMs that is dropp... - VMware Technology Network VMTN


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

Reply
0 Kudos
yashatrevm
Enthusiast
Enthusiast
Jump to solution

My apologies, it did not pop when I did a search from my end. I should have invested more time in searching :slightly_smiling_face: 

Thank you for the help. I will take help from the link and come back if I need any help. 

Reply
0 Kudos