Health monitor for Lenovo XClarity Service Connection

Lenovo.XClarity.Service.Connection.UnitMonitor (UnitMonitor)

Element properties:

TargetLenovo.XClarity.Integrator.Service
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeLenovo.LXCI.Service.Connection.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
LXCI0010 -Lenovo XClarity Integrator Service Connection Failure

Cannot connect to Service {0}:{1}
RunAsDefault

Source Code:

<UnitMonitor ID="Lenovo.XClarity.Service.Connection.UnitMonitor" Accessibility="Public" Target="Lenovo.XClarity.Integrator.Service" Enabled="true" TypeID="Lenovo.LXCI.Service.Connection.MonitorType" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>Custom</Category>
<AlertSettings AlertMessage="Lenovo.XClarity.Service.Connection.AlertMessageResorceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Lenovo.XClarity.Integrator.Service"]/ID$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Lenovo.XClarity.Integrator.Service"]/Port$</AlertParameter2>
</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>
<ID>$Target/Property[Type="Lenovo.XClarity.Integrator.Service"]/ID$</ID>
<Port>$Target/Property[Type="Lenovo.XClarity.Integrator.Service"]/Port$</Port>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>