AD DC 성능 수집 - 메트릭 프로세스 총 프로세서 시간(\%)

Microsoft.Windows.Server.2012.R2.AD.DomainController.ProcessorTime.Collection (Rule)

Knowledge Base article:

요약

이 규칙은 도메인 컨트롤러에 대한 Processor\% Processor Time 성능 카운터의 성능 데이터를 수집합니다.

Processor\% Processor Time 성능 카운터는 프로세서가 비유휴 스레드를 실행하는 데 걸린 시간의 비율을 제공합니다. 이 값은 샘플 간격에 유휴 스레드가 활성 상태인 시간을 측정하여 간격 시간에서 해당 시간을 빼는 방법으로 계산됩니다. 각 프로세서에는 실행할 준비가 된 다른 스레드가 없을 때 사이클을 소비하는 유휴 스레드가 있습니다. 이 카운터는 프로세서 작업의 주요 표시기로 샘플 간격 동안 관찰된 평균 사용 시간 비율을 표시합니다. 이 값은 서비스가 비활성 상태인 시간을 모니터링하여 100%에서 그 값을 빼는 방법으로 계산합니다.

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainControllerRole
CategoryPerformanceCollection
EnabledTrue
Instance NameProcessor
Counter Name\% Processor Time
Frequency300
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<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>