This rule collects the number of KBytes received per second by the virtual network adapter.
This rule collects the number of KBytes received per second by the virtual network adapter. This collection is done by default every 10 minutes and the value represents the average throughput during the collection interval.
Target | Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VNic |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerformanceDS | DataSource | Microsoft.SystemCenter.VirtualMachineManager.2012.Report.TimedPowerShell.VNicUsagePerformanceProvider | Default |
CounterCD | ConditionDetection | System.ExpressionFilter | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VNic.NetReceivedThroughput" Enabled="true" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VNic">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.Report.TimedPowerShell.VNicUsagePerformanceProvider">
<!-- This should be kept in sync with the other VNic usage collection rules to ensure cookdown by the healthservice-->
<IntervalSeconds>600</IntervalSeconds>
<TimeoutSeconds>570</TimeoutSeconds>
<Parameters>
<Parameter>
<Name>VMMServer</Name>
<Value>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Parameter>
<Parameter>
<Name>domain</Name>
<Value>$RunAs[Name="PROV2Library!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerConnectionRunAsProfile"]/Domain$</Value>
</Parameter>
<Parameter>
<Name>username</Name>
<Value>$RunAs[Name="PROV2Library!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerConnectionRunAsProfile"]/UserName$</Value>
</Parameter>
<Parameter>
<Name>pass</Name>
<Value>$RunAs[Name="PROV2Library!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerConnectionRunAsProfile"]/Password$</Value>
</Parameter>
</Parameters>
</DataSource>
</DataSources>
<ConditionDetection ID="CounterCD" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">InstanceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.Network.VirtualNetworkAdapter"]/DeviceId$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">CounterName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">KBytes Received/sec</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>