VMware {code} Community
paul_xtravirt
Expert
Expert

Performance Manager returning no data - C#, vSphere 6.5

Hi all,

I have code that works fine with vSphere 5, 5.5 and 6.0 that will return me performance stats with no problem. As soon as I point it at a 6.5 environment I get nothing returned by any object for any counter.

I have used powershell to query the 6.5 vCenter (not an appliance) and it returns data correctly.

Is there any changes that I have missed for 6.5 which could stop me getting performance data from vCenter? It is hard for me to post code as it is entwined with some complex methods etc.

Thanks,

Paul

If you found this helpful, please consider awarding some points
2 Replies
paul_xtravirt
Expert
Expert

I have attached some code that demonstrates the problem that I am having. If you run this code against vSphere 5.5 you will get metrics. Against 6.5 you do not.

This code was provided by VMware in the code samples section.

If you found this helpful, please consider awarding some points
misael1984
Contributor
Contributor

Hi Paul,

Just to ask you, where can we find the libraries attached in your code?

  • vimservice65.XmlSerializers.dll
  • vimservice65.dll

We're developing some features for ESXi 6.5 and those libraries match perfect for what we're trying to achieve, we would like to know about the copyright of those DLLs.

Best regards,

Misael

Reply
0 Kudos