Tipo di monitoraggio del conflitto di configurazione con SQL Server

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

Tipo di monitoraggio del conflitto di configurazione con SQL Server per 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.Memory Default
CDConfigurationConflict ConditionDetection System.ExpressionFilter Default
CDNoConfigurationConflict ConditionDetection System.ExpressionFilter Default
CDSQLServerInstalled ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholddouble$Config/Threshold$SogliaIl monitoraggio cambia il proprio stato e registra un avviso se SSRS e SQL Server sono in esecuzione nella stessa finestra e WorkingSetMaximum supera la soglia.
IntervalSecondsint$Config/IntervalSeconds$Intervallo (secondi)Intervallo di tempo ricorrente in secondi in cui eseguire il flusso di lavoro.
SyncTimestring$Config/SyncTime$Ora di sincronizzazioneOra di sincronizzazione specificata usando il formato a 24 ore. Può essere omessa.
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (secondi)Specifica il tempo di esecuzione consentito per il flusso di lavoro prima che venga chiuso e contrassegnato come non riuscito.

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2016.ReportingServices.MonitorType.Instance.ConfigurationConflictWithSQLServer" Accessibility="Internal" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<MonitorTypeStates>
<MonitorTypeState ID="ConfigurationConflict" NoDetection="false"/>
<MonitorTypeState ID="NoConfigurationConflict" NoDetection="false"/>
<MonitorTypeState ID="NoConflictNoSQLServer" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Threshold" type="xsd:double"/>
<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="double" 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.2016.ReportingServices.DataSource.Memory">
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<PerformanceCounterObject>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance']/PerformanceCounterObject$</PerformanceCounterObject>
<InstallPath>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance']/InstallPath$</InstallPath>
<ServiceName>$Target/Property[Type='SQLRS!Microsoft.SQLServer.2016.ReportingServices.Instance']/ServiceName$</ServiceName>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CDSQLServerInstalled" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='SQLServerInstalled']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDConfigurationConflict" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='WorkingSetMaximumPercent']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<!--if ((sql && Value<=$Config/Threshold$) || !sql)-->
<ConditionDetection ID="CDNoConfigurationConflict" TypeID="System!System.ExpressionFilter">
<Expression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='SQLServerInstalled']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='WorkingSetMaximumPercent']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='SQLServerInstalled']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">false</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ConfigurationConflict">
<Node ID="CDConfigurationConflict">
<Node ID="CDSQLServerInstalled">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NoConfigurationConflict">
<Node ID="CDNoConfigurationConflict">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>