Byte Received/Sec (Red Hat Enterprise Linux Server 5)

Microsoft.Linux.RHEL.5.NetworkAdapter.BytesReceivedPerSec.Collection (Rule)

Collection rule for the performance counter Network Adapter\Bytes Received/Sec

Knowledge Base article:

Summary

This rule collects performance data for the Network Adapter\Bytes Received/sec performance counter. The collected values are accessible in performance views and reports.

This metric exposes the number of bytes per second received over the network adapter, including framing characters.

The value returned by the agent is a cumulative counter of bytes received for the network adapter. The rule calculates the delta of bytes between successive samples (where the Number of Samples parameter controls the number of samples included in the calculation) and divides this delta value by the number of seconds between the sample collection times.

Element properties:

TargetMicrosoft.Linux.RHEL.5.NetworkAdapter
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.PerfCounterProvider.Filtered.Delta Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Linux.RHEL.5.NetworkAdapter.BytesReceivedPerSec.Collection" Target="Microsoft.Linux.RHEL.5.NetworkAdapter" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered.Delta">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_EthernetPortStatistics?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Network Adapter</ObjectName>
<CounterName>Bytes Received/Sec</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_EthernetPortStatistics']/*[local-name(.)='InstanceID']</InstanceProperty>
<Value>/DataItem/WsManData/*[local-name(.)='SCX_EthernetPortStatistics']/*[local-name(.)='BytesReceived']</Value>
<NumSamples>1</NumSamples>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>