Alert monitor for Lenovo System power supply failures

IBM.SystemX.PowerSupply.Failed (UnitMonitor)


Alerts when Lenovo System power supply failures

Element properties:

TargetIBM.SystemX.PowerSupply
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeIBM.SingleClass.HWInstanceMonitorType.AutoReset3State
RemotableTrue
AccessibilityPublic
Alert Message
The power supply failed

{0} -- EventClass = {1}
RunAsDefault

Source Code:

<UnitMonitor ID="IBM.SystemX.PowerSupply.Failed" Accessibility="Public" Enabled="false" Target="IBM.SystemX.PowerSupply" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="IBM.SingleClass.HWInstanceMonitorType.AutoReset3State" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="IBM.SystemX.PowerSupply.Failed.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="Critical" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
<OperationalState ID="Warning" MonitorTypeStateID="WarningEventRaised" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="HealthyEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<NameSpace>root\ibmsd</NameSpace>
<Query>
SELECT __Class, AlertingManagedElement, Description, EventID, PerceivedSeverity From CIM_AlertIndication
</Query>
<CIMAlertClassName>IBMPSG_PowerSupplyEvent</CIMAlertClassName>
<!--
<ErrWarningSpecialFilter>failed</ErrWarningSpecialFilter>
<SuccessSpecialFilter>normal</SuccessSpecialFilter>
-->
<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>