Health monitor for IMM Connection

Lenovo.IMM.Connection.UnitMonitor (UnitMonitor)

Element properties:

TargetLenovo.HardwareMgmtPack.IMM2.ManagementModule
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeLenovo.IMM.Connection.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
IMM Connection Failure

Cannot connect to IMM {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Lenovo.IMM.Connection.UnitMonitor" Accessibility="Public" Target="Lenovo.HardwareMgmtPack.IMM2.ManagementModule" Enabled="true" TypeID="Lenovo.IMM.Connection.MonitorType" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>Custom</Category>
<AlertSettings AlertMessage="Lenovo.IMM.Connection.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Lenovo.HardwareMgmtPack.IMM2.ManagementModule"]/IMMIP$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="HealthyEventRaised" ID="Success"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="WarningEventRaised" ID="Warning"/>
<OperationalState HealthState="Error" MonitorTypeStateID="ErrorEventRaised" ID="Error"/>
</OperationalStates>
<Configuration>
<IMMIP>$Target/Property[Type="Lenovo.HardwareMgmtPack.IMM2.ManagementModule"]/IMMIP$</IMMIP>
<IntervalSeconds>7200</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>