Raccoglie le indicazioni di avvisi WMI/CIM da Lenovo Director Platform Agent
This rule is used to collect Lenovo Platform Extended Events information events.
Target | IBM.SystemX.BaseSystem |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
WMIDS | DataSource | IBM.Windows.WmiEventProvider.EventProvider | Default |
Alert | WriteAction | IBM.ComponentHealth.WriteInfoEventAlert | Default |
<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>