VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Nov 9, 2009 10:19 PM by AngelaS  

SOAP request for performance information posted: Nov 5, 2009 9:11 PM

Click to view silmaril's profile Lurker 2 posts since
Nov 5, 2009
I'm trying to build a Soap request in ruby and is unable to retrieve performance information from the vCenter server.

Below is the request I'm using. Can someone please tell me where I'm going wrong?

<env:Body>
<n2:QueryPerfComposite xmlns:n2="urn:vim25">
<n2:_this type="PerformanceManager">PerfMgr</n2:_this>
<n2:querySpec xsi:type="n2:PerfQuerySpec">
<n2:entity>vm-585</n2:entity>
</n2:querySpec>
</n2:QueryPerfComposite>
</env:Body>

= Response

HTTP/1.1 500 Internal Server Error

Re: SOAP request for performance information

1. Nov 9, 2009 10:19 PM in response to: silmaril
Click to view AngelaS's profile Enthusiast 48 posts since
Sep 28, 2009

The 500 Internal Server Error is a "server-side" error, meaning the problem is not with the SOAP request but instead is a problem with the server.

Try restarting your ESX server which is being managed through vCenter or it's network services.

I also wanted to check if you were able to see the performance stats through VI Client or not.

Developer Social Media

Communities