Cette règle recueille les données de performances du compteur de performance Processeur\% Temps processeur pour un contrôleur de domaine.
Le compteur de performance Processeur\Pourcentage de temps processeur expose le pourcentage de temps pendant lequel le processeur est occupé à exécuter un thread actif. Il est calculé en mesurant la durée d'activité du thread inactif dans un intervalle de temps et en soustrayant ce temps à la durée de l'intervalle. (Chaque processeur a un thread inactif qui consomme des cycles lorsqu'aucun autre thread n'est prêt à s'exécuter.) Ce compteur est l'indicateur principal de l'activité du processeur et affiche le pourcentage moyen de temps d'occupation observé sur l'intervalle échantillon. Il est calculé en surveillant la durée d'inactivité du service et en soustrayant cette valeur de 100 %.
Target | Microsoft.Windows.Server.2012.R2.AD.DomainControllerRole |
Category | PerformanceCollection |
Enabled | True |
Instance Name | Processor |
Counter Name | \% Processor Time |
Frequency | 300 |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerformanceDS | DataSource | System.Performance.OptimizedDataProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.Server.2012.R2.AD.DomainController.ProcessorTime.Collection" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>2</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>