Data Collection Agent: Dispatcher queue state

Microsoft.LS.2019.Monitoring.UnitMonitor.PairedEvent.Registrar.UDC_AGENT_E_DISPATCHER_QUEUE_STATE_ERROR (UnitMonitor)

Knowledge Base article:

Summary

Space Used by the Data Collection Agent's dispatcher queue is at or above the error threshold. The dispatcher queue will continue to hold items and attempt to enqueue them into the Storage Service at a higher rate than normal to help reduce the backlog. However, breaching the error threshold implies that normal processing of the data by the Storage Service is slow or blocked resulting in excessive growth of the dispatcher queue.

Causes

The dispatcher queue size can grow bigger under heavier usage. However, breaching the error threshold implies that there is some error with the Storage Service or its dependent components resulting in slow or blocked processing. An immediate investigation to find the root cause of this torpid processing of the data is required.

Resolutions

The dispatcher queue will constantly attempt to enqueue items to the Storage Service at a higher than normal rate. However, the likelihood of some error in the Storage Service is very high and looking for error events from the Storage Service will provide a good start to the investigation. Resolving the root cause of the issue is required to allow the dispatcher queue to reduce the backlog and return to a normal state.

Element properties:

TargetMicrosoft.LS.2019.Component.Registrar
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.LS.2019.MonitorType.PairedEvent.Simple
RemotableTrue
AccessibilityPublic
Alert Message
[Skype] Space Used by the Data Collection Agent's dispatcher queue is at or above the error threshold. The dispatcher queue will continue to hold items and attempt to enqueue them into the Storage Service at a higher rate than normal to help reduce the ..
{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.2019.Monitoring.UnitMonitor.PairedEvent.Registrar.UDC_AGENT_E_DISPATCHER_QUEUE_STATE_ERROR" Accessibility="Public" Enabled="true" Target="SFBDiscovery!Microsoft.LS.2019.Component.Registrar" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.LS.2019.MonitorType.PairedEvent.Simple" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Alert_Space_Used_by_the_Data_Collection_Agent_s_dispatcher_queue_is_at_or_above_the_error_threshold._The_dispatcher_queue_will_continue_to_hold_items_and_attempt_to_enqueue_them_into_the_Storage_Service_at_a_higher_rate_than_normal_to_help_reduce_the_ba...">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Microsoft.LS.2019.Monitoring.UnitMonitor.PairedEvent.Registrar.UDC_AGENT_E_DISPATCHER_QUEUE_STATE_ERROR.Success" MonitorTypeStateID="SuccessEventRaised" HealthState="Success"/>
<OperationalState ID="Microsoft.LS.2019.Monitoring.UnitMonitor.PairedEvent.Registrar.UDC_AGENT_E_DISPATCHER_QUEUE_STATE_ERROR.Error" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Lync Server</LogName>
<SuccessExpression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">56720</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">LS Data Collection</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">12288</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">LS Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</SuccessExpression>
<ErrorExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">56722</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">LS Data Collection</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ErrorExpression>
</Configuration>
</UnitMonitor>