사용 가능한 디스크 공간 로그 드라이브 수집

Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.PerformanceCollection (Rule)

로그 파일이 보관된 드라이브의 사용 가능한 디스크 공간을 수집합니다.

Knowledge Base article:

요약

이 규칙은 로그 파일이 포함된 드라이브의 사용 가능한 디스크 공간을 수집합니다.

이 수집을 통해 로그 파일 확장과 디스크 공간을 늘려야 하는지 여부를 결정할 수 있습니다.

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainControllerRole
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.LogBytes.DataSource Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.PerformanceCollection" 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="ScriptDS" TypeID="Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.LogBytes.DataSource">
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ResultType>1</ResultType>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>AD Storage</ObjectName>
<CounterName>Log File Drive Free Space</CounterName>
<InstanceName>$data/Property[@Name='StatusInstance']$</InstanceName>
<Value>$data/Property[@Name='StatusValue']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>