Performance Baseline Monitor - Two State Baselining

Microsoft.SystemCenter.NTService.TwoStateBaseliningMonitorType (UnitMonitorType)

A two state performance baselining monitor.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource Microsoft.SystemCenter.NTService.RawPerfCounterProvider Default
CDAboveEnvelope ConditionDetection System.ExpressionFilter Default
CDBaselining ConditionDetection System.Performance.Baselining Default
CDLearning ConditionDetection System.Performance.LearningModule Default
CDWithinOrBelowEnvelope ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
OuterSensitivitydouble$Config/LearningAndBaseliningSettings/OuterSensitivity$Outer Sensitivity
InnerSensitivitydouble$Config/LearningAndBaseliningSettings/InnerSensitivity$Inner Sensitivity

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.NTService.TwoStateBaseliningMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="AboveEnvelope"/>
<MonitorTypeState ID="WithinOrBelowEnvelope"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="SignatureID" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="DataSourceSettings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ServiceName" type="xsd:string"/>
<xsd:element name="ObjectName" type="xsd:string"/>
<xsd:element name="CounterName" type="xsd:string"/>
<xsd:element name="InstanceProperty" type="xsd:string"/>
<xsd:element name="ValueProperty" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LearningAndBaseliningSettings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="LearningType" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="NonContinuousLearningParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="InitialLearningPeriodInBizCycles" type="xsd:unsignedInt"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="EffectiveSamplingPeriodInSeconds" type="xsd:unsignedInt"/>
<xsd:element name="Offset1" type="xsd:unsignedInt"/>
<xsd:element name="Offset2" type="xsd:unsignedInt"/>
<xsd:element name="Offset3" type="xsd:unsignedInt"/>
<xsd:element name="LearningRate" type="xsd:double"/>
<xsd:element name="InitialNoAlertPeriodInBizCycles" type="xsd:unsignedInt"/>
<xsd:element name="OuterSensitivity" type="xsd:double"/>
<xsd:element name="InnerSensitivity" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="OuterSensitivity" ParameterType="double" Selector="$Config/LearningAndBaseliningSettings/OuterSensitivity$"/>
<OverrideableParameter ID="InnerSensitivity" ParameterType="double" Selector="$Config/LearningAndBaseliningSettings/InnerSensitivity$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="Microsoft.SystemCenter.NTService.RawPerfCounterProvider">
<ServiceName>$Config/DataSourceSettings/ServiceName$</ServiceName>
<ObjectName>$Config/DataSourceSettings/ObjectName$</ObjectName>
<CounterName>$Config/DataSourceSettings/CounterName$</CounterName>
<InstanceProperty>$Config/DataSourceSettings/InstanceProperty$</InstanceProperty>
<ValueProperty>$Config/DataSourceSettings/ValueProperty$</ValueProperty>
</DataSource>
<ConditionDetection TypeID="Performance!System.Performance.LearningModule" ID="CDLearning">
<NotRealTime>false</NotRealTime>
<BusinessCycleLengthUnit>Week</BusinessCycleLengthUnit>
<BusinessCycleLengthInGivenUnit>1</BusinessCycleLengthInGivenUnit>
<Settings>
<LearningType>$Config/LearningAndBaseliningSettings/LearningType$</LearningType>
<NonContinuousLearningParameters>$Config/LearningAndBaseliningSettings/NonContinuousLearningParameters$</NonContinuousLearningParameters>
<EffectiveSamplingPeriodInSeconds>$Config/LearningAndBaseliningSettings/EffectiveSamplingPeriodInSeconds$</EffectiveSamplingPeriodInSeconds>
<Offset1>$Config/LearningAndBaseliningSettings/Offset1$</Offset1>
<Offset2>$Config/LearningAndBaseliningSettings/Offset2$</Offset2>
<Offset3>$Config/LearningAndBaseliningSettings/Offset3$</Offset3>
<LearningRate>$Config/LearningAndBaseliningSettings/LearningRate$</LearningRate>
</Settings>
<DBUpdateIntervalInSeconds>600</DBUpdateIntervalInSeconds>
<Sensitivity>$Config/LearningAndBaseliningSettings/InnerSensitivity$</Sensitivity>
<SignatureID>$Config/SignatureID$</SignatureID>
</ConditionDetection>
<ConditionDetection TypeID="Performance!System.Performance.Baselining" ID="CDBaselining">
<BusinessCycleLengthUnit>Week</BusinessCycleLengthUnit>
<BusinessCycleLengthInGivenUnit>1</BusinessCycleLengthInGivenUnit>
<EffectiveSamplingPeriodInSeconds>$Config/LearningAndBaseliningSettings/EffectiveSamplingPeriodInSeconds$</EffectiveSamplingPeriodInSeconds>
<InitialNoAlertPeriodInBizCycles>$Config/LearningAndBaseliningSettings/InitialNoAlertPeriodInBizCycles$</InitialNoAlertPeriodInBizCycles>
<OuterSensitivity>$Config/LearningAndBaseliningSettings/OuterSensitivity$</OuterSensitivity>
<InnerSensitivity>$Config/LearningAndBaseliningSettings/InnerSensitivity$</InnerSensitivity>
<Offset1>$Config/LearningAndBaseliningSettings/Offset1$</Offset1>
<Offset2>$Config/LearningAndBaseliningSettings/Offset2$</Offset2>
<Offset3>$Config/LearningAndBaseliningSettings/Offset3$</Offset3>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDAboveEnvelope">
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>AboveOuterEnvelope</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>AboveInnerEnvelope</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDWithinOrBelowEnvelope">
<Expression>
<Or>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>WithinInnerEnvelope</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>InsufficientInfo</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>BelowInnerEnvelope</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='state']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>BelowOuterEnvelope</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</Or>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="AboveEnvelope">
<Node ID="CDAboveEnvelope">
<Node ID="CDBaselining">
<Node ID="CDLearning">
<Node ID="DS1"/>
</Node>
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WithinOrBelowEnvelope">
<Node ID="CDWithinOrBelowEnvelope">
<Node ID="CDBaselining">
<Node ID="CDLearning">
<Node ID="DS1"/>
</Node>
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>