計時器重設
Microsoft.Windows.CorrelatedEventLogTimer2StateMonitorType (UnitMonitorType)
雙狀態監視,與關聯事件及計時器有關聯。
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.CorrelatedEventLogTimer2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="CorrelatedEventRaised"/>
<MonitorTypeState ID="TimerEventRaised"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="FirstCorrelatedComputerName" type="xsd:string"/>
<xsd:element name="FirstCorrelatedLogName" type="xsd:string"/>
<xsd:element name="FirstCorrelatedExpression" type="ExpressionType"/>
<xsd:element name="SecondCorrelatedComputerName" type="xsd:string"/>
<xsd:element name="SecondCorrelatedLogName" type="xsd:string"/>
<xsd:element name="SecondCorrelatedExpression" type="ExpressionType"/>
<xsd:element name="Correlator" type="CorrelatorType"/>
<xsd:element name="TimerWaitInSeconds" type="xsd:integer"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Microsoft.Windows.BaseEventProvider" ID="FirstCorrelatedDataSource">
<ComputerName>$Config/FirstCorrelatedComputerName$</ComputerName>
<LogName>$Config/FirstCorrelatedLogName$</LogName>
</DataSource>
<DataSource TypeID="Microsoft.Windows.BaseEventProvider" ID="SecondCorrelatedDataSource">
<ComputerName>$Config/SecondCorrelatedComputerName$</ComputerName>
<LogName>$Config/SecondCorrelatedLogName$</LogName>
</DataSource>
<ProbeAction TypeID="System!System.PassThroughProbe" ID="OnDemandReset"/>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="FirstCorrelatedFilterCondition">
<Expression>$Config/FirstCorrelatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="SecondCorrelatedFilterCondition">
<Expression>$Config/SecondCorrelatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.CorrelatorAutoCondition" ID="CorrelatedDataCondition">
<Correlator>$Config/Correlator$</Correlator>
</ConditionDetection>
<ConditionDetection TypeID="System!System.TimerCondition" ID="TimerCondition">
<TimerWaitInSeconds>$Config/TimerWaitInSeconds$</TimerWaitInSeconds>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="CorrelatedEventRaised">
<Node ID="CorrelatedDataCondition">
<Node ID="FirstCorrelatedFilterCondition">
<Node ID="FirstCorrelatedDataSource"/>
</Node>
<Node ID="SecondCorrelatedFilterCondition">
<Node ID="SecondCorrelatedDataSource"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="TimerCondition">
<Node ID="CorrelatedDataCondition">
<Node ID="FirstCorrelatedFilterCondition">
<Node ID="FirstCorrelatedDataSource"/>
</Node>
<Node ID="SecondCorrelatedFilterCondition">
<Node ID="SecondCorrelatedDataSource"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>