ICMP Ping

System.NetworkManagement.ICMPMonitor.Node.IsICMPResponsive (UnitMonitor)

此监视器使用 ICMP 确定被监视的网络设备是否可用

Knowledge Base article:

摘要

此监视器指示特定网络设备的 IP 地址响应。 此监视器有两种可能的状态:

配置

可以为此监视器配置以下选项:

选项

定义

默认

间隔

检查设备状态时间间隔(以秒为单位)

120 秒

重试次数

在丢弃时间间隔样本之前,每个监视时间间隔中的尝试次数

3

样本数

监视器更改状态之前的连续样本数

3

超时

样本超时并重新尝试对值进行取样之前等待设备响应的时间量(以毫秒为单位)

1,000 毫秒

数据包大小

以字节为单位的 ICMP 探测数据包的大小

32 字节

原因

此监视器的错误状态表示目标 IP 地址未响应 ICMP ping 消息。

解决方法

验证设备是否联机且已配置为响应 ICMP ping。 验证网络监视池内所有监视服务器中的 ICMP 是否能够将 ping 发送至设备。 验证网络监视池内所有监视服务器中的防火墙是否已配置为允许 ICMP ping 入站和出站。

Element properties:

TargetSystem.NetworkManagement.Node
Parent MonitorSystem.NetworkManagement.Node.IsResponsive
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeSystem.NetworkManagement.ICMPMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="System.NetworkManagement.ICMPMonitor.Node.IsICMPResponsive" Accessibility="Public" Enabled="true" Target="NetworkLibrary!System.NetworkManagement.Node" ParentMonitorID="System.NetworkManagement.Node.IsResponsive" Remotable="true" Priority="Normal" TypeID="System.NetworkManagement.ICMPMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="Responding" MonitorTypeStateID="ICMPResponding" HealthState="Success"/>
<OperationalState ID="NotResponding" MonitorTypeStateID="ICMPNotResponding" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IP>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IP>
<Interval>120</Interval>
<NoOfRetries>3</NoOfRetries>
<NumberOfSamples>3</NumberOfSamples>
<Timeout>1000</Timeout>
<PacketSizeBytes>32</PacketSizeBytes>
</Configuration>
</UnitMonitor>