How to pull Vcenter overall stats using api

526 views Asked by At

i am trying to pull the below stats using the vmware vsphere api but cant seem to pull these in particular. I can pull stats for hosts, vm and storage pools but not the overall vcenter.

VCenter overall stats

1

There are 1 answers

1
Kyle Ruddy On

Those metrics are available in a separate API endpoint that is related to the vCenter appliance itself and can be found in the Health service: https://developer.vmware.com/docs/vsphere-automation/latest/appliance/health/