Acer.Server.OOB.PRO.3StateMonitorType

Acer.Server.OOB.PRO.3StateMonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.TargetEntitySdkEventProvider Default
CDGreenEvent ConditionDetection System.ExpressionFilter Default
CDRedEvent ConditionDetection System.ExpressionFilter Default
CDWarningEvent ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Acer.Server.OOB.PRO.3StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="CriticalState" NoDetection="false"/>
<MonitorTypeState ID="WarningState" NoDetection="false"/>
<MonitorTypeState ID="OKState" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" maxOccurs="1" name="CriticalEventID" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="WarningEventID" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="OKEventID" type="xsd:string"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.TargetEntitySdkEventProvider"/>
<ConditionDetection ID="CDRedEvent" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventData/Data/AlertSeverity</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Config/CriticalEventID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDWarningEvent" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventData/Data/AlertSeverity</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/WarningEventID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDGreenEvent" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventData/Data/AlertSeverity</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Config/OKEventID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="CriticalState">
<Node ID="CDRedEvent">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WarningState">
<Node ID="CDWarningEvent">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OKState">
<Node ID="CDGreenEvent">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>