Ping Status

Microsoft.SystemCenter.Ping (UnitMonitor)

This monitor pings a agentless computer using an ICMP ping. If the computer is agent-managed, it pings itself locally.

Knowledge Base article:

Summary

This monitor pings the target computer on a regular interval and changes state based on whether a response is received or not. By default this monitor is only enabled for agentless managed computers. If the monitor is enabled for an agent-managed computer then the agent will ping itself. This monitor relies on the Win32_PingStatus method WMI to perform its pings and as such will only works on Windows XP and higher or Windows Server 2003 and higher.

Causes

1. The default firewall settings for computers running Windows Vista or Windows Server 2008 prevent the computers from providing a ping response. This cause applies to agent-managed and agentless managed systems alike.

2. If the computer is being agentlessly managed, the computer may no longer be responding via ICMP Ping. This can happen for the following reasons:

3. If the computer is agent-managed, this could indicate a problem with the local network adapter.

4. There could also be a problem with WMI.

Resolutions

For computers running Windows Vista or Windows Server 2008, configure the firewall to allow incoming ICMP traffic. For instructions, see "Create an Inbound ICMP Rule on Windows Vista or Windows Server 2008" ( http://go.microsoft.com/fwlink/?LinkId=161045).

Check if the remote machine is plugged into the network and that it has an IP address. Locally log into the machine, and type the following at the command line:

ipconfig

If the computer doesn't have an IP address or the IP address is 0.0.0.0, repair the network connection on the local machine by following the steps below:

If the category view, Network Connections can be found in the Network and Internet Connections category.

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
AccessibilityPublic
Alert Message
Failed to Ping Computer
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Ping" Accessibility="Public" 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>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</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>