介面使用率 (netcor)

System.NetworkManagement.MIB2.NetworkAdapter.CurrentUtilization (Rule)

收集介面的使用率

Knowledge Base article:

摘要

此規則會收集網路介面目前的使用率。 連接埠或介面的目前使用率是指,在某段間隔時間內傳送的總位元數佔該相同間隔時間內本來可傳送的總位元數的比例,以百分比表示。 值 100% 表示若該段期間有更多流量送達,部分流量會因為容量不足而遭到捨棄。

Element properties:

TargetSystem.NetworkManagement.MIB2_Base_NetworkAdapter
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.NetworkManagement.NetworkAdapter.Utilization Default
CollectionFilter ConditionDetection System.NetworkManagement.ExpressionFilter Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="System.NetworkManagement.MIB2.NetworkAdapter.CurrentUtilization" Enabled="false" Target="NetworkLibrary!System.NetworkManagement.MIB2_Base_NetworkAdapter" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="System.NetworkManagement.NetworkAdapter.Utilization">
<Interval>300</Interval>
<NoOfRetries>3</NoOfRetries>
<Timeout>3500</Timeout>
<OIDMaxSpeed>.1.3.6.1.2.1.2.2.1.5.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.NetworkAdapter"]/Index$</OIDMaxSpeed>
<OIDInOctets>.1.3.6.1.2.1.2.2.1.10.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.NetworkAdapter"]/Index$</OIDInOctets>
<OIDOutOctets>.1.3.6.1.2.1.2.2.1.16.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.NetworkAdapter"]/Index$</OIDOutOctets>
<MaxSpeedFactor>1</MaxSpeedFactor>
<DefaultValue>0.0</DefaultValue>
</DataSource>
</DataSources>
<ConditionDetection ID="CollectionFilter" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression/>
<SuppressionSettings>
<MatchCount>3</MatchCount>
<SampleCount>3</SampleCount>
</SuppressionSettings>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>