Monitortyp für "Alle Bereitstellungsinstanzen ermittelt"

Microsoft.SQLServer.2012.ReportingServices.MonitorType.Deployment.AllInstancesAreDiscovered (UnitMonitorType)

Monitortyp für "Alle Bereitstellungsinstanzen ermittelt" für Reporting Services

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.ReportingServices.DataSource.AllInstancesAreDiscovered Default
CDAllInstances ConditionDetection System.ExpressionFilter Default
CDNotAllInstances ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholdint$Config/Threshold$Schwellenwert für die Anzahl der Instanzen ohne EntsprechungDer Monitor generiert eine Warnung, wenn die Anzahl von Instanzen ohne Entsprechung höher als der angegebene Wert oder gleich dem angegebenen Wert ist.
IntervalSecondsint$Config/IntervalSeconds$Intervall (Sekunden)Das periodische Intervall in Sekunden, in dem der Workflow ausgeführt werden soll.
SyncTimestring$Config/SyncTime$SynchronisierungszeitDie in einem 24-Stunden-Format angegebene Synchronisierungszeit. Kann ausgelassen werden.
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (Sekunden)Gibt die Zeit an, die der Workflow ausgeführt werden darf, bevor er geschlossen und als fehlgeschlagen markiert wird.

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.Deployment.AllInstancesAreDiscovered" Accessibility="Internal" RunAs="SQLRS!Microsoft.SQLServer.2012.ReportingServices.RunAsProfile.SDKDiscovery">
<MonitorTypeStates>
<MonitorTypeState ID="Error" NoDetection="false"/>
<MonitorTypeState ID="Success" 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="IntervalSeconds" type="xsd:integer"/>
<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="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<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.2012.ReportingServices.DataSource.AllInstancesAreDiscovered">
<DeploymentName>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2012.ReportingServices.Deployment']/DeploymentName$</DeploymentName>
<MpName>Microsoft.SQLServer.2012.ReportingServices.Discovery</MpName>
<DeploymentClassName>Microsoft.SQLServer.2012.ReportingServices.Deployment</DeploymentClassName>
<InstanceClassName>Microsoft.SQLServer.2012.ReportingServices.Instance</InstanceClassName>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CDNotAllInstances" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='UnmatchedInstancesCount']</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDAllInstances" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='UnmatchedInstancesCount']</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="CDAllInstances">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="CDNotAllInstances">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>