Collection for the amount of free disk space on the drive that holds the log file
This rule collects disk free space for the drive containing the log file.
This collection can be used to determine log file growth and if disk space needs to be increased.
Target | Microsoft.Windows.Server.10.0.AD.DomainControllerRole |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptDS | DataSource | Microsoft.Windows.Server.10.0.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 |
<Rule ID="Microsoft.Windows.Server.10.0.AD.Availability.DiskSpace.Log.PerformanceCollection" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.10.0.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="Microsoft.Windows.Server.10.0.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>