AD Monitor Connections Monitor Type

AD_Monitor_Connections.Monitortype (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
FilterError ConditionDetection System.ExpressionFilter Default
FilterSuccess ConditionDetection System.ExpressionFilter Default
FilterWarn ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval (sec)

Source Code:

<UnitMonitorType ID="AD_Monitor_Connections.Monitortype" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ConnectionsOK" NoDetection="false"/>
<MonitorTypeState ID="ConnectionsWarn" NoDetection="false"/>
<MonitorTypeState ID="ConnectionsError" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="State" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ConditionDetection ID="FilterSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Config/State$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Green</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarn" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Config/State$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Yellow</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterError" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Config/State$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Red</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ConnectionsOK">
<Node ID="FilterSuccess">
<Node ID="Scheduler"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ConnectionsWarn">
<Node ID="FilterWarn">
<Node ID="Scheduler"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ConnectionsError">
<Node ID="FilterError">
<Node ID="Scheduler"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>