System Center 2019+ Virtual Machine Manager 存储池容量

Microsoft.SystemCenter.VirtualMachineManager.StoragePoolCapacityMonitor (UnitMonitor)

监视存储池容量使用率

Knowledge Base article:

摘要

Storage Pool Capacity 监视器跟踪 VMM 中存储池的可用容量。当存储使用量接近可用存储池容量时,该监视器将进入警告或严重状态。

原因

存储池的存储使用量正在接近池的可用容量。默认情况下,当存储使用量超过容量的 80% 时,监视器将进入警告状态;当存储使用量超过容量的 90% 时,监视器将进入严重状态。可替代这些阈值中的每个阈值。

解决方法

要使监视器恢复正常状态,您可以:

重新定义存储池的容量

减小池内存储使用量

替代监视器的警告和严重阈值

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.StoragePool
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.StoragePoolCapacityMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
存储池容量使用率超过阈值

存储池总容量:{0}
存储池已使用容量:{1}
存储池使用率为 {2},它已超出警告阈值 {3}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.StoragePoolCapacityMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.StoragePoolCapacityMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.StoragePoolCapacityMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/TotalCapacity$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/UsedCapacity$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='StoragePoolUsage']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='WarningThreshold']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="StorageCapacityCritical" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="StorageCapacityWarning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="StorageCapacityHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<TotalCapacity>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/TotalCapacity$</TotalCapacity>
<UsedCapacity>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/UsedCapacity$</UsedCapacity>
<WarningThreshold>80</WarningThreshold>
<CriticalThreshold>90</CriticalThreshold>
</Configuration>
</UnitMonitor>