Lenovo information alert generation rule for CIM Events of ServeRAID-BR or Integrated RAID
IBM.LSI.IntegratedRAID.InformationAlert.Generation.Rule (Rule)
Collects WMI/CIM alert indications from the CIM Provider for ServeRAID-BR or Integrated RAID
Element properties:
Member Modules:
Source Code:
<Rule ID="IBM.LSI.IntegratedRAID.InformationAlert.Generation.Rule" Enabled="true" Target="IBM.SystemX.LSI.IntegratedRAIDDevice" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="WMIDS" TypeID="IBM.Windows.WmiEventProvider.EventProvider">
<NameSpace>$Target/Property[Type="IBM.SystemX.LSIRAIDDevice"]/ibmNameSpace$</NameSpace>
<Query>SELECT __Class, AlertingManagedElement, Description, EventID, PerceivedSeverity, SystemName FROM CIM_AlertIndication</Query>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Property[@Name="PerceivedSeverity"]</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="SystemName"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="IBM.SystemX.HWComponent"]/InstanceID$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<PollInterval>900</PollInterval>
<EventLevel>4</EventLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="Alert" TypeID="IBM.ComponentHealth.WriteInfoEventAlert">
<AlertMessageId>$MPElement[Name="IBM.LSI.IntegratedRAID.InformationAlert.Generation.Rule.AlertMessageID"]$</AlertMessageId>
<!--0 Information, 1 Warning, 2 Error -->
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>