Collection rule for the performance counter Network Adapter\Bytes Sent/Sec
This rule collects performance data for the Network Adapter\Bytes Sent/sec performance counter. The collected values are accessible in performance views and reports.
This metric exposes the number of bytes per second sent over the network adapter, including framing characters.
The value returned by the agent is a cumulative counter of bytes sent 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.
Target | Microsoft.Linux.SLES.10.NetworkAdapter |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
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 |
<Rule ID="Microsoft.Linux.SLES.10.NetworkAdapter.BytesSentPerSec.Collection" Target="Microsoft.Linux.SLES.10.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 Sent/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(.)='BytesTransmitted']</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>