Microsoft Lync Server 2013, Persistent Chat Connection Failure

Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PersistentChat.E_OCS_CONNECTION_FAILURE (UnitMonitor)

Knowledge Base article:

Summary

The Persistent Chat Server is not able to connect to the Lync Server.

Causes

This problem is usually caused by network connectivity issue or the Lync Server not being started.

Resolutions

Ensure the Lync Server is started.

Element properties:

TargetMicrosoft.LS.2013.Component.PersistentChat
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.LS.2013.MonitorType.TimerResetEvent.Repeated
RemotableTrue
AccessibilityPublic
Alert Message
[LYNC] The Persistent Chat Server is not able to connect to the Lync Server.
{0}

Please see the 'Product Knowledge' and the 'Alert Context' tab on Alert Properties view for more information.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PersistentChat.E_OCS_CONNECTION_FAILURE" Accessibility="Public" Enabled="true" Target="Microsoft.LS.2013.Component.PersistentChat" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.LS.2013.MonitorType.TimerResetEvent.Repeated" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Alert_The_Persistent_Chat_Server_is_not_able_to_connect_to_the_Lync_Server.">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Context/DataItem/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PersistentChat.E_OCS_CONNECTION_FAILURE.Timer" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
<OperationalState ID="Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PersistentChat.E_OCS_CONNECTION_FAILURE.Repeated" MonitorTypeStateID="RepeatedEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Lync Server</LogName>
<ErrorExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">53547</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">LS Persistent Chat Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ErrorExpression>
<AutoResolveInterval>3600</AutoResolveInterval>
<TimerWindowInSeconds>900</TimerWindowInSeconds>
<RepeatCount>3</RepeatCount>
</Configuration>
</UnitMonitor>