Hyper-V MPE 2019 Virtual Switch Bytes/Sec

HyperV.MPE.2019.SRHV.VirtualSwitchBytesSec.Rule (Rule)

Element properties:

TargetMicrosoft.Windows.HyperV.VirtualNetwork
CategoryPerformanceCollection
EnabledFalse
Instance NameHyper-V Virtual Switch
Counter NameBytes/sec
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="HyperV.MPE.2019.SRHV.VirtualSwitchBytesSec.Rule" Enabled="false" Target="MSWinHVLib!Microsoft.Windows.HyperV.VirtualNetwork" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="MSWinLib!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Bytes/sec</CounterName>
<ObjectName>Hyper-V Virtual Switch</ObjectName>
<InstanceName>$Target/Property[Type="MSWinHVLib!Microsoft.Windows.HyperV.VirtualNetwork"]/NetworkName$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="MSSCLib!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>