Częstotliwość wywołań usługi sieci Web

Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.WebServiceCallsPerSecond (UnitMonitor)

Monitoruje licznik wydajności „Częstotliwość wywołań elementu Worker”.

Knowledge Base article:

Podsumowanie

Monitoruje liczbę żądań zgłaszanych przez klientów do usługi sieci Web programu Service Management Automation.

Przyczyny

Gdy ten monitor jest w stanie błędu, wskazuje występowanie dużego ruchu w usłudze sieci Web, co może powodować obniżenie wydajności.

Rozwiązanie

Zwiększ wydajność usługi sieci Web lub zwiększ liczbę wystąpień usługi sieci Web.

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.

Liczba wywołań usługi sieci Web (na sek.)

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.2012R2.Server.Worker
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.ServiceManagementAutomation.2012R2.Performance.MonitorType.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
Częstotliwość wywołań elementu Worker
Licznik „Częstotliwość wywołań elementu Worker” przekracza wartość progową. Ostatnia zmierzona wartość: {0}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.WebServiceCallsPerSecond" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Performance.MonitorType.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.WebServiceCallsPerSecond.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>Calls Per Second</CounterName>
<ObjectName>Orchestrator Worker Performance Counters</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>600</Frequency>
<ScaleBy>1</ScaleBy>
<Threshold>1000</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>