VMware {code} Community
mahe90
Contributor
Contributor

vCenter API description about instance for virtual disk performance counter "totalReadLatency"

We are invoking queryPerf method (vCenter API) and trying to get virtual disk performance parameter "totalReadLatency". In queryPerf output, we are getting "scsi0:0" and "scsi0:1" as instance for totalReadLatency performance counter. Can you please add more information about instance for virtual disk counters?

By instance I am referring to - https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.PerformanceManager.Metr...

 

We are not able to identify "scsi0:0" is referring to which virtual disk. From DataObject - VirtualHardware, we are getting virtual disk key as 2000 and 2001. Is there any relation between scsi0:0 and 2000?

We are also getting unitNumber on VirtualHardware as 0 and 1. Does it resemble anything out of scsci0:0 and scsi0:1?

 

Please provide more information about instance or let us know if we are looking at wrong parameters

0 Kudos
1 Reply
Humphry
Contributor
Contributor

Hi mahe90, I have the same problem. Did you find any solution??

0 Kudos