System Center 2012 Virtual Machine Manager Cloud StorageUsageGB

Microsoft.SystemCenter.VirtualMachineManager.2012.CloudStorageUsageGBMonitor (UnitMonitor)

Monitors private cloud storage usage (in gigabytes)

Knowledge Base article:

Summary

The Cloud Storage Usage monitor tracks the storage usage (in gigabytes) of virtual machines and service instances running in the private cloud. When storage usage approaches the defined private cloud capacity, the monitor will go into a warning or critical state.

Causes

Storage usage within the private cloud is approaching the defined cloud capacity. By default, when storage usage exceeds 80% of private cloud capacity, the monitor will go into a warning state and when storage usage exceeds 90% of private cloud capacity, the monitor will go into a critical state. Each of these thresholds is overrideable.

Resolutions

To return the monitor to a healthy state, you may:

Redefine the private cloud capacity limits

Reduce storage usage within the private cloud

Override the warning and critical thresholds of the monitor

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.PrivateCloud
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.CloudUsageUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Cloud StorageUsageGB Has Reached Or Exceeded Threshold
The private cloud storage usage (in gigabytes) is {0}, and it has reached or exceeded the specified threshold {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudStorageUsageGBMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudUsageUnitMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudStorageUsageGBMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='StorageUsageGBPercentage']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='CriticalThreshold']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="CloudStorageUsageGBHealthy" MonitorTypeStateID="CloudUsageHealthy" HealthState="Success"/>
<OperationalState ID="CloudStorageUsageGBCritical" MonitorTypeStateID="CloudUsageCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CriticalThreshold>90</CriticalThreshold>
<PropertyValue>Property[@Name='StorageUsageGBPercentage']</PropertyValue>
<VMMId>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$</VMMId>
<VMMServer>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMServer$</VMMServer>
</Configuration>
</UnitMonitor>