Type d'analyse d'espace libre de base de données

Microsoft.SQLServer.2016.AnalysisServices.MonitorType.Database.FreeSpacePercent (UnitMonitorType)

Element properties:

RunAsMicrosoft.SQLServer.MonitoringAccount
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.AnalysisServices.DataSource.DatabaseSpace Default
CDAbove ConditionDetection System.ExpressionFilter Default
CDBelow ConditionDetection System.ExpressionFilter Default
CDBetween ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
CriticalThresholddouble$Config/CriticalThreshold$Seuil critique (en \%)L'état d'intégrité passe à Critique quand le compteur de performances de l'espace libre de base de données (en \%) passe sous le seuil.
WarningThresholddouble$Config/WarningThreshold$Seuil d'avertissement (en \%)L'état d'intégrité passe à Avertissement si le compteur de performances de l'espace libre de base de données (en \%) passe sous le seuil mais dépasse le seuil critique (en \%).
IntervalSecondsint$Config/IntervalSeconds$Intervalle en secondesL'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.

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2016.AnalysisServices.MonitorType.Database.FreeSpacePercent" Accessibility="Internal" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<MonitorTypeStates>
<MonitorTypeState ID="Above" NoDetection="false"/>
<MonitorTypeState ID="Below" NoDetection="false"/>
<MonitorTypeState ID="Between" 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="DatabaseName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConnectionString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DataDir" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CriticalThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WarningThreshold" 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="CriticalThreshold" ParameterType="double" Selector="$Config/CriticalThreshold$"/>
<OverrideableParameter ID="WarningThreshold" ParameterType="double" Selector="$Config/WarningThreshold$"/>
<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.AnalysisServices.DataSource.DatabaseSpace">
<ServiceName>$Config/ServiceName$</ServiceName>
<DatabaseName>$Config/DatabaseName$</DatabaseName>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<DataDir>$Config/DataDir$</DataDir>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CDAbove" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='DatabaseFreeSpacePercent']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDBetween" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='DatabaseFreeSpacePercent']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='DatabaseFreeSpacePercent']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/CriticalThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDBelow" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='DatabaseFreeSpacePercent']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/CriticalThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Above">
<Node ID="CDAbove">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Between">
<Node ID="CDBetween">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Below">
<Node ID="CDBelow">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>