Hyper-V - vNIC Bytes Sent Per Second

QND.Hyperv2012R2.vNicBytesSntPerSec.Rule (Rule)

Collects Bytes Received Per second

Element properties:

TargetQND.HyperV.2012R2.VirtualNetworkAdapter
CategoryPerformanceCollection
EnabledTrue
Instance NameHyper-V Virtual Network Adapter
Counter NameBytes Sent/sec
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Default
CollectToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
CollectToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="QND.Hyperv2012R2.vNicBytesSntPerSec.Rule" Target="QND.HyperV.2012R2.VirtualNetworkAdapter" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Perf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type='QND.Hyperv.2012R2.VM']/HostName$</ComputerName>
<CounterName>Bytes Sent/sec</CounterName>
<ObjectName>Hyper-V Virtual Network Adapter</ObjectName>
<InstanceName>$Target/Property[Type='QND.HyperV.VMHardwareComponent']/PerfInstance$</InstanceName>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>