Delta-Schwellenwert

System.Performance.DeltaThreshold (UnitMonitorType)

Der Monitor wechselt den Status, wenn die über eine bestimmte Anzahl von Abtastungen berechnete Veränderung des Leistungsindikators (Anstieg oder Abfall) den Schwellenwert übersteigt. Ein negativer Deltawert bedeutet einen Abfall des Leistungsindikators.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource System.Performance.DataProvider Default
CDDeltaThreshold ConditionDetection System.Performance.DeltaValueCondition Default
CDOverThreshold ConditionDetection System.ExpressionFilter Default
CDUnderThreshold ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Frequencyint$Config/Frequency$Häufigkeit
Thresholddouble$Config/Threshold$Schwellenwert

Source Code:

<UnitMonitorType ID="System.Performance.DeltaThreshold" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="UnderThreshold"/>
<MonitorTypeState ID="OverThreshold"/>
</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="ScaleBy" type="xsd:double" minOccurs="0" maxOccurs="1"/>
<xsd:element minOccurs="1" maxOccurs="1" name="Threshold" type="xsd:double"/>
<xsd:element minOccurs="1" maxOccurs="1" name="NumSamples" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" maxOccurs="1" name="Absolute">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="true"/>
<xsd:enumeration value="false"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Frequency" ParameterType="int" Selector="$Config/Frequency$"/>
<OverrideableParameter ID="Threshold" ParameterType="double" Selector="$Config/Threshold$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="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/ScaleBy$</ScaleBy>
</DataSource>
<ConditionDetection TypeID="System.Performance.DeltaValueCondition" ID="CDDeltaThreshold">
<NumSamples>$Config/NumSamples$</NumSamples>
<Absolute>$Config/Absolute$</Absolute>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDOverThreshold">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDUnderThreshold">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="UnderThreshold">
<Node ID="CDUnderThreshold">
<Node ID="CDDeltaThreshold">
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverThreshold">
<Node ID="CDOverThreshold">
<Node ID="CDDeltaThreshold">
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>