高使用率閾值監視

System.NetworkManagement.NetworkAdapter.HighUtilizationThresholdMonitor (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
SnmpDS DataSource System.NetworkManagement.NetworkAdapter.Utilization Default
OperationStatusError ConditionDetection System.NetworkManagement.ExpressionFilter Default
OperationStatusSuccess ConditionDetection System.NetworkManagement.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$間隔監視執行的間隔秒數
NoOfRetriesint$Config/NoOfRetries$重試次數SNMP GET 作業逾時重試的次數
Timeoutint$Config/Timeout$逾時SNMP GET 作業逾時前經過的時間 (毫秒)
Thresholdint$Config/Threshold$閾值若超過此閾值,則會測量效能值
NumberOfSamplesint$Config/NumberOfSamples$相符次數在觸發監視之前值必須超過閾值的次數

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>