Moniteur des seuils d'utilisation élevés
System.NetworkManagement.NetworkAdapter.HighUtilizationThresholdMonitor (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="System.NetworkManagement.NetworkAdapter.HighUtilizationThresholdMonitor" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="MTSThresholdSuccess" NoDetection="false"/>
<MonitorTypeState ID="MTSThresholdError" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="Interval" type="xsd:integer"/>
<xsd:element maxOccurs="1" name="NoOfRetries" type="xsd:unsignedInt"/>
<xsd:element maxOccurs="1" name="Timeout" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" name="OIDMaxSpeed" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDInOctets" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDOutOctets" type="xsd:string"/>
<xsd:element minOccurs="1" name="MaxSpeedFactor" type="xsd:double"/>
<xsd:element minOccurs="1" name="Threshold" type="xsd:double"/>
<xsd:element minOccurs="1" name="NumberOfSamples" 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="Threshold" Selector="$Config/Threshold$" ParameterType="int"/>
<OverrideableParameter ID="NumberOfSamples" Selector="$Config/NumberOfSamples$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="SnmpDS" TypeID="System.NetworkManagement.NetworkAdapter.Utilization">
<Interval>$Config/Interval$</Interval>
<NoOfRetries>$Config/NoOfRetries$</NoOfRetries>
<Timeout>$Config/Timeout$</Timeout>
<OIDMaxSpeed>$Config/OIDMaxSpeed$</OIDMaxSpeed>
<OIDInOctets>$Config/OIDInOctets$</OIDInOctets>
<OIDOutOctets>$Config/OIDOutOctets$</OIDOutOctets>
<MaxSpeedFactor>$Config/MaxSpeedFactor$</MaxSpeedFactor>
<DefaultValue>0.0</DefaultValue>
</DataSource>
<ConditionDetection ID="OperationStatusSuccess" 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>
<ConditionDetection ID="OperationStatusError" 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>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="MTSThresholdError">
<Node ID="OperationStatusError">
<Node ID="SnmpDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="MTSThresholdSuccess">
<Node ID="OperationStatusSuccess">
<Node ID="SnmpDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>