Монитор с двумя состояниями без сжатия
Microsoft.MSMQ.6.3.Queue.TwoStateBaseliningMonitorWithoutCompression (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.MSMQ.6.3.Queue.TwoStateBaseliningMonitorWithoutCompression" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Above" NoDetection="false"/>
<MonitorTypeState ID="Below" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="SignatureID" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="DataSourceSettings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IntervalSeconds" type="xsd:integer"/>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="QueuePath" type="xsd:string"/>
<xsd:element name="CounterName" type="xsd:string"/>
<xsd:element name="LogDetail" type="xsd:boolean"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LearningAndBaseliningSettings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="BusinessCycleLengthUnit" type="xsd:string"/>
<xsd:element name="BusinessCycleLengthInGivenUnit" type="xsd:unsignedInt"/>
<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="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>
<xsd:element name="SignatureCollectionSettings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DBUpdatePeriodInSeconds" type="xsd:unsignedInt"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/DataSourceSettings/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/DataSourceSettings/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="OuterSensitivity" Selector="$Config/LearningAndBaseliningSettings/OuterSensitivity$" ParameterType="double"/>
<OverrideableParameter ID="InnerSensitivity" Selector="$Config/LearningAndBaseliningSettings/InnerSensitivity$" ParameterType="double"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="Microsoft.MSMQ.6.3.DataSource.Queue.Statistics.PerformanceRaw">
<IntervalSeconds>$Config/DataSourceSettings/IntervalSeconds$</IntervalSeconds>
<ComputerName>$Config/DataSourceSettings/ComputerName$</ComputerName>
<QueuePath>$Config/DataSourceSettings/QueuePath$</QueuePath>
<CounterName>$Config/DataSourceSettings/CounterName$</CounterName>
<LogDetail>$Config/DataSourceSettings/LogDetail$</LogDetail>
<TimeoutSeconds>$Config/DataSourceSettings/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CDLearning" TypeID="SystemPerf!System.Performance.LearningModule">
<NotRealTime>false</NotRealTime>
<BusinessCycleLengthUnit>$Config/LearningAndBaseliningSettings/BusinessCycleLengthUnit$</BusinessCycleLengthUnit>
<BusinessCycleLengthInGivenUnit>$Config/LearningAndBaseliningSettings/BusinessCycleLengthInGivenUnit$</BusinessCycleLengthInGivenUnit>
<Settings>
<LearningType>$Config/LearningAndBaseliningSettings/LearningType$</LearningType>
<NonContinuousLearningParameters>$Config/LearningAndBaseliningSettings/NonContinuousLearningParameters$</NonContinuousLearningParameters>
<EffectiveSamplingPeriodInSeconds>$Config/DataSourceSettings/IntervalSeconds$</EffectiveSamplingPeriodInSeconds>
<Offset1>$Config/LearningAndBaseliningSettings/Offset1$</Offset1>
<Offset2>$Config/LearningAndBaseliningSettings/Offset2$</Offset2>
<Offset3>$Config/LearningAndBaseliningSettings/Offset3$</Offset3>
<LearningRate>$Config/LearningAndBaseliningSettings/LearningRate$</LearningRate>
</Settings>
<DBUpdateIntervalInSeconds>$Config/SignatureCollectionSettings/DBUpdatePeriodInSeconds$</DBUpdateIntervalInSeconds>
<Sensitivity>$Config/LearningAndBaseliningSettings/InnerSensitivity$</Sensitivity>
<SignatureID>$Config/SignatureID$</SignatureID>
</ConditionDetection>
<ConditionDetection ID="CDBaselining" TypeID="SystemPerf!System.Performance.Baselining">
<BusinessCycleLengthUnit>$Config/LearningAndBaseliningSettings/BusinessCycleLengthUnit$</BusinessCycleLengthUnit>
<BusinessCycleLengthInGivenUnit>$Config/LearningAndBaseliningSettings/BusinessCycleLengthInGivenUnit$</BusinessCycleLengthInGivenUnit>
<EffectiveSamplingPeriodInSeconds>$Config/DataSourceSettings/IntervalSeconds$</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 ID="CDOutsideEnvelope" TypeID="System!System.ExpressionFilter">
<Expression>
<Or>
<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>
<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>
</Or>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDWithinEnvelope" TypeID="System!System.ExpressionFilter">
<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>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Above">
<Node ID="CDOutsideEnvelope">
<Node ID="CDBaselining">
<Node ID="CDLearning">
<Node ID="DS1"/>
</Node>
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Below">
<Node ID="CDWithinEnvelope">
<Node ID="CDBaselining">
<Node ID="CDLearning">
<Node ID="DS1"/>
</Node>
<Node ID="DS1"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>