Tipo de monitor do limite duplo de amostra consecutiva do serviço de integridade

Microsoft.SystemCenter.HealthService.ConsecutiveSampleDoubleThreshold (UnitMonitorType)

Tipo de monitor para medir o tamanho do uso da fila do agente.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource System.Performance.DataProvider Default
CD1 ConditionDetection System.Performance.ConsecutiveSamplesCondition Default
CDInSufficientSamples ConditionDetection System.ExpressionFilter Default
CDOverErrorThreshold ConditionDetection System.ExpressionFilter Default
CDOverWarningThresholdUnderErrorThreshold ConditionDetection System.ExpressionFilter Default
CDSufficientSamples ConditionDetection System.ExpressionFilter Default
CDUnderWarningThreshold ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Frequencyint$Config/Frequency$Frequência
NumSamplesint$Config/NumSamples$Número de Amostras
WarningThresholddouble$Config/WarningThreshold$Limite de AvisoValor limite de aviso
ErrorThresholddouble$Config/ErrorThreshold$Limite de ErroValor limite de erro

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.HealthService.ConsecutiveSampleDoubleThreshold" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="UnderWarningThreshold"/>
<MonitorTypeState ID="OverWarningThresholdUnderErrorThreshold"/>
<MonitorTypeState ID="OverErrorThreshold"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="ComputerName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="CounterName" type="xsd:string"/>
<xsd:element name="ObjectName" type="xsd:string"/>
<xsd:element name="InstanceName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="AllInstances" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Frequency" type="xsd:unsignedInt"/>
<xsd:element name="PercentFull" type="xsd:double" minOccurs="0" maxOccurs="1"/>
<xsd:element name="NumSamples" type="xsd:unsignedInt" minOccurs="1" maxOccurs="1"/>
<xsd:element name="WarningThreshold" type="xsd:double"/>
<xsd:element name="ErrorThreshold" type="xsd:double"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Frequency" ParameterType="int" Selector="$Config/Frequency$"/>
<OverrideableParameter ID="NumSamples" ParameterType="int" Selector="$Config/NumSamples$"/>
<OverrideableParameter ID="WarningThreshold" ParameterType="double" Selector="$Config/WarningThreshold$"/>
<OverrideableParameter ID="ErrorThreshold" ParameterType="double" Selector="$Config/ErrorThreshold$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Performance!System.Performance.DataProvider" ID="DS1">
<ComputerName>$Config/ComputerName$</ComputerName>
<CounterName>$Config/CounterName$</CounterName>
<ObjectName>$Config/ObjectName$</ObjectName>
<InstanceName>$Config/InstanceName$</InstanceName>
<AllInstances>$Config/AllInstances$</AllInstances>
<Frequency>$Config/Frequency$</Frequency>
<ScaleBy>$Config/PercentFull$</ScaleBy>
</DataSource>
<ConditionDetection TypeID="Performance!System.Performance.ConsecutiveSamplesCondition" ID="CD1">
<Threshold>$Config/NumSamples$</Threshold>
<Direction>greaterequal</Direction>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDSufficientSamples">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDInSufficientSamples">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDUnderWarningThreshold">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDOverWarningThresholdUnderErrorThreshold">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDOverErrorThreshold">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/ErrorThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="UnderWarningThreshold">
<Node ID="CDInSufficientSamples">
<Node ID="CD1">
<Node ID="CDUnderWarningThreshold">
<Node ID="DS1"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverWarningThresholdUnderErrorThreshold">
<Node ID="CDSufficientSamples">
<Node ID="CD1">
<Node ID="CDOverWarningThresholdUnderErrorThreshold">
<Node ID="DS1"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverErrorThreshold">
<Node ID="CDSufficientSamples">
<Node ID="CD1">
<Node ID="CDOverErrorThreshold">
<Node ID="DS1"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>