IBM MonitorType WinEventManualReset3State
IBM.MonitorType.WinEventManualReset3State (UnitMonitorType)
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="IBM.MonitorType.WinEventManualReset3State" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="ErrorEventRaised"/>
<MonitorTypeState ID="WarningEventRaised"/>
<MonitorTypeState ID="ManualResetEventRaised" NoDetection="true"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="NameSpace" type="xsd:string"/>
<xsd:element name="Query" type="xsd:string"/>
<xsd:element name="CIMAlertFilterExpression" type="ExpressionType"/>
<xsd:element name="PollInterval" type="xsd:integer"/>
<xsd:element name="WinEventFiltering" type="xsd:integer"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="IBM.SystemX.CIMAlertWinEvent.EventDataBag.Provider" ID="DataSource">
<NameSpace>$Config/NameSpace$</NameSpace>
<Query>$Config/Query$</Query>
<CIMAlertFilterExpression>$Config/CIMAlertFilterExpression$</CIMAlertFilterExpression>
<PollInterval>$Config/PollInterval$</PollInterval>
<WinEventFiltering>$Config/WinEventFiltering$</WinEventFiltering>
</DataSource>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="ErrorFilterCondition">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Property[@Name="PerceivedSeverity"]</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="WarningFilterCondition">
<!-- <Expression>$Config/WarningExpression$</Expression> -->
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Property[@Name="PerceivedSeverity"]</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>(3|4)</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ErrorEventRaised">
<Node ID="ErrorFilterCondition">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WarningEventRaised">
<Node ID="WarningFilterCondition">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>