SSAS 2008: uso de la CPU (\%)

Microsoft.SQLServer.2008.AnalysisServices.PerformanceRule.Instance.CpuUsage (Rule)

La regla recopila el uso de la CPU por instancia de SSAS.

Knowledge Base article:

Resumen

La regla recopila el uso de la CPU por instancia de SSAS.

Parámetros invalidables

Nombre

Descripción

Valor predeterminado

Habilitado

Habilita o deshabilita el flujo de trabajo

True

Intervalo (segundos)

Intervalo de tiempo periódico en segundos en que se ejecuta el flujo de trabajo.

300

Hora de sincronización

Hora de sincronización especificada en un formato de 24 horas. Se puede omitir.

 

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.AnalysisServices.DataSource.ScheduledInstancePerfomanceDataProvider Microsoft.SQLServer.2008.AnalysisServices.RunAsProfile.ASMonitoring
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.2008.AnalysisServices.PerformanceRule.Instance.CpuUsage" Enabled="true" Target="SQLAS!Microsoft.SQLServer.2008.AnalysisServices.Instance" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.AnalysisServices.DataSource.ScheduledInstancePerfomanceDataProvider" RunAs="SQLAS!Microsoft.SQLServer.2008.AnalysisServices.RunAsProfile.ASMonitoring">
<ServiceName>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2008.AnalysisServices.Instance']/ServiceName$</ServiceName>
<PerformanceCounterClassName>SystemDiagnosticsProcess</PerformanceCounterClassName>
<PerformanceCounterPropertyName>CpuUsage</PerformanceCounterPropertyName>
<DividerIfGreater>0</DividerIfGreater>
<Divider>1</Divider>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime/>
</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>