存放裝置 LUN 容量監視

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

Knowledge Base article:

摘要

這個監視表示這個 LUN 的容量使用量是否超過其閾值。

原因

這個監視顯示這個存放裝置的邏輯單元 (LUN) 是否已接近裝置的總容量。預設閾值為耗用 80% 時會進入警告狀態,耗用 90% 時會進入重大狀態。

解決方式

視基礎陣列的容量而定,為 LUN 加入額外空間或移動使用該 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.2016.StorageLUNCapacityMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.LUN.StorageLUNCapacityMonitor" Accessibility="Public" Target="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLogicalUnit" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.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>