Logical Disk Free Space (\%) Low

Microsoft.Windows.Server.10.0.LogicalDisk.PercentageFreeSpace (UnitMonitor)

Monitor the percentage of free space remaining on a logical disk.

Knowledge Base article:

Summary

The Logical Disk % Free Space monitor enables Operators to set varying threshold values for system and non-system logical disk volumes. In addition separate threshold values can be set for Warning and Error states.

Configuration

The default threshold values for the Logical Disk % Free Space monitor are:

System Drive Free Space Thresholds (Defaults)

Parameter

Default Value

System Drive Error Percent Threshold

5

System Drive Warning Percent Threshold

10

Non-System Drive Free Space Thresholds (Defaults)

Parameter

Default Value

Non-System Drive Error Percent Threshold

5

Non-System Drive Warning Percent Threshold

10

Please note that Overrides can be used to change any of the threshold values that are defined above. In addition these thresholds can be applied to all logical disk volume instances in the management group or if needed separate threshold values can be defined for specific logical disk volume instances.

Causes

When existing files grow in size and the new files are added, the free space is taken up on a logical disk. When the amount of free space on the logical disk falls below the threshold, the state for the logical disk will change.

Resolutions

To increase the amount of available disk space, do one or more of the following:

To view recent disk space history you can use the following view:

Start Disk Capacity View

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalDisk
Parent MonitorMicrosoft.Windows.Server.10.0.LogicalDisk.FreeSpaceMonitorRollup
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.10.0.DiskState.Monitortype
RemotableTrue
AccessibilityPublic
Alert Message
Percentage Logical Disk Free Space is low
The disk {0} on computer {1} is running out of disk space. The value that exceeded the threshold is {2}\% free space.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.LogicalDisk.PercentageFreeSpace" Accessibility="Public" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk" ParentMonitorID="Microsoft.Windows.Server.10.0.LogicalDisk.FreeSpaceMonitorRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.10.0.DiskState.Monitortype" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.LogicalDisk.PercentageFreeSpace.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
<AlertParameter3>$Data/Context/SampleValue$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderWarningThresholds" MonitorTypeStateID="UnderWarningThresholds" HealthState="Success"/>
<OperationalState ID="OverWarningUnderErrorThresholds" MonitorTypeStateID="OverWarningUnderErrorThresholds" HealthState="Warning"/>
<OperationalState ID="OverErrorThresholds" MonitorTypeStateID="OverErrorThresholds" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<DiskLabel>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</DiskLabel>
<CounterName>PercentFree</CounterName>
<IntervalSeconds>900</IntervalSeconds>
<NumSamples>4</NumSamples>
<SystemDriveWarningThreshold>10</SystemDriveWarningThreshold>
<SystemDriveErrorThreshold>5</SystemDriveErrorThreshold>
<NonSystemDriveWarningThreshold>10</NonSystemDriveWarningThreshold>
<NonSystemDriveErrorThreshold>5</NonSystemDriveErrorThreshold>
</Configuration>
</UnitMonitor>