Lenovo BladeCenter SNMP-Trap 3 Statusmonitortyp für manuelles Zurücksetzen für Chassis
IBM.BladeCenter.SNMPTrap.3StateManualResetMonitorTypeForChassis (UnitMonitorType)
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="IBM.BladeCenter.SNMPTrap.3StateManualResetMonitorTypeForChassis" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="SuccessEventRaised" NoDetection="true"/>
<MonitorTypeState ID="WarningEventRaised" NoDetection="false"/>
<MonitorTypeState ID="ErrorEventRaised" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EventIds" type="xsd:string"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="SdkDS" TypeID="NetworkLibrary!System.NetworkManagement.SnmpTrapProvider">
<IP>$Target/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IP>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<Version>$Target/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</Version>
<OIDProps>
<OIDProp>.1.3.6.1.4.1.2.6.158.3</OIDProp>
</OIDProps>
</DataSource>
<ConditionDetection ID="SuccessFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.7']/Value</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">8</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.14']/Value</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>$Config/EventIds$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="WarningFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.7']/Value</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.14']/Value</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>$Config/EventIds$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.7']/Value</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID='.1.3.6.1.4.1.2.6.158.3.1.1.14']/Value</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>$Config/EventIds$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<!--<RegularDetection MonitorTypeStateID="SuccessEventRaised">
<Node ID="SuccessFilterCondition">
<Node ID="SdkDS" />
</Node>
</RegularDetection>-->
<RegularDetection MonitorTypeStateID="WarningEventRaised">
<Node ID="WarningFilterCondition">
<Node ID="SdkDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ErrorEventRaised">
<Node ID="ErrorFilterCondition">
<Node ID="SdkDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>