此规则用于收集域控制器的 Processor\% Processor Time 性能计数器的性能数据。
Processor\% Processor Time 性能计数器显示处理器执行非闲置线程的已用时间百分比。它是通过测量采样间隔期间活动的闲置线程的持续时间减去内部持续时间计算而来的。(没有其他线程准备运行时,每个处理器都有占用时钟周期的空闲线程)。此计数器是处理器活动的主要指示器,显示在采样间隔期间观察到的忙时间的平均百分比。通过监视服务处于非活动状态的时间,然后从 100% 中减去该值,即可计算出它。
Target | Microsoft.Windows.Server.2016.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.2016.AD.DomainController.ProcessorTime.Collection" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.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>