AD Log File Disk Free Space Monitor

Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.Monitor (UnitMonitor)

Monitors the free space of the hard disk that contains the AD log file.

Knowledge Base article:

Summary

AD Log File Free Space Monitor. Monitors that the free disk space on the drive that contains the AD log file is below the minimum acceptable level.

If the disk drive is full, Active Directory Domain Services will not function correctly and will cause failures for the services that use it.

Causes

Possible causes include the following:

Resolutions

Relocate unnecessary files to an alternate volume or extend/replace the volume involved.

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.R2.AD.DatabaseAndLog.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.Monitortype
RemotableFalse
AccessibilityPublic
Alert Message
The AD Log File Disk Free Space health monitor has exceeded one or more thresholds.
The AD Log File Disk Free Space health monitor has exceeded one or more thresholds.
Counter: {0}
Free Space (percent): {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.Monitor" Accessibility="Public" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.R2.AD.DatabaseAndLog.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.Monitortype" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.R2.AD.Availability.DiskSpace.Log.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/CounterName$</AlertParameter1>
<AlertParameter2>$Data[Default='']/Context/Value$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SizeOK" MonitorTypeStateID="SizeOK" HealthState="Success"/>
<OperationalState ID="SizeWarn" MonitorTypeStateID="SizeWarn" HealthState="Warning"/>
<OperationalState ID="SizeError" MonitorTypeStateID="SizeError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ResultType>2</ResultType>
<ThresholdWarn>20</ThresholdWarn>
<ThresholdError>10</ThresholdError>
</Configuration>
</UnitMonitor>