A platform extended error alert generated

IBM.SystemX.ComponentHealth.PlatformExtendedEvents.ErrorAlert (Rule)

Collects WMI/CIM alert indications from IBM Director Platform Agent

Knowledge Base article:

Summary

This rule is used to collect Lenovo Platform Extended Events critical events.

Element properties:

TargetIBM.SystemX.BaseSystem
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
WMIDS DataSource IBM.Windows.WmiEventProvider.EventProvider Default
Alert WriteAction IBM.ComponentHealth.WriteEventAlert Default

Source Code:

<Rule ID="IBM.SystemX.ComponentHealth.PlatformExtendedEvents.ErrorAlert" Enabled="true" Target="IBM.SystemX.BaseSystem" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="WMIDS" TypeID="IBM.Windows.WmiEventProvider.EventProvider">
<NameSpace>root\ibmsd</NameSpace>
<Query>
SELECT __Class, AlertingManagedElement, Description, EventID, PerceivedSeverity From CIM_AlertIndication
</Query>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Property[@Name="PerceivedSeverity"]</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>DoesNotMatchRegularExpression</Operator>
<Pattern>IBMPSG_ProcessorPFEvent|IBMx_ProcessorEvent|IBMPSG_MemoryPFEvent|IBMx_PhysicalMemoryEvent|IBMPSG_NetworkAdapterOfflineEvent|IBMPSG_NetworkAdapterFailedEvent|IBMPSG_RedundantNetworkAdapterSwitchoverEvent|IBMPSG_RedundantNetworkAdapterEvent|IBMPSG_PowerSupplyEvent|IBMPSG_FanEvent|IBMPSG_TemperatureEvent|IBMPSG_VoltageEvent|IBMPSG_PowerThresholdAlertIndication</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>Processor|Memory|Network|Power|Fan|Temperature|Voltage</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<PollInterval>900</PollInterval>
<EventLevel>1</EventLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="IBM.ComponentHealth.WriteEventAlert">
<AlertMessageId>$MPElement[Name="IBM.SystemX.ComponentHealth.PlatformExtendedEvents.ErrorAlert.AlertMessageID"]$</AlertMessageId>
<!--0 Information, 1 Warning, 2 Error -->
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>