MECM Free disk space on distribution point and state migration point Monitor

MECM.FreeDiskSpaceOnDrive.Monitor (UnitMonitor)

This monitor checks the free disk space on distribution point server and state migration point server. It raises alerts when the remaining free disk space is lower than the specified threshold.

Knowledge Base article:

Summary

The Distribution Manager copies the content of the package to the distribution point. It creates the distribution point share and package content folder on the NTFS drive with the largest amount of free space on the on the distribution point. It automatically chooses the next drive when the first one has insufficient space for the next new package or for an update of the package.

Causes

This alert is raised due to insufficient free disk space on the distribution point.

Resolutions

Free up disk space on the site server.

Element properties:

TargetMECM.ContentStorageDrive
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Instance NameLogicalDisk
Counter NameFree Megabytes
Frequency900
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ThresholdMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
MECM Free Disk Space On Drive

Instance {0}
Object {1}
Counter {2}
Has a value {3}
At time {4}
RunAsDefault

Source Code:

<UnitMonitor ID="MECM.FreeDiskSpaceOnDrive.Monitor" Accessibility="Public" Enabled="true" Target="MECM.ContentStorageDrive" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Perf!System.Performance.ThresholdMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="MECM.FreeDiskSpaceOnDrive.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data/Context/ObjectName$</AlertParameter2>
<AlertParameter3>$Data/Context/CounterName$</AlertParameter3>
<AlertParameter4>$Data/Context/Value$</AlertParameter4>
<AlertParameter5>$Data/Context/TimeSampled$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="UnderThreshold" HealthState="Error"/>
<OperationalState ID="OverThreshold" MonitorTypeStateID="OverThreshold" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Free Megabytes</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Threshold>500</Threshold>
</Configuration>
</UnitMonitor>