SSAS: CPU utilization (\%)

Microsoft.SQLServer.AnalysisServices.Windows.Monitoring.PerformanceRule.Instance.CpuUsage (Rule)

The rule collects rate of CPU usage by SSAS Instance.

Knowledge Base article:

Summary

The rule collects rate of CPU usage by SSAS Instance.

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow

Yes

Interval Seconds

The recurring interval of time in seconds in which to run the workflow.

900

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

300

Element properties:

TargetMicrosoft.SQLServer.AnalysisServices.Windows.Instance
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.AnalysisServices.Windows.Monitoring.DataSource.ScheduledInstancePerformance Microsoft.SQLServer.Core.RunAs.Monitoring
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.AnalysisServices.Windows.Monitoring.PerformanceRule.Instance.CpuUsage" Target="SQLAS!Microsoft.SQLServer.AnalysisServices.Windows.Instance" ConfirmDelivery="false" Enabled="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.AnalysisServices.Windows.Monitoring.DataSource.ScheduledInstancePerformance" RunAs="MSCL!Microsoft.SQLServer.Core.RunAs.Monitoring">
<ServiceName>$Target/Property[Type='ASCore!Microsoft.SQLServer.AnalysisServices.Core.Instance']/ServiceName$</ServiceName>
<PerformanceCounterClassName>SystemDiagnosticsProcess</PerformanceCounterClassName>
<PerformanceCounterPropertyName>CpuUsage</PerformanceCounterPropertyName>
<DividerIfGreater>0</DividerIfGreater>
<Divider>1</Divider>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SSAS Instance</ObjectName>
<CounterName>CPU Used By SSAS (%)</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='CpuUsage']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>