top of page
Brock Peterson

Percentage of VMs facing CPU Co-Stop, CPU Ready, and Memory Contention in your vSphere Clusters

When looking at your vSphere Clusters, you will often times want to know how many VMs are facing resource issues. You can do this various ways with Dashboards and Views, but another method is using these Cluster metrics.


I couldn't find these defined anywhere, but hovering over them gives you a hint:



The metrics represent the percentage of VMs facing CPU Co-Stop, CPU Ready, and Memory Contention percentages over a certain threshold, but what is that threshold?


By default the thresholds are as follows:

  • Percentage of VMs facing CPU Co-Stop %: threshold is .5

  • Percentage of VMs facing CPU Ready %: threshold is 1

  • Percentage of VMs facing Memory Contention %: threshold is .25


If you'd like to adjust them, you must define them in this configuration file:

/usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/vmware.properties

If not present, the defaults above will be used. If you'd like to define your own thresholds, define them like this:

cpuReadyThresholdInPercentage=5
cpuCoStopThresholdInPercentage=1
memoryContentionThresholdInPercentage=1

My vmware.properties file looks like this:

In order to read in these new values, cycle the Collector service:

service vmware-vcops restart collector


Comments


bottom of page