存储 LUN 容量监视器

Microsoft.SystemCenter.VirtualMachineManager.Storage.LUN.StorageLUNCapacityMonitor (UnitMonitor)

Knowledge Base article:

摘要

该监视器显示此 LUN 使用的容量是否已超过其阈值。

原因

该监视器显示此存储逻辑单元 (LUN) 正在接近其总容量。默认阈值消耗 80% 时导致警告状态,消耗 90% 时导致严重状态。

解决方法

基于底层阵列的容量,把额外的空间添加到 LUN 或使用它把资源转移到另一个 LUN。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.Storage.StorageLUNCapacityMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.Storage.LUN.StorageLUNCapacityMonitor" Accessibility="Public" Target="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLUNCapacityMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<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>1800</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<TotalCapacity>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit"]/TotalCapacity$</TotalCapacity>
<RemainingCapacity>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit"]/RemainingCapacity$</RemainingCapacity>
<WarningThreshold>80</WarningThreshold>
<CriticalThreshold>90</CriticalThreshold>
<ThinlyProvisioned>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit"]/ThinlyProvisioned$</ThinlyProvisioned>
</Configuration>
</UnitMonitor>