This rule collects the number of KBytes received by every virtual NIC on both IPv4 and IPv6.
This rule collects the number of KBytes received at address 0.0.0.0/0 or 0::0/0 by every virtual network adapter on the target Hyper-V host over the collection interval. This collection is done by default every 1 hour and the value represents the total inbound traffic on the network adapter. Minimum granularity of data is 1024KBytes and recommended minimum collection interval is 1hour. For any information/errors logs generated by this rule, please check Operations Manager event log on the Hyper-V host for 1100-1102 events.
Target | Microsoft.SystemCenter.VirtualMachineManager.2016.HyperVHost |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerformanceDS | DataSource | Microsoft.SystemCenter.VirtualMachineManager.2016.Report.TimedPowerShell.HyperVResourceMeteringProvider | Default |
CounterCD | ConditionDetection | System.ExpressionFilter | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.VirtualMachineManager.2016.HyperVMeteringUsageInbound" Enabled="true" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.HyperVHost">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.Report.TimedPowerShell.HyperVResourceMeteringProvider">
<!-- This should be kept in sync with the other metering usage collection rules to ensure cookdown by the healthservice-->
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>600</TimeoutSeconds>
<Parameters/>
</DataSource>
</DataSources>
<ConditionDetection ID="CounterCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">CounterName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">KBytes Received</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>