Pool Enabled State State Monitor Data Source

AP.F5.LTM.Monitor.PoolEnabledState.Powershell (UnitMonitorType)

Gets Pool Status via Powershell/SNMP (Cookdown compliant)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource AP.F5.LTM.DataSource.PoolEnabledState.Filtered Default
Probe ProbeAction AP.F5.LTM.Probe.PoolEnabledState.Powershell Default
PoolDisabledFilter ConditionDetection System.ExpressionFilter Default
PoolEnabledFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsFrequency in seconds that module is run.
SyncTimestring$Config/SyncTime$Synchronisation TimeOffset that this module is started from.
Debugbool$Config/Debug$DebugDebug Flag, if true then additional info is posted to event log.

Source Code:

<UnitMonitorType ID="AP.F5.LTM.Monitor.PoolEnabledState.Powershell" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="PoolEnabled" NoDetection="false"/>
<MonitorTypeState ID="PoolDisabled" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Debug" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DeviceAddresses" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DevicePorts" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DeviceCommunities" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="PoolName" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="Debug" Selector="$Config/Debug$" ParameterType="bool"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="AP.F5.LTM.DataSource.PoolEnabledState.Filtered">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<Debug>$Config/Debug$</Debug>
<DeviceAddresses>$Config/DeviceAddresses$</DeviceAddresses>
<DevicePorts>$Config/DevicePorts$</DevicePorts>
<DeviceCommunities>$Config/DeviceCommunities$</DeviceCommunities>
<PoolName>$Config/PoolName$</PoolName>
</DataSource>
<ProbeAction ID="Probe" TypeID="AP.F5.LTM.Probe.PoolEnabledState.Powershell">
<Debug>$Config/Debug$</Debug>
<DeviceAddresses>$Config/DeviceAddresses$</DeviceAddresses>
<DevicePorts>$Config/DeviceAddresses$</DevicePorts>
<DeviceCommunities>$Config/DeviceAddresses$</DeviceCommunities>
</ProbeAction>
<ConditionDetection ID="PoolEnabledFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='EnabledState']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="PoolDisabledFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='EnabledState']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="PoolEnabled">
<Node ID="PoolEnabledFilter">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="PoolDisabled">
<Node ID="PoolDisabledFilter">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>