可用磁碟空間資料庫磁碟機集合

Microsoft.Windows.Server.2016.AD.Availability.DiskSpace.DIT.PerformanceCollection (Rule)

保留資料庫檔案之磁碟上的可用磁碟空間量集合

Knowledge Base article:

摘要

此規則會收集包含 Active Directory 資料庫檔案之磁碟的磁碟可用空間。

此集合可用來判斷資料庫檔案成長狀況及是否需要增加磁碟空間。

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainControllerRole
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource Microsoft.Windows.Server.2016.AD.Availability.DiskSpace.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.2016.AD.Availability.DiskSpace.DIT.PerformanceCollection" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="Microsoft.Windows.Server.2016.AD.Availability.DiskSpace.DITBytes.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>Database 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>