レポート実行インスタンスの失敗の状態のモニターの種類

Microsoft.SQLServer.2016.ReportingServices.MonitorType.Instance.ReportsExecutionFailure (UnitMonitorType)

Reporting Services のインスタンスのレポート実行失敗の状態モニターの種類

Element properties:

RunAsMicrosoft.SQLServer.MonitoringAccount
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.ReportingServices.DataSource.TSQLCountersReportingServiceCustom Default
CDError ConditionDetection System.ExpressionFilter Default
CDSuccess ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholdint$Config/Threshold$しきい値モニターは、1 分あたりのレポート実行の失敗数が、絶対値で表現されたしきい値を超えていないか確認します。
SampleCountint$Config/SampleCount$サンプル数測定値が何回しきい値に違反すると状態変更が生じるかを示します。
IntervalSecondsint$Config/IntervalSeconds$間隔 (秒)ワークフローを実行する定期的な実行間隔 (秒)。
TimeOutint$Config/TimeOut$データベース接続のタイムアウト指定された期間中にデータベースにアクセスできない場合、ワークフローは失敗し、イベントが登録されます。
SyncTimestring$Config/SyncTime$同期時刻24 時間形式で指定した同期時刻。省略可能です。
TimeoutSecondsint$Config/TimeoutSeconds$タイムアウト (秒)ワークフローが終了して失敗とマークされるまでの、ワークフローの許容実行時間を指定します。

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2016.ReportingServices.MonitorType.Instance.ReportsExecutionFailure" Accessibility="Internal" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Threshold" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SampleCount" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeOut" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Threshold" ParameterType="int" Selector="$Config/Threshold$"/>
<OverrideableParameter ID="SampleCount" ParameterType="int" Selector="$Config/SampleCount$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="TimeOut" ParameterType="int" Selector="$Config/TimeOut$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.ReportingServices.DataSource.TSQLCountersReportingServiceCustom">
<DatabaseServerName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance"]/DatabaseServerFQDN$</DatabaseServerName>
<DatabaseInstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance"]/DatabaseServerInstanceName$</DatabaseInstanceName>
<DBConnectionString>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance"]/DBConnectionString$</DBConnectionString>
<DatabaseName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance"]/DatabaseName$</DatabaseName>
<ServerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ServerName>
<InstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance"]/InstanceName$</InstanceName>
<TSQLCounterClassName>InstancePerformanceStatistics</TSQLCounterClassName>
<TSQLCounterPropertyName>ExecutionFailures</TSQLCounterPropertyName>
<TimeOut>$Config/TimeOut$</TimeOut>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<DividerIfGreater>0</DividerIfGreater>
<Divider>1</Divider>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CDSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='ExecutionFailures']</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDError" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='ExecutionFailures']</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/SampleCount$</MatchCount>
<SampleCount>$Config/SampleCount$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="CDSuccess">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="CDError">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>