Hi Luc,
just checking yur post
vNIC transmit and receive rates - LucD notes
i have been trying to find this for two vms and three esxi hosts and stuck in following questions.
1:code does not work as get follwoing error .
C:\users\user1\desktop\> Get-VmNicStat
cmdlet Get-VmNicStat at command pipeline position 1
Supply values for the following parameters:
VM[0]: vm1
VM[1]: vm2
VM[2]:
Start: $start
Cannot recognize "$start" as a System.DateTime due to a format error.
Start: Thursday, October 04, 2018 9:18:02 PM
Get-VmNicStat : Cannot process argument transformation on parameter 'VM'. Cannot convert value
"System.Collections.ArrayList" to type "VMware.VimAutomation.ViCore.Impl.V1.Inventory.VirtualMachineImpl[]". Error:
"Cannot convert the "vm1" value of type "System.String" to type
"VMware.VimAutomation.ViCore.Impl.V1.Inventory.VirtualMachineImpl"."
At line:1 char:1
+ Get-VmNicStat
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-VmNicStat], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-VmNicStat
also how do we know if these valsue is high as there are some alerts like below
vm1 tx rate is high 10554 KBps
esxi 1 rx rate is high 30968 KBps
vm2 transmit rate is high (13941 KBps
esxi 3 transmit rate is high (41013 KBps)
esxi 4 receive rate is high (30515 KBps)
is there any threshold mentioned somewhere ??
If you increase the statistics level for an interval there will be more statistical data collected.
When you increase the statistics level from the Web Client, it will show an estimate of the space required.
Compare that with the actual size to determine if you need to increase the DB size.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks.
i dont see any option to change to level 3 from web client .
Double-click on the Level 1 field in the display
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thanks iam checking .