Alert monitor for Lenovo System lease expiration

IBM.SystemX.BaseSystem.Lease.Expired (UnitMonitor)


Alerts when Lenovo System lease expiration

Element properties:

TargetIBM.SystemX.BaseSystem
Parent MonitorSystem.Health.ConfigurationState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeIBM.SingleClass.BaseMonitorType.AutoReset3State
RemotableTrue
AccessibilityPublic
Alert Message
System lease expired

{0} -- EventClass = {1}
RunAsDefault

Source Code:

<UnitMonitor ID="IBM.SystemX.BaseSystem.Lease.Expired" Accessibility="Public" Enabled="true" Target="IBM.SystemX.BaseSystem" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Common!IBM.SingleClass.BaseMonitorType.AutoReset3State" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="IBM.SystemX.BaseSystem.Lease.Expired.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_LeaseExpirationEvent</CIMAlertClassName>
<PollInterval>10</PollInterval>
<WinEventFiltering>$Target/Host/Property[Type="IBM.SystemX.Platform"]/ibmInternalWinEventFiltering$</WinEventFiltering>
</Configuration>
</UnitMonitor>