Type d'analyse de service Web accessible

Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.WebServiceAccessibleMonitor (UnitMonitorType)

Type d’analyse de connexion de base de données pour l’instance de Reporting Services

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource System.Scheduler Default
Probe ProbeAction Microsoft.SQLServer.2014.ReportingServices.ProbeAction.WebServiceAccessibleMonitor Default
IsError ConditionDetection System.ExpressionFilter.IntervalSuppression Default
IsSuccessful ConditionDetection System.ExpressionFilter Default
URLNotEmpty ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
SampleCountint$Config/SampleCount$Nombre d'échantillonsIndique le nombre de dépassements de seuil d’une valeur mesurée avant la modification de l’état.
TimeOutint$Config/TimeOut$Délai d'expiration pour la connexion WebLe workflow échoue et enregistre un événement s’il ne peut pas accéder à la ressource web pendant la période spécifiée.
IntervalSecondsint$Config/IntervalSeconds$Intervalle (en secondes)L'intervalle de temps récurrent en secondes pendant lequel le workflow est exécuté.
SyncTimestring$Config/SyncTime$Heure de synchronisationL'heure de synchronisation spécifiée dans un format de 24 heures. Peut être omise.
TimeoutSecondsint$Config/TimeoutSeconds$Délai d'attente (secondes)Spécifie la durée pendant laquelle le workflow est autorisé à être exécuté avant d'être fermé et marqué comme un échec.
IgnoredStatusCodesstring$Config/IgnoredStatusCodes$Vérification des codes d’état ignoréeCe paramètre permet de vérifier si des réponses de services web contenant des codes d’état indubitablement non valides doivent être transmises comme des réponses valides. Vous pouvez établir une liste de codes valides séparés par des points-virgules.

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.WebServiceAccessibleMonitor" Accessibility="Internal" RunAs="SQLRS!Microsoft.SQLServer.2014.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="ServiceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServiceUrl" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SampleCount" 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="IntervalSeconds" 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"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IgnoredStatusCodes" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="SampleCount" ParameterType="int" Selector="$Config/SampleCount$"/>
<OverrideableParameter ID="TimeOut" ParameterType="int" Selector="$Config/TimeOut$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="IgnoredStatusCodes" ParameterType="string" Selector="$Config/IgnoredStatusCodes$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Trigger" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SQLServer.2014.ReportingServices.ProbeAction.WebServiceAccessibleMonitor">
<ServiceName>$Config/ServiceName$</ServiceName>
<ServiceUrl>$Config/ServiceUrl$</ServiceUrl>
<TimeOut>$Config/TimeOut$</TimeOut>
<Publisher>ReportingServices2014</Publisher>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IgnoredStatusCodes>$Config/IgnoredStatusCodes$</IgnoredStatusCodes>
</ProbeAction>
<ConditionDetection ID="URLNotEmpty" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<Value Type="String">$Config/ServiceUrl$</Value>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>?*</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="IsSuccessful" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="IsError" TypeID="System!System.ExpressionFilter.IntervalSuppression">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Error</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/SampleCount$</MatchCount>
<SampleCount>$Config/SampleCount$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="IsSuccessful">
<Node ID="Probe">
<Node ID="URLNotEmpty">
<Node ID="Trigger"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="IsError">
<Node ID="Probe">
<Node ID="URLNotEmpty">
<Node ID="Trigger"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>