简体   繁体   中英

How can i gather the following metrics from VMware vCenter vSphere REST api?

Could I gather the following metrics from VMware vCenter vSphere REST api?

  • Datastore Read/Write IOPS
  • Network Bandwith
  • Cluster Memory Usage
  • Cluster CPU Usage

Or is this data only accessible through the Powershell CLI?

Thanks

Unfortunately, there's only a limited subset of metrics available via the REST API and almost all of them are only for the vCenter Appliance itself.

The stats are available from the vSphere Web Services API, particularly the PerformanceManager service.

You can also access that through numerous programing languages ( vSphere Management SDK , pyvmomi, rbvmomi, govmomi, etc.), as well as PowerShell/PowerCLI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM