Logical Disk Free Space (MB) Low

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

Monitor the number of free MBytes remaining on a logical disk.

Knowledge Base article:

Summary

The Logical Disk MB 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 Logical Disk Free Space monitoring routine is a high configurable solution that 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.

Since logical disk volumes may vary in size from a few gigabytes to many terabytes or more the Logical Disk Free Space monitoring routine requires that an Operator indicate the Megabyte based threshold values that must be passed before the Warning and Error thresholds reached.

The default threshold values for the Logical Disk Free Space monitoring routine include:

System Drive Free Space Thresholds (Defaults)

Parameter

Default Value

System Drive Error Mbytes Threshold

300

System Drive Warning Mbytes Threshold

500

Non-System Drive Free Space Thresholds (Defaults)

Parameter

Default Value

Non-System Drive Error Mbytes Threshold

1000

Non-System Drive Warning Mbytes Threshold

2000

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
Logical Disk Free Space in MBytes is low
The disk {0} on computer {1} is running out of disk space. The value that exceeded the threshold is {2} free Mbytes.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.LogicalDisk.MBFreeSpace" 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.MBFreeSpace.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>MbFree</CounterName>
<IntervalSeconds>900</IntervalSeconds>
<NumSamples>4</NumSamples>
<SystemDriveWarningThreshold>500</SystemDriveWarningThreshold>
<SystemDriveErrorThreshold>300</SystemDriveErrorThreshold>
<NonSystemDriveWarningThreshold>2000</NonSystemDriveWarningThreshold>
<NonSystemDriveErrorThreshold>1000</NonSystemDriveErrorThreshold>
</Configuration>
</UnitMonitor>