Drive Hosting Log Files Monitor

Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.LogDriveSpace.Monitor (UnitMonitor)

This monitor checks the amount of disk space that is available on a drive that hosts the log files for an AD LDS instance.

Element properties:

TargetMicrosoft.Windows.Server.LDS.Service
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.LDS.Service.DatabaseAndLogSize.DriveSpace.MonitorType
RemotableFalse
AccessibilityPublic
Alert Message
Drive Hosting AD LDS Log Files Has Low Available Disk Space
A drive hosting AD LDS log files has exceeded the configured alert threshold for being low on available disk space.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.LogDriveSpace.Monitor" Accessibility="Public" Enabled="true" Target="LDS!Microsoft.Windows.Server.LDS.Service" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.DriveSpace.MonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.LogDriveSpace.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="LogDriveSpaceOK" MonitorTypeStateID="DriveSpaceOK" HealthState="Success"/>
<OperationalState ID="LogDriveSpaceWarning" MonitorTypeStateID="DriveSpaceWarning" HealthState="Warning"/>
<OperationalState ID="LogDriveSpaceError" MonitorTypeStateID="DriveSpaceError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>120</TimeoutSeconds>
<DatabaseFile>$Target/Property[Type="LDS!Microsoft.Windows.Server.LDS.Service"]/DatabaseFile$</DatabaseFile>
<DatabaseLogPath>$Target/Property[Type="LDS!Microsoft.Windows.Server.LDS.Service"]/DatabaseLogPath$</DatabaseLogPath>
<LogSuccessEvent>false</LogSuccessEvent>
<WarningThreshold>8000000</WarningThreshold>
<ErrorThreshold>2000000</ErrorThreshold>
<CounterName>Log Drive Free Space</CounterName>
</Configuration>
</UnitMonitor>