Regola raccolta prestazioni utilizzo CPU motore di database SQL 2008 (\%)
MSSQL 2008: utilizzo CPU motore di database (%)
Utilizzo della CPU di sistema da parte dell'istanza del processo sqlservr.exe.
La percentuale di utilizzo della CPU dipende dall'impostazione della maschera di affinità dei processori per l'istanza di SQL Server. Se la maschera di affinità è impostata automaticamente per tutti i processori, il valore accumulato verrà conteggiato considerando la quantità di tutti i processori.
Target | Microsoft.SQLServer.2008.DBEngine |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2008.DBEngine.CPUUsagePercent.DataSourceMapped | Microsoft.SQLServer.SQLProbeAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2008.DBEngine.CPUUsagePercent.Collection" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.DBEngine.CPUUsagePercent.DataSourceMapped" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<ServiceName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</ServiceName>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>200</TimeoutSeconds>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>