Web Service Availability

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

Monitors the availability of the

Knowledge Base article:

Summary

Monitors availability of Service Management Automation Web Service. This is done by periodically making a test connection to the web service to ensure that it is responding.

Causes

The monitor is unable to complete a web transaction against the SMA web service. This indicates that the web service may be unresponsive.

Resolution

The SMA web site is monitored by the Internet Information Services management pack. Check the monitors and alerts from that management pack to determine why the web service is not responding. You can also connect to the URL from a browser to determine if there are any error messages.

Configuration

The following options can be configured on this monitor:

Option

Definition

Default

Alert On State

Health state for the monitor that generates an alert.

The monitor is in a critical health state

Alert Priority

Priority of the alert generated for this monitor.

Medium

Alert Severity

Priority of the alert generated for this monitor.

Critical

Auto-Resolve Alert

Specifies whether the alert should automatically be resolved when the monitor returns to a healthy state.

True

Enabled

Specifies whether the monitor should run.

True

Generates Alert

Specifies whether the monitor should generate an alert when changing to a warning or critical state.

True

Interval

Number of seconds between times that the monitor is run.

300

URL

The URL that the monitors attemptes to connect to.

The valuue of the URL property on the target web service.

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
Web Service not available
The Service Management Automation Web Service is not responding.
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>