Subscription Maintenance Health

Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PresenceFocus.ES_E_MAINTAIN_SUBSCRIPTION_SPROC_FAILED (UnitMonitor)

Knowledge Base article:

Summary

The Subscription expiration stored procedure failed. It will be retried, but if this error continues to occur, the Lync Server service will need to be restarted.

Causes

Possible issues with back-end database.

Resolutions

Check the eventlog description for more information about the problem. Ensure that the database server is running and there is no database connectivity issue.

Element properties:

TargetMicrosoft.LS.2013.Component.PresenceFocus
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 Subscription expiration stored procedure failed. It will be retried, but if this error continues to occur, the Lync Server service will need to be restarted.
{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.PresenceFocus.ES_E_MAINTAIN_SUBSCRIPTION_SPROC_FAILED" Accessibility="Public" Enabled="true" Target="Microsoft.LS.2013.Component.PresenceFocus" 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_Subscription_expiration_stored_procedure_failed._It_will_be_retried__but_if_this_error_continues_to_occur__the_Lync_Server_service_will_need_to_be_restarted.">
<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.PresenceFocus.ES_E_MAINTAIN_SUBSCRIPTION_SPROC_FAILED.Timer" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
<OperationalState ID="Microsoft.LS.2013.Monitoring.UnitMonitor.TimerResetEvent.PresenceFocus.ES_E_MAINTAIN_SUBSCRIPTION_SPROC_FAILED.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">30904</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">LS User Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ErrorExpression>
<AutoResolveInterval>1800</AutoResolveInterval>
<TimerWindowInSeconds>1800</TimerWindowInSeconds>
<RepeatCount>10</RepeatCount>
</Configuration>
</UnitMonitor>