Dostępność usługi sieci Web

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

Monitoruje dostępność

Knowledge Base article:

Podsumowanie

Monitoruje dostępność usługi sieci Web programu Service Management Automation. W tym celu okresowo przeprowadzany jest test połączenia z usługą sieci Web, aby upewnić się, że usługa odpowiada.

Przyczyny

Monitor nie może ukończyć transakcji sieci Web z usługą sieci Web SMA. Taki stan wskazuje, że usługa sieci Web może nie odpowiadać.

Rozwiązanie

Witryna sieci Web SMA jest monitorowana przez pakiet administracyjny usług Internet Information Services. Sprawdź monitory i alerty tego pakietu administracyjnego, aby określić, dlaczego usługa sieci Web nie odpowiada. Możesz także przejść pod adres URL z poziomu przeglądarki, aby sprawdzić, czy są jakieś komunikaty o błędach.

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

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

Interwał

Liczba sekund między okresami uruchomienia monitora.

300

Adres URL

Adres URL, z którym monitory próbują się połączyć.

Wartość właściwości URL w docelowej usłudze sieci Web.

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Web
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.ServiceManagementAutomation.2012R2.MonitorType.UrlAvailability
RemotableTrue
AccessibilityPublic
Alert Message
Usługa sieci Web jest niedostępna
Usługa sieci Web programu Service Management Automation nie odpowiada.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.WebServiceAvailability" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Web" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.MonitorType.UrlAvailability" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Monitor.WebServiceAvailability.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorCodeFailure" MonitorTypeStateID="ErrorCodeFailure" HealthState="Error"/>
<OperationalState ID="ErrorCodeOK" MonitorTypeStateID="ErrorCodeOK" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RequestID>1</RequestID>
<Url>$Target/Property[Type="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server.Web"]/URL$/00000000-0000-0000-0000-000000000000</Url>
<IntervalSeconds>600</IntervalSeconds>
</Configuration>
</UnitMonitor>