SQL Server Reporting Services Windows 服務

Microsoft.SQLServer.2012.ReportingServices.ServiceMonitor (UnitMonitor)

此監視器會查看 SQL Reporting Services 服務的狀態。
請注意,除了 SQL Server Express with Advanced Services 之外,所有版本的 SQL Server Express 都不支援 SQL Server Reporting Services Windows 服務。

Knowledge Base article:

摘要

此監視器會查看 SQL Reporting Services 服務的狀態,並會在該服務設定為自動啟動但卻未執行時產生警示。

請注意,停用服務後不會產生警示,且狀態會顯示為狀況良好。

原因

服務停止有許多原因,其中包括:

解決方式

您可以使用下列連結嘗試重新啟動服務:

啟動 SQL Reporting Services 服務

您可以使用下列連結,檢視此 SQL Server 執行個體的其他警示,這些警示可能與這個問題相關:

檢視 SQL Server 警示

可覆寫的參數

名稱

描述

預設值

警示優先程式

定義警示優先順序。

一般

警示嚴重性

定義警示嚴重性。

錯誤

只在服務啟動類型為自動時警示

其只可設定為 'true' 或 'false'。如果設定為 'false',則不論啟動類型設定為何,都會觸發警示。預設值為 'true'。

已啟用

啟用或停用該工作流程。

產生警示

定義工作流程是否會產生警示。

Element properties:

TargetMicrosoft.SQLServer.2012.ReportingServices
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SQL Server Reporting Services 已停止
電腦 {1} 上的 Reporting Services 執行個體 {0} 的 Windows 服務已停止
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.ReportingServices.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.ReportingServices" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.ReportingServices.ServiceMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>$Target/Property[Type="SQL!Microsoft.SQLServer.ReportingServices"]/ServiceName$</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>