ヘルス サービスの連続するサンプルの二重しきい値モニターの種類

Microsoft.SystemCenter.HealthService.ConsecutiveSampleDoubleThreshold (UnitMonitorType)

エージェントの使用するキューの長さを測定するモニターの種類です。

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$頻度
NumSamplesint$Config/NumSamples$サンプル数
WarningThresholddouble$Config/WarningThreshold$警告しきい値警告しきい値の値
ErrorThresholddouble$Config/ErrorThreshold$エラーしきい値エラーしきい値の値

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>