Monitor de evento repetido
Microsoft.Windows.InternetInformationServices.6.2.RepeatedEventLogManualReset2StateMonitorType (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.InternetInformationServices.6.2.RepeatedEventLogManualReset2StateMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="RepeatedEventRaised" NoDetection="false"/>
<MonitorTypeState ID="ManualResetEventRaised" NoDetection="true"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="RepeatedComputerName" type="xsd:string"/>
<xsd:element name="RepeatedLogName" type="xsd:string"/>
<xsd:element name="RepeatedExpression" type="ExpressionType"/>
<xsd:element name="NumberOfSeconds" type="xsd:int"/>
<xsd:element name="NumberOfOccurrences" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="NumberOfSeconds" Selector="$Config/NumberOfSeconds$" ParameterType="int"/>
<OverrideableParameter ID="NumberOfOccurrences" Selector="$Config/NumberOfOccurrences$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="RepeatedDataSource" TypeID="Windows!Microsoft.Windows.BaseEventProvider">
<ComputerName>$Config/RepeatedComputerName$</ComputerName>
<LogName>$Config/RepeatedLogName$</LogName>
</DataSource>
<ConditionDetection ID="RepeatedFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>$Config/RepeatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="RepeatedDataCondition" TypeID="System!System.ConsolidatorCondition">
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>$Config/NumberOfSeconds$</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>$Config/NumberOfOccurrences$</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerRestart</CountMode>
</CountingCondition>
</Consolidator>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="RepeatedEventRaised">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>