Długość kolejki wewnętrznej elementu Worker

Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.WorkerInternalQueueLength (UnitMonitor)

Monitoruje licznik wydajności „Długość kolejki wewnętrznej elementu Worker”.

Knowledge Base article:

Podsumowanie

Monitoruje długość wewnętrznej kolejki na serwerze Service Management Automation Worker.

Przyczyny

Wartość długości kolejki wewnętrznej wynosi zero, co wskazuje, że proces roboczy jest w stanie bezczynności.

Rozwiązanie

Ten problem powinien rozwiązać się automatycznie po przesłaniu zdań i wypełnieniu kolejki wewnętrznej procesu roboczego.

Konfiguracja

Można skonfigurować następujące opcje tego monitora:

Opcja

Definicja

Domyślne

Alert na podstawie stanu

Stan kondycji monitora generującego alert.

Monitor wskazuje krytyczny stan kondycji

Priorytet alertu

Priorytet alertu generowanego dla tego monitora.

Średni

Ważność alertu

Priorytet alertu generowanego dla tego monitora.

Krytyczny

Automatyczne rozwiązywanie alertu

Określa, czy alert powinien zostać rozwiązany automatycznie po powrocie monitora do stanu prawidłowego.

Prawda

Nazwa licznika

Nazwa licznika wydajności. Tej wartości nie należy zastępować, jednak nie dotyczy to pakietu językowego.

Tryb ograniczania procesu roboczego

Włączone

Określa, czy monitor powinien zostać uruchomiony.

Prawda

Generuje alert

Określa, czy monitor powinien generować alert po przejściu w stan ostrzeżenia lub w stan krytyczny.

Prawda

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.ServiceManagementAutomation.Performance.MonitorType.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
Długość kolejki wewnętrznej elementu Worker
Licznik „Długość kolejki wewnętrznej elementu Worker” przekracza wartość progową. Ostatnia zmierzona wartość: {0}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.WorkerInternalQueueLength" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.Performance.MonitorType.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.WorkerInternalQueueLength.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Warning"/>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Worker Internal Queue Length</CounterName>
<ObjectName>Orchestrator Worker Performance Counters</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>600</Frequency>
<ScaleBy>1</ScaleBy>
<Threshold>30</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>