ICMP Ping Monitor Type

System.NetworkManagement.ICMPMonitorType (UnitMonitorType)

ICMP ping monitor type

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Scheduler Default
Ping ProbeAction System.ICMPProbe Default
NotResponding ConditionDetection System.NetworkManagement.ExpressionFilter Default
Responding ConditionDetection System.NetworkManagement.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$IntervalThe number of seconds between monitor execution
NoOfRetriesint$Config/NoOfRetries$Number of RetriesThe number of times the performance data request will retry if it times out
NumberOfSamplesint$Config/NumberOfSamples$Number of SamplesThe number of consecutive samples before the monitor will change health state
Timeoutint$Config/Timeout$TimeoutThe amount of time (in milliseconds) to wait for the target to reply
PacketSizeBytesint$Config/PacketSizeBytes$Packet Size (Bytes)The number of bytes to send in each ping request

Source Code:

<UnitMonitorType ID="System.NetworkManagement.ICMPMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="ICMPResponding" NoDetection="false"/>
<MonitorTypeState ID="ICMPNotResponding" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="IP" type="xsd:string"/>
<xsd:element minOccurs="1" name="Interval" type="xsd:integer"/>
<xsd:element minOccurs="0" maxOccurs="1" default="3" name="NoOfRetries" type="xsd:unsignedInt"/>
<xsd:element name="NumberOfSamples" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1"/>
<xsd:element minOccurs="0" maxOccurs="1" default="1500" name="Timeout" type="xsd:unsignedInt"/>
<xsd:element minOccurs="0" maxOccurs="1" default="700" name="PacketSizeBytes" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="NoOfRetries" Selector="$Config/NoOfRetries$" ParameterType="int"/>
<OverrideableParameter ID="NumberOfSamples" Selector="$Config/NumberOfSamples$" ParameterType="int"/>
<OverrideableParameter ID="Timeout" Selector="$Config/Timeout$" ParameterType="int"/>
<OverrideableParameter ID="PacketSizeBytes" Selector="$Config/PacketSizeBytes$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/Interval$</Interval>
<SpreadInitializationOverInterval Unit="Seconds">$Config/Interval$</SpreadInitializationOverInterval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Ping" TypeID="System!System.ICMPProbe">
<Destination>$Config/IP$</Destination>
<TimeoutMilliseconds>$Config/Timeout$</TimeoutMilliseconds>
<Retries>$Config/NoOfRetries$</Retries>
<PacketSizeBytes>$Config/PacketSizeBytes$</PacketSizeBytes>
</ProbeAction>
<ConditionDetection ID="Responding" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">ResponseStatus</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/NumberOfSamples$</MatchCount>
<SampleCount>$Config/NumberOfSamples$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
<ConditionDetection ID="NotResponding" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">ResponseStatus</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/NumberOfSamples$</MatchCount>
<SampleCount>$Config/NumberOfSamples$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ICMPResponding">
<Node ID="Responding">
<Node ID="Ping">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ICMPNotResponding">
<Node ID="NotResponding">
<Node ID="Ping">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>