Skip to content

Instantly share code, notes, and snippets.

@fortran01
Created September 25, 2023 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fortran01/9c54a0a6beaa155309e2fdc8723793dc to your computer and use it in GitHub Desktop.
Save fortran01/9c54a0a6beaa155309e2fdc8723793dc to your computer and use it in GitHub Desktop.
Yes, you can get historical CPU and memory utilization metrics for an ESXi host using vSphere. You can use the vSphere Client to visualize and set alarms on key metrics and logs from your environment[2]. Here's how to access the historical CPU and memory utilization metrics for an ESXi host:
1. Use the vSphere client to connect to a vCenter Server instance.
2. Navigate to either the Hosts And Clusters or the VMs And Templates inventory view.
3. In the inventory tree, click on the desired ESXi host.
4. Click the Performance tab, and switch to the Advanced view.
5. Click the Chart Options link.
6. In the Customize Performance Chart dialog box, select the CPU or Memory resource type and the desired time range.
7. Select the desired counters, such as CPU Usage (Average) for CPU utilization or Memory Usage (Average) for memory utilization[3].
8. Click OK to apply the chart settings and return to the Performance tab.
The historical CPU and memory utilization metrics will be displayed in the Performance tab for the selected ESXi host[3]. You can also monitor memory details like Memory Utilization and Memory Reclamation along with new statistics on the ESXi host level[4].
Citations:
[1] https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.doc/GUID-2E734640-1F79-49A0-8CE4-A5B1EA165C72.html
[2] https://www.datadoghq.com/blog/vsphere-monitoring-tools/
[3] https://www.techtarget.com/searchitchannel/feature/Monitoring-vSphere-CPU-and-memory-usage
[4] https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-CE019F04-DEA1-473B-ADBC-64607899BD8F.html
[5] https://geek-university.com/monitor-cpu-utilization/
[6] https://www.nakivo.com/blog/how-to-do-vsphere-performance-monitoring-optimization/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment