Consecutive Samples Threshold Error on Too High

Microsoft.SystemCenter.Process.ConsecutiveSamplesThreshold.ErrorOnTooHigh (UnitMonitorType)

Monitor is used to compare consecutive samples against a threshold for values exceeding the threshold.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.DataProvider Default
CD ConditionDetection System.Performance.ConsecutiveSamplesCondition Default
ExpressionNormalSamples ConditionDetection System.LogicalSet.ExpressionFilter Default
ExpressionTooHighSamples ConditionDetection System.LogicalSet.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Frequencyint$Config/Frequency$FrequencyThis parameter controls the frequency with which the threshold is compared.
Thresholddouble$Config/Threshold$ThresholdThis parameter controls the frequency with which the threshold is compared.
NumSamplesint$Config/NumSamples$Number of SamplesThis parameter controls the number of samples which are compared with the threshold.

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.Process.ConsecutiveSamplesThreshold.ErrorOnTooHigh" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="SampleCountTooHigh"/>
<MonitorTypeState ID="SampleCountNormal"/>
</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="Frequency" type="xsd:unsignedInt"/>
<xsd:element name="ScaleBy" type="xsd:double" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Threshold" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<xsd:element name="NumSamples" type="xsd:unsignedInt" minOccurs="1" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Frequency" ParameterType="int" Selector="$Config/Frequency$"/>
<OverrideableParameter ID="Threshold" ParameterType="double" Selector="$Config/Threshold$"/>
<OverrideableParameter ID="NumSamples" ParameterType="int" Selector="$Config/NumSamples$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Performance!System.Performance.DataProvider" ID="DS">
<ComputerName>$Config/ComputerName$</ComputerName>
<CounterName>$Config/CounterName$</CounterName>
<ObjectName>$Config/ObjectName$</ObjectName>
<InstanceName>$Config/InstanceName$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>$Config/Frequency$</Frequency>
<ScaleBy>$Config/ScaleBy$</ScaleBy>
</DataSource>
<ConditionDetection TypeID="Performance!System.Performance.ConsecutiveSamplesCondition" ID="CD">
<Threshold>$Config/Threshold$</Threshold>
<Direction>greater</Direction>
</ConditionDetection>
<ConditionDetection TypeID="System!System.LogicalSet.ExpressionFilter" ID="ExpressionNormalSamples">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<EmptySet>Passthrough</EmptySet>
<SetEvaluation>All</SetEvaluation>
</ConditionDetection>
<ConditionDetection TypeID="System!System.LogicalSet.ExpressionFilter" ID="ExpressionTooHighSamples">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<EmptySet>Block</EmptySet>
<SetEvaluation>Any</SetEvaluation>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="SampleCountTooHigh">
<Node ID="ExpressionTooHighSamples">
<Node ID="CD">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="SampleCountNormal">
<Node ID="ExpressionNormalSamples">
<Node ID="CD">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>