Web service accessible

Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.SsrsWebServiceAccessible (UnitMonitor)

The monitor raises an alert, if monitoring workflow cannot connect to SSRS web service.

Knowledge Base article:

Summary

The monitor raises an alert, if monitoring workflow cannot connect to SSRS web service.

Causes

Some of the issues that can cause “Cannot connect to report server” are as follows:

Resolutions

The following link provides more information about how to connect to reporting services:

Connect to a Report Server in Management Studio

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow

Yes

Generates Alerts

Defines whether the workflow generates an Alert

Yes

Ignored status codes checkup

This parameter allows checking if responces from the web services with admittedly invalid status codes should be passed as valid ones. You can set a list of valid codes divided by semicolons.

 

Interval (seconds)

The recurring interval of time in seconds in which to run the workflow.

300

Number of samples

Indicates, how many times a measured value should breach a threshold before the state is changed.

6

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Time out for web connection

The workflow will fail and register an event, if it cannot access the web resource during the specified period.

200

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

300

Element properties:

TargetMicrosoft.SQLServer.2014.ReportingServices.Instance
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2014.ReportingServices.MonitorType.Instance.WebServiceAccessibleMonitor
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2014: Instance cannot connect to SSRS web service
Instance cannot connect to SSRS web service. Error message is received:
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.SsrsWebServiceAccessible" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.WebServiceAccessibleMonitor" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.SsrsWebServiceAccessible.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Errors']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ServiceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance"]/ServiceName$</ServiceName>
<ServiceUrl>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance"]/ReportServerUrl$</ServiceUrl>
<SampleCount>6</SampleCount>
<TimeOut>200</TimeOut>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<IgnoredStatusCodes/>
</Configuration>
</UnitMonitor>