AD Database Size Collection

Microsoft.Windows.Server.2012.R2.AD.Availability.Size.DIT.PerformanceCollection (Rule)

Collection for the size of the AD database (DIT) file

Knowledge Base article:

Summary

This rule collects size of the Active Directory Database file.

This collection can be used to determine database file growth and if disk space needs to be increased.

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.Size.DITBytes.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.Size.DIT.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.Size.DITBytes.DataSource">
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>AD Storage</ObjectName>
<CounterName>Database Size</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>