已发现所有部署实例

Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Deployment.AllInstancesAreDiscovered (UnitMonitor)

如果没有发现给定 SSRS 部署的所有 SSRS 实例,监视器将引发警报。

Knowledge Base article:

摘要

如果没有发现给定 SSRS 部署的所有 SSRS 实例,监视器将引发警报。

原因

未发现所有部署实例。发生的原因包括:

解决方法

可替代参数

名称

说明

默认值

已启用

Enables or disables the workflow

1

生成警报

Defines whether the workflow generates an Alert

间隔(秒)

运行工作流的重复间隔时间(秒)。

604800

同步时间

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

 

不匹配实例计数的阈值

如果不匹配实例计数大于或等于指定值,监视器将创建警报。

1

Element properties:

TargetMicrosoft.SQLServer.2012.ReportingServices.Deployment
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.ReportingServices.MonitorType.Deployment.AllInstancesAreDiscovered
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2012: 没有发现所有部署实例
部分部署实例未被发现,或者有发现不匹配。
不匹配计数: {0}
不匹配的实例数:
{1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Deployment.AllInstancesAreDiscovered" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2012.ReportingServices.Deployment" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.Deployment.AllInstancesAreDiscovered" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Deployment.AllInstancesAreDiscovered.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='UnmatchedInstancesCount']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='UnmatchedInstances']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Threshold>1</Threshold>
<IntervalSeconds>604800</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>