計時器重設
Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType (UnitMonitorType)
雙狀態監視,重複事件狀態及自動重設狀態。
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="RepeatedEventRaised"/>
<MonitorTypeState ID="TimerEventRaised"/>
</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="Consolidator" type="ConsolidatorType"/>
<xsd:element name="TimerWaitInSeconds" type="xsd:integer"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="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>$Config/Consolidator$</Consolidator>
</ConditionDetection>
<ConditionDetection TypeID="System!System.TimerCondition" ID="TimerCondition">
<TimerWaitInSeconds>$Config/TimerWaitInSeconds$</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>