VMware VirtualCenter: VM CPU usage percentage Health Monitor

Jalasoft.Xian.SmartManagementPacks.VMwareVirtualCenters.VmCpuUsage.1.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the VM CPU usage percentage has changed its state.

Knowledge Base article:

Summary

ESX CPU usage percentage is over threshold.

The percentage of CPU usage in Virtual Machines is above the maximum threshold configured in Xian Network Manager 2012.

Causes

The percentage of usage of CPU resources by the Virtual Machine is growing due to demand.

Resolutions

Verify that reservations, shares, and limits correspond to requirements and are not unnecessarily restricting the management of resources. Tune the environment if necessary.

Additional

Monitors the amount of CPU usage by the Virtual Machines.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.VMWare.JsXVMwareVirtualCenterVirtualMachineElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
VM CPU usage percentage Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.VMwareVirtualCenters.VmCpuUsage.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_VMWare!Jalasoft.Xian.Common.Elements.ThirdParty.VMWare.JsXVMwareVirtualCenterVirtualMachineElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="VmCpuUsage_AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
</AggregateMonitor>