Script Non-Stateful Repeated Events Unit Monitor Type

ScriptInstanceNonStatefulRepeatedEventsUnitMonitorType.Execute_CheckCircularLogging_diagnostic_script. (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
ScriptEvents DataSource ScriptInstanceEventMapperDST.Execute_CheckCircularLogging_diagnostic_script. Default
ConsolidatorCondition ConditionDetection System.ConsolidatorCondition Default
FilterCondition ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
TimeWindowInSecondsint$Config/TimeWindowInSeconds$Time WindowThe sliding time window (in seconds) during which the 'Repeat Threshold' number of events must occur in order for the state of this monitor to change to it's problem state.
RepeatThresholdint$Config/RepeatThreshold$Repeat ThresholdThe number of times that the event(s) defined for this monitor must occur within the 'Time Window' in order for the state of this monitor to change to it's problem state.

Source Code:

<UnitMonitorType ID="ScriptInstanceNonStatefulRepeatedEventsUnitMonitorType.Execute_CheckCircularLogging_diagnostic_script." Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="EventRaised" NoDetection="false"/>
<MonitorTypeState ID="ManualResetEventRaised" NoDetection="true"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitorType" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VoteWeight" minOccurs="0" maxOccurs="1" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeWindowInSeconds" minOccurs="1" maxOccurs="1" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatThreshold" minOccurs="1" maxOccurs="1" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Expression" type="ExpressionType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeWindowInSeconds" ParameterType="int" Selector="$Config/TimeWindowInSeconds$"/>
<OverrideableParameter ID="RepeatThreshold" ParameterType="int" Selector="$Config/RepeatThreshold$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptEvents" TypeID="ScriptInstanceEventMapperDST.Execute_CheckCircularLogging_diagnostic_script."/>
<ConditionDetection ID="FilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>$Config/Expression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ConsolidatorCondition" TypeID="System!System.ConsolidatorCondition">
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>$Config/TimeWindowInSeconds$</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>$Config/RepeatThreshold$</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="EventRaised">
<Node ID="ConsolidatorCondition">
<Node ID="FilterCondition">
<Node ID="ScriptEvents"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>