Total CPU Utilization Percentage

Microsoft.SystemCenter.WindowsAzure.RoleInstance.Processor.PercentProcessorTime.Monitor (UnitMonitor)

Monitors the performance counter Processor\\% Processor Time.

Element properties:

TargetMicrosoft.SystemCenter.WindowsAzure.RoleInstance
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.WindowsAzure.PerformanceCounter.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Total CPU utilization percentage is too high
The threshold for the Processor\\% Processor Time\_Total performance counter has been exceeded for {0} samples with last value that exceeded the threshold being {1}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.WindowsAzure.RoleInstance.Processor.PercentProcessorTime.Monitor" Accessibility="Public" Enabled="false" Target="Microsoft.SystemCenter.WindowsAzure.RoleInstance" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.WindowsAzure.PerformanceCounter.MonitorType" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WindowsAzure.RoleInstance.Processor.PercentProcessorTime.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
<AlertParameter2>$Data/Context/SampleValue$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="Critical" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>120</TimeoutSeconds>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Threshold>90</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>