ICMP (Ping) 監視

System.NetworkManagement.ICMPMonitor.ICMP_IP.IPStatus (UnitMonitor)

監視網路裝置對 Ping 的回應

Knowledge Base article:

摘要

此監視會指出 IP 目標對 ICMP Ping 訊息的回應能力。 此監視有兩種可能的狀態:

設定

您可以在此監視上設定下列選項:

選項

定義

預設

間隔

裝置狀態檢查的間隔時間,以秒為單位

120 秒

重試次數

在捨棄監視間隔的樣本之前,每個間隔的嘗試次數

3

樣本數

監視變更狀態之前的連續樣本數

3

逾時

在樣本逾時並重新嘗試取樣值之前,等待裝置回應的時間,以毫秒為單位

1,000 毫秒

原因

此監視處於警告狀態時,表示目標 IP 沒有回應 ICMP Ping 訊息。

解決方式

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

Element properties:

TargetSystem.NetworkManagement.ICMP_IP
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.NetworkManagement.ICMPMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
IP 端點未回應 ICMP Ping
{0} 未回應 ICMP Ping。 端點已離線、無法從管理伺服器連線,或是 ICMP 已停用。
RunAsDefault

Source Code:

<UnitMonitor ID="System.NetworkManagement.ICMPMonitor.ICMP_IP.IPStatus" Accessibility="Public" Enabled="false" Target="NetworkLibrary!System.NetworkManagement.ICMP_IP" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="System.NetworkManagement.ICMPMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="System.NetworkManagement.ICMPMonitor.ICMP_IP.IPStatus.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.IP"]/Address$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Responding" MonitorTypeStateID="ICMPResponding" HealthState="Success"/>
<OperationalState ID="NotResponding" MonitorTypeStateID="ICMPNotResponding" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IP>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.IP"]/Address$</IP>
<Interval>120</Interval>
<NoOfRetries>3</NoOfRetries>
<NumberOfSamples>3</NumberOfSamples>
<Timeout>1000</Timeout>
<PacketSizeBytes>32</PacketSizeBytes>
</Configuration>
</UnitMonitor>