VMware VirtualCenter: VM CPU usage (MHz) Health Monitor

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

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

Knowledge Base article:

Summary

VM CPU usage (MHz) is over threshold.

The amount of CPU usage by the Virtual Machine is above the maximum threshold configured in Xian Network Manager 2012.

Causes

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

Resolutions

Monitor power operations being performed. Verify that the configuration applied to the VM corresponds to requirements. Reconfigure if necessary in correspondence with the environment.

Additional

Monitors the amount of CPU usage by the Virtual Machine in MHz.

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 (MHz) Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.VMwareVirtualCenters.VmCpuUsagemhz.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="VmCpuUsagemhz_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>