Type d'analyse de statut de défaillance d'instance d'exécution de rapports

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

Type d'analyse de statut de défaillance d'exécution de rapports pour une instance de Reporting Services

Element properties:

RunAsMicrosoft.SQLServer.2012.ReportingServices.RunAsProfile.Monitoring
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.ReportingServices.DataSource.TSQLCountersReportingServiceCustom Default
ErrorCondition ConditionDetection System.ExpressionFilter.IntervalSuppression Default
Mapper ConditionDetection System.Performance.DataGenericMapper Default
SuccessCondition ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholdint$Config/Threshold$SeuilL'analyse vérifie si le nombre d'exécutions de rapports échouées par minute ne dépasse pas le seuil exprimé sous forme de valeur absolue.
SampleCountint$Config/SampleCount$Nombre d'échantillonsIndique le nombre de dépassements de seuil d'une valeur mesurée avant la modification de l'état.
IntervalSecondsint$Config/IntervalSeconds$Intervalle (en secondes)L'intervalle de temps récurrent en secondes pendant lequel le workflow est exécuté.
TimeOutint$Config/TimeOut$Délai d'expiration de la connexion à la base de donnéesLe workflow échouera et enregistrera un événement s'il ne peut pas accéder à la base de données durant l'intervalle de temps spécifié.
SyncTimestring$Config/SyncTime$Heure de synchronisation

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.Instance.ReportsExecutionFailure" Accessibility="Internal" RunAs="SQLRS!Microsoft.SQLServer.2012.ReportingServices.RunAsProfile.Monitoring">
<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"/>
</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$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.ReportingServices.DataSource.TSQLCountersReportingServiceCustom">
<DatabaseServerName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.Instance"]/DatabaseServerFQDN$</DatabaseServerName>
<DatabaseInstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.Instance"]/DatabaseServerInstanceName$</DatabaseInstanceName>
<DatabaseName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.Instance"]/DatabaseName$</DatabaseName>
<ServerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ServerName>
<InstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.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>
</DataSource>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL RS Deployment Watcher</ObjectName>
<CounterName>Failed report executions per minute</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='ExecutionFailures']$</Value>
</ConditionDetection>
<ConditionDetection ID="SuccessCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorCondition" TypeID="System!System.ExpressionFilter.IntervalSuppression">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</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="SuccessCondition">
<Node ID="Mapper">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="ErrorCondition">
<Node ID="Mapper">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>