介面的啟動及關閉過於頻繁

System.NetworkManagement.NetworkAdapter.IsFlapping (UnitMonitor)

監視介面連結是否根據接收到的 SNMP 設陷頻繁地啟動及關閉

Knowledge Base article:

摘要

此監視會指出裝置目前是否出現 Flapping 的現象;亦即從可用狀態快速切換成無法使用狀態。 此監視有兩種可能的狀態:

原因

此監視處於錯誤狀態時,表示介面出現 Flapping 現象,也就是從可用狀態快速切換成無法使用的狀態。

解決方式

請使用健全狀況總管,在監視的 [狀態變更事件] 索引標籤上查看狀態變更的詳細資料。 此資料顯示裝置回應查詢時所傳回的物件識別碼 (OID) 和值。 請針對裝置的特定 OID 參考裝置製造商的文件,以取得有關問題和疑難排解程序的詳細資訊。

Element properties:

TargetSystem.NetworkManagement.NetworkAdapter
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.NetworkManagement.RepeatedTrapTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
介面 Flapping 警示
介面 {0} 出現 Flapping 的現象。 請使用健全狀況總管進一步疑難排解此問題。
RunAsDefault

Source Code:

<UnitMonitor ID="System.NetworkManagement.NetworkAdapter.IsFlapping" Accessibility="Public" Enabled="false" Target="NetworkLibrary!System.NetworkManagement.NetworkAdapter" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="System.NetworkManagement.RepeatedTrapTimer2StateMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="System.NetworkManagement.Generic.NetworkAdapter.IsFlapping.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Flapping" MonitorTypeStateID="RepeatedTrapRaised" HealthState="Error"/>
<OperationalState ID="NotFlapping" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<OIDProps>
<OIDProp>.1.3.6.1.6.3.1.1.5.4</OIDProp>
<OIDProp>.1.3.6.1.6.3.1.1.5.3</OIDProp>
</OIDProps>
<TrapExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.2.1.2.2.1.1.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.NetworkAdapter"]/Index$"]/Value</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.NetworkAdapter"]/Index$</Value>
</ValueExpression>
</SimpleExpression>
</TrapExpression>
<ConsolidationSeconds>30</ConsolidationSeconds>
<MatchCount>2</MatchCount>
<TimerResetSeconds>3600</TimerResetSeconds>
</Configuration>
</UnitMonitor>