SSRS 2014: 失敗したレポート実行数/分 (展開)

Microsoft.SQLServer.2014.ReportingServices.PerformanceRule.DeploymentWatcher.CountOfFailedReportExecutions (Rule)

ルールは、SQL Server Reporting Services の展開全体におけるレポート実行の 1 分あたりの失敗数を収集します。

Knowledge Base article:

概要

ルールは、SQL Server Reporting Services の展開全体におけるレポート実行の 1 分あたりの失敗数を収集します。ルールは SSRS カタログ データベースに対してクエリを実行して、情報を入手します。

上書き可能なパラメーター

名前

説明

既定値

有効

ワークフローの有効化または無効化

はい

間隔 (秒)

ワークフローを実行する定期的な実行間隔 (秒)。

300

同期時刻

24 時間形式で指定した同期時刻。省略可能です。

 

データベース接続のタイムアウト

指定された期間中にデータベースにアクセスできない場合、ワークフローは失敗し、イベントが登録されます。

200

タイムアウト (秒)

ワークフローが終了して失敗とマークされるまでの、ワークフローの許容実行時間を指定します。

300

Element properties:

TargetMicrosoft.SQLServer.2014.ReportingServices.DeploymentWatcher
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.ReportingServices.DataSource.TSQLCountersReportingServiceCustom Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2014.ReportingServices.PerformanceRule.DeploymentWatcher.CountOfFailedReportExecutions" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.ReportingServices.DataSource.TSQLCountersReportingServiceCustom" RunAs="SQLRS!Microsoft.SQLServer.2014.ReportingServices.RunAsProfile.Monitoring">
<DatabaseServerName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher"]/ServerFQDN$</DatabaseServerName>
<DatabaseInstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher"]/DBInstanceName$</DatabaseInstanceName>
<DBConnectionString>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher"]/DBConnectionString$</DBConnectionString>
<DatabaseName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher"]/DBName$</DatabaseName>
<ServerName/>
<InstanceName/>
<TSQLCounterClassName>PerformanceStatistics</TSQLCounterClassName>
<TSQLCounterPropertyName>ExecutionFailures</TSQLCounterPropertyName>
<TimeOut>200</TimeOut>
<IntervalSeconds>300</IntervalSeconds>
<DividerIfGreater>0</DividerIfGreater>
<Divider>1</Divider>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL RS Deployment Watcher</ObjectName>
<CounterName>Failed report executions/min</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='ExecutionFailures']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>