6 Replies Latest reply on Jan 26, 2010 11:25 PM by KimSchneider

    monitoring virtual servers via API

    KimSchneider Novice

      Hi,

       

      I'm trying to monitor some easy stuff using the vmware API.

       

      By using the samples' RealTime project I can get some values regarding the cpu, but I don't know what to do with these values.

       

      If I pick number two of the options ("CPU usage in percent during interval") I get a value of 2663. Divided by 20 (qSpec.intervalId= 20) this is way more than the cpu usage of the vSphere Client shows.

       

      Can anyone tell me, what to do with this value?

       

      Maybe I just didn't find the right documentation, but at the moment the vmware API is a huge "?" to me.

       

      Is there any easy example or tutorial about how to use the API to monitor hardware information of each virtual server?

       

      Thanks