Timer reset event log monitor

Microsoft.Dynamics.Nav.2015.RepeatedEventLogTimer2StateMonitorType (UnitMonitorType)

Two states monitor: repeated event state and auto reset state.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
RepeatedDataSource DataSource Microsoft.Windows.BaseEventProvider Default
OnDemandReset ProbeAction System.PassThroughProbe Default
RepeatedDataCondition ConditionDetection System.ConsolidatorCondition Default
RepeatedFilterCondition ConditionDetection System.ExpressionFilter Default
TimerCondition ConditionDetection System.TimerCondition Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
RepeatNTimesint$Config/RepeatNTimes$Repeat N times. N = Number of times the event occurs before the state changes to critical.
RepeatNTimesInXSecondsint$Config/RepeatNTimesInXSeconds$Repeat N times in X seconds. X = Seconds over which consolidation occurs for changing the state to critical.
AutoResetIntervalint$Config/AutoResetInterval$Auto Reset IntervalThe amount of time (in seconds) after which to reset the monitor.

Source Code:

<UnitMonitorType ID="Microsoft.Dynamics.Nav.2015.RepeatedEventLogTimer2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="RepeatedEventRaised"/>
<MonitorTypeState ID="TimerEventRaised"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedLogName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatNTimes" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatNTimesInXSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AutoResetInterval" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="RepeatNTimes" Selector="$Config/RepeatNTimes$" ParameterType="int"/>
<OverrideableParameter ID="RepeatNTimesInXSeconds" Selector="$Config/RepeatNTimesInXSeconds$" ParameterType="int"/>
<OverrideableParameter ID="AutoResetInterval" Selector="$Config/AutoResetInterval$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Windows!Microsoft.Windows.BaseEventProvider" ID="RepeatedDataSource">
<ComputerName>$Config/RepeatedComputerName$</ComputerName>
<LogName>$Config/RepeatedLogName$</LogName>
</DataSource>
<ProbeAction TypeID="System!System.PassThroughProbe" ID="OnDemandReset"/>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="RepeatedFilterCondition">
<Expression>$Config/RepeatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ConsolidatorCondition" ID="RepeatedDataCondition">
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>$Config/RepeatNTimesInXSeconds$</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>$Config/RepeatNTimes$</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
</ConditionDetection>
<ConditionDetection TypeID="System!System.TimerCondition" ID="TimerCondition">
<TimerWaitInSeconds>$Config/AutoResetInterval$</TimerWaitInSeconds>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="RepeatedEventRaised">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="TimerCondition">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>