Ping 状态

Microsoft.SystemCenter.Ping (UnitMonitor)

此监视器使用 ICMP Ping 来 ping 无代理计算机。如果计算机是代理管理的计算机,则在本地 ping 其自身。

Knowledge Base article:

摘要

此监视器 ping 无代理管理的远程计算机。如果计算机是代理管理的,则代理 ping 它本身。

此监视器使用 WMI 中的 Win32_PingStatus 来远程和本地 ping 机器。

此监视器只在 Windows XP 及更高版本或 Windows Server 2003 及更高版本上工作。

原因

1. 如果计算机是无代理管理的,则此监视器表示不能再通过 ICMP Ping 联系该计算机。这可能是由以下原因引起的:

2. 如果计算机是代理管理的,则这可能表示本地网络适配器存在问题。

3. WMI 也可能存在问题。

解决方法

检查远程机器是否已插入网络以及远程机器是否有 IP 地址。本地登录到该机器,然后在命令行处键入以下命令:

ipconfig

如果计算机没有 IP 地址或者 IP 地址为 0.0.0.0,请执行以下步骤修复本地机器上的网络连接:

如果是分类视图,“网络连接”可以在“网络和 Internet 连接”类别中找到。

Element properties:

TargetMicrosoft.Windows.Computer
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.PingMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
Ping 计算机失败
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Ping" Accessibility="Internal" Enabled="false" Target="Windows!Microsoft.Windows.Computer" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCLibrary!Microsoft.SystemCenter.PingMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Ping.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Reachable" MonitorTypeStateID="Reachable" HealthState="Success"/>
<OperationalState ID="SlowResponseTime" MonitorTypeStateID="SlowResponseTime" HealthState="Warning"/>
<OperationalState ID="Unreachable" MonitorTypeStateID="Unreachable" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Computer>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Computer>
<ResponseTimeThreshold>5000</ResponseTimeThreshold>
<Frequency>300</Frequency>
</Configuration>
</UnitMonitor>