VHD Oversubscription Monitor

Microsoft.SystemCenter.OperationsManager.Storage.VHD.Oversubscription.Monitor (UnitMonitor)

Monitor for VHD oversubscription

Knowledge Base article:

Summary

An VHD oversubscription threshold for this file share has been exceeded. The file share is currently oversubscribed compared to the available physical capacity.

Based on default values, a warning alert will be raised when a file share exceeds 200% oversubscription and a critical alert will be raised when a file share exceeds 400% oversubscription.

Causes

A file share can become oversubscribed when using dynamic VHDs and their total subscribed capacity exceeds the available physical capacity threshold.

Resolutions

To resolve this issue consider storage live migrating VHDs to an alternate file share or add additional capacity.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.OperationsManager.Storage.VHD.Oversubscription.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
FileShare dynamic VHD oversubscription threshold exceeded
The File Share dynamic VHD oversubscription threshold has been exceeded. It's current oversubscription is {0}\%.
RunAsMicrosoft.SystemCenter.VirtualMachineManager.2012.VMMServerConnectionRunAsProfile

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.OperationsManager.Storage.VHD.Oversubscription.Monitor" Accessibility="Public" Target="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS" RunAs="PROV2Library!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerConnectionRunAsProfile" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.OperationsManager.Storage.VHD.Oversubscription.MonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.OperationsManager.Storage.VHD.Oversubscription.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='SubscriptionPercentage']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SubscriptionCritical" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="SubscriptionWarning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="SpacesHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<FileShareId>$Target/Property[Type="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS"]/ID$</FileShareId>
<VHDsOversubscriptionCriticalThreshold>400</VHDsOversubscriptionCriticalThreshold>
<VHDsOversubscriptionWarningThreshold>200</VHDsOversubscriptionWarningThreshold>
<VMMServer>$Target/Property[Type="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS"]/VMMServer$</VMMServer>
</Configuration>
</UnitMonitor>