生成了平台扩展信息警报

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

从 Lenovo Director Platform Agent 收集 WMI/CIM 警报指示

Knowledge Base article:

Summary

This rule is used to collect Lenovo Platform Extended Events information 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.WriteInfoEventAlert Default

Source Code:

<Rule ID="IBM.SystemX.ComponentHealth.PlatformExtendedEvents.InformationAlert" 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>LessEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2</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>4</EventLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="IBM.ComponentHealth.WriteInfoEventAlert">
<AlertMessageId>$MPElement[Name="IBM.SystemX.ComponentHealth.PlatformExtendedEvents.InformationAlert.AlertMessageID"]$</AlertMessageId>
<!--0 Information, 1 Warning, 2 Error -->
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>