ICMP Ping Probe

Microsoft.SystemCenter.ICMPProbe (ProbeActionModuleType)

Element properties:

TypeProbeActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
WmiProbe ProbeAction Microsoft.Windows.WmiProbe Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ComputerSourcePingstring$Config/ComputerSourcePing$Computer Source Ping
NetworkTargetToPingstring$Config/NetworkTargetToPing$Network Target To Ping

Source Code:

<ProbeActionModuleType ID="Microsoft.SystemCenter.ICMPProbe" Accessibility="Public" Batching="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ComputerSourcePing" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This should always be the Windows Computer PrincipalName since this is going to be where we connect to WMI and ping from</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NetworkTargetToPing" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ComputerSourcePing" Selector="$Config/ComputerSourcePing$" ParameterType="string"/>
<OverrideableParameter ID="NetworkTargetToPing" Selector="$Config/NetworkTargetToPing$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="WmiProbe" TypeID="Windows!Microsoft.Windows.WmiProbe">
<NameSpace>\\$Config/ComputerSourcePing$\Root\CIMv2</NameSpace>
<Query>SELECT StatusCode, ResponseTime FROM Win32_PingStatus WHERE Address = '$Config/NetworkTargetToPing$'</Query>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="WmiProbe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>