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>