如果监视工作流无法连接到 SSRS 报表管理器,监视器将引发警报
如果监视工作流无法连接到 SSRS 报表管理器,监视器将引发警报
可能会导致“无法连接到报表服务器”的部分问题包括:
服务未运行
物理环境/网络问题可能导致连接错误
以下链接提供了有关如何连接到报告服务的详细信息:
名称 | 说明 | 默认值 |
已启用 | 启用或禁用工作流 | 是 |
生成警报 | 定义工作流是否生成警报 | 是 |
已忽略的状态代码检查 | 此参数允许检查来自 Web 服务的响应(不可否认,是无效的状态代码)是否应作为有效的状态代码进行传递。你可以设置有效的代码列表,由分号分隔。 |
|
间隔(秒) | 运行工作流的重复间隔时间(秒)。 | 300 |
样本数 | 指示在状态发生更改之前测量值应违反阈值的次数。 | 6 |
同步时间 | 使用 24 小时格式指定的同步时间。可以忽略。 |
|
Web 连接超时 | 如果在指定时间段无法访问 Web 资源,工作流将失败并注册一个事件。 | 200 |
超时(秒) | 指定允许工作流在被关闭并标记为失败之前运行的时间。 | 300 |
Target | Microsoft.SQLServer.2014.ReportingServices.Instance | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.WebServiceAccessibleMonitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.SsrsReportManagerAccessible" 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.SsrsReportManagerAccessible.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"]/ReportManagerUrl$</ServiceUrl>
<SampleCount>6</SampleCount>
<TimeOut>200</TimeOut>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<IgnoredStatusCodes/>
</Configuration>
</UnitMonitor>