TCPv4 每秒重新傳輸的區段數

Microsoft.Windows.Server.10.0.TCPv4.SegmentsRetransmittedPerSec (UnitMonitor)

監視 TCPv4\Segments Retransmitted/sec 效能計數器。

Knowledge Base article:

摘要

此監視器會追蹤每秒透過 TCPv4 重新傳輸的區段數。當重新傳輸的區段數超過 TCPv4\Segments Retransmitted/sec 效能計數器的閾值時,監視器會切換為警告狀態。

原因

重新傳輸會以資料中記錄為曾經傳送的位元數進行測量。當重新傳輸的區段數不多時,網路效能並不會受到影響。不過,過多重新傳輸則代表由連線失敗、連線重設或硬體問題導致的顯著頻寬縮減。

解決方式

調查導致連線失敗的網路因素,並解決發現的問題。硬體問體也可能導致高重新傳輸率。因此,我們有必要使用處理器計數器等系統計數器深入調查。使用基準值來決定這些計數器何時會超出範圍並可能表示發生問題。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Instance NameTCPv4
Counter NameSegments Retransmitted/sec
Frequency300
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
TCPv4 每秒重新傳輸的區段數過多。
已超過 TCPv4\Segments Retransmitted/sec 效能計數器的閾值。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.TCPv4.SegmentsRetransmittedPerSec" Accessibility="Public" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.TCPv4.SegmentsRetransmittedPerSec.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="ConditionTrue" HealthState="Warning"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Segments Retransmitted/sec</CounterName>
<ObjectName>TCPv4</ObjectName>
<InstanceName/>
<Frequency>300</Frequency>
<Threshold>10</Threshold>
<Direction>greaterequal</Direction>
<NumSamples>12</NumSamples>
</Configuration>
</UnitMonitor>