Monitor F5 BIGIP System with PING

ABC.F5.BIGIP.Monitor.F5.BIGIP.System (UnitMonitor)

Description for the new unit monitor.

Element properties:

TargetABC.F5.BIGIP.System
Parent MonitorABC.F5.BIGIP.Monitor.F5.BIGIP.System.Aggregate.HealthState
CategoryAvailabilityHealth
EnabledTrue
Instance NameF5PingCheck
Counter NamePingCheckResponse
Frequency300
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.WmiBased.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityInternal
Alert Message
F5 BIGIP - Not reachable
F5 BIGIP System not reachable via PING
RunAsDefault

Source Code:

<UnitMonitor ID="ABC.F5.BIGIP.Monitor.F5.BIGIP.System" Accessibility="Internal" Enabled="true" Target="ABC.F5.BIGIP.System" ParentMonitorID="ABC.F5.BIGIP.Monitor.F5.BIGIP.System.Aggregate.HealthState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.WmiBased.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="ABC.F5.BIGIP.Monitor.F5.BIGIP.System.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
</OperationalStates>
<Configuration>
<NameSpace>root\cimv2</NameSpace>
<Query>SELECT * FROM Win32_PingStatus WHERE Address='$Target/Property[Type="ABC.F5.BIGIP.System"]/SystemNodeName$'</Query>
<Frequency>300</Frequency>
<ObjectName>F5PingCheck</ObjectName>
<CounterName>PingCheckResponse</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='StatusCode']$</Value>
<Threshold>0</Threshold>
<Direction>greater</Direction>
<NumSamples>4</NumSamples>
</Configuration>
</UnitMonitor>