存储文件共享容量监视器

Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare.ShareVolumeCapacityMonitor (UnitMonitor)

Knowledge Base article:

摘要

该监视器显示此文件共享的底层卷是否已超过其阈值。

原因

该监视器显示 VMM 的 FileShare 对象正在接近其容量。这通常表明文件共享后的卷已填满。默认阈值消耗 80% 时导致警告级警告,消耗 90% 时导致严重警告。

解决方法

把额外的空间添加到文件共享或使用它把资源移动到另一个共享。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Storage.FileShare
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.Storage.StorageLUNCapacityMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
文件共享的存储接近容量

{1} 处的文件共享 {0} 已达到超过其存储容量的临界阈值。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare.ShareVolumeCapacityMonitor" Accessibility="Public" Target="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.Storage.StorageLUNCapacityMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare.ShareVolumeCapacityMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare"]/SharePath$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ShareVolumeCapacityCritical" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="ShareVolumeCapacityWarning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="ShareVolumeCapacityHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<TotalCapacity>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare"]/Capacity$</TotalCapacity>
<RemainingCapacity>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileShare"]/FreeSpace$</RemainingCapacity>
<WarningThreshold>80</WarningThreshold>
<CriticalThreshold>90</CriticalThreshold>
<ThinlyProvisioned>True</ThinlyProvisioned>
</Configuration>
</UnitMonitor>