Monitoruje licznik wydajności „Długość kolejki wewnętrznej elementu Worker”.
Monitoruje długość wewnętrznej kolejki na serwerze Service Management Automation Worker.
Wartość długości kolejki wewnętrznej wynosi zero, co wskazuje, że proces roboczy jest w stanie bezczynności.
Ten problem powinien rozwiązać się automatycznie po przesłaniu zdań i wypełnieniu kolejki wewnętrznej procesu roboczego.
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 |
Target | Microsoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.ServiceManagementAutomation.Performance.MonitorType.ConsecutiveSamplesThreshold | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>