Hi !
I am actually trying to develop a monitoring application for the vCenters of my company. I am using Symfony/PHP, but is it possible with the vSphere automation SDK for REST to retrieve some informations like vm's CPU usage, vm's memory usage or host's memory usage ?
Thank you for your help.
Regards,
Thomas
Thomas,
Not every value you need is available through the REST API. The REST API is mainly focused on deployment and is still a bit limited when it comes to monitoring so you would still need to use the good old SOAP API. Or you can use PowerCLI to get those numbers in a slighly easier fashion. To get an idea of how to do this you could start here:
https://rudimartinsen.com/vsphere-performance/
Lars
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hi,
Why develop it with HiSymfony / PHP that you can do it in PowerCLI?
it's just an advice ...
Alessandro Romeo
Thomas,
Not every value you need is available through the REST API. The REST API is mainly focused on deployment and is still a bit limited when it comes to monitoring so you would still need to use the good old SOAP API. Or you can use PowerCLI to get those numbers in a slighly easier fashion. To get an idea of how to do this you could start here:
https://rudimartinsen.com/vsphere-performance/
Lars
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.