Alert monitor for Lenovo System processor condition (platform extended checks)

IBM.SystemX.PhysicalProcessor.PlatformExtendedEvents (UnitMonitor)

Element properties:

TargetIBM.SystemX.PhysicalProcessor
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeIBM.MonitorType.ManualReset3State
RemotableTrue
AccessibilityPublic
Alert Message
A physical processor platform extended event occurred

{0} -- EventClass = {1}
RunAsDefault

Source Code:

<UnitMonitor ID="IBM.SystemX.PhysicalProcessor.PlatformExtendedEvents" Accessibility="Public" Enabled="true" Target="IBM.SystemX.PhysicalProcessor" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Common!IBM.MonitorType.ManualReset3State" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="IBM.SystemX.PhysicalProcessor.PlatformExtendedEvents.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name="Description"]$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name="__CLASS"]$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="WarningEventRaised" HealthState="Warning"/>
<OperationalState ID="Error" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<NameSpace>root\ibmsd</NameSpace>
<Query>SELECT __Class, AlertingManagedElement, Description, EventID, PerceivedSeverity FROM CIM_AlertIndication</Query>
<CIMAlertFilterExpression>
<And>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">IBMPSG_ProcessorPFEvent</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">IBMx_ProcessorEvent</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<Or>
<!--<Expression> == PXB060875 Rollback ==
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>Processor</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/Host/Host/Property[Type="IBM.SystemX.Platform"]/Licensed$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">None</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>-->
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="EventID"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="IBM.SystemX.HWComponent"]/InstanceID$</Pattern>
</RegExExpression>
</Expression>
<!--In case of Director 6.1.x and later, the EventID is null, -->
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="AlertingManagedElement"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="IBM.SystemX.HWComponent"]/InstanceID$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="EventID"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="IBM.SystemX.PhysicalProcessor"]/InternalID$</Pattern>
</RegExExpression>
</Expression>
<!--In case of Director 6.1.x and later, the EventID is null, -->
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="AlertingManagedElement"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="IBM.SystemX.PhysicalProcessor"]/InternalID$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name="__CLASS"]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>Processor</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="Integer">$Target/Host/Host/Property[Type="IBM.SystemX.Platform"]/ibmInternalWinEventFiltering$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</CIMAlertFilterExpression>
<PollInterval>10</PollInterval>
<WinEventFiltering>$Target/Host/Host/Property[Type="IBM.SystemX.Platform"]/ibmInternalWinEventFiltering$</WinEventFiltering>
<Licensed>$Target/Host/Host/Property[Type="IBM.SystemX.Platform"]/Licensed$</Licensed>
</Configuration>
</UnitMonitor>