Byte Sent/Sec (Solaris 10)

Microsoft.Solaris.10.NetworkAdapter.BytesSentPerSec.Collection (Rule)

Collection rule for the performance counter Network Adapter\Byte Sent/Sec

Knowledge Base article:

Summary

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.

Element properties:

TargetMicrosoft.Solaris.10.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.Solaris.10.NetworkAdapter.BytesSentPerSec.Collection" Target="Microsoft.Solaris.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>