Монитор производительности памяти
System.NetworkManagement.MemoryPerfMonitorType (UnitMonitorType)
Монитор, отслеживающий производительность памяти
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="System.NetworkManagement.MemoryPerfMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="MTSThresholdSuccess" NoDetection="false"/>
<MonitorTypeState ID="MTSThresholdError" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" maxOccurs="1" default="240" name="Interval" type="xsd:integer"/>
<xsd:element minOccurs="1" maxOccurs="1" default="3" name="NoOfRetries" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" maxOccurs="1" default="1500" name="Timeout" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" maxOccurs="1" default="3" name="NumberOfSamples" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" maxOccurs="1" name="FreeMemoryOID" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="UsedMemoryOID" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="ValidMemoryOID" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="ValidMemoryValue" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" name="Threshold" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="NoOfRetries" Selector="$Config/NoOfRetries$" ParameterType="int"/>
<OverrideableParameter ID="Timeout" Selector="$Config/Timeout$" ParameterType="int"/>
<OverrideableParameter ID="NumberOfSamples" Selector="$Config/NumberOfSamples$" ParameterType="int"/>
<OverrideableParameter ID="Threshold" Selector="$Config/Threshold$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ProbeDS" TypeID="System.NetworkManagement.MemoryPerfProvider">
<Interval>$Config/Interval$</Interval>
<NoOfRetries>$Config/NoOfRetries$</NoOfRetries>
<Timeout>$Config/Timeout$</Timeout>
<FreeMemoryOID>$Config/FreeMemoryOID$</FreeMemoryOID>
<UsedMemoryOID>$Config/UsedMemoryOID$</UsedMemoryOID>
<ValidMemoryOID>$Config/ValidMemoryOID$</ValidMemoryOID>
<ValidMemoryValue>$Config/ValidMemoryValue$</ValidMemoryValue>
<ObjectName>Memory</ObjectName>
<CounterName>Free Memory %</CounterName>
</DataSource>
<ConditionDetection ID="OperationStatusSuccess" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/NumberOfSamples$</MatchCount>
<SampleCount>$Config/NumberOfSamples$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
<ConditionDetection ID="OperationStatusError" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/NumberOfSamples$</MatchCount>
<SampleCount>$Config/NumberOfSamples$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="MTSThresholdSuccess">
<Node ID="OperationStatusSuccess">
<Node ID="ProbeDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="MTSThresholdError">
<Node ID="OperationStatusError">
<Node ID="ProbeDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>