Ontvangen kilobytes per seconde door virtuele netwerkadapter

Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VNic.NetReceivedThroughput (Rule)

Met deze regel wordt het aantal door de virtuele netwerkadapter ontvangen kilobytes per seconde verzameld.

Knowledge Base article:

Overzicht

Met deze regel wordt het aantal door de virtuele netwerkadapter ontvangen kilobytes per seconde verzameld. Deze gegevens worden standaard elke tien minuten verzameld en de waarde vertegenwoordigt de gemiddelde doorvoer tijdens het verzamelingsinterval.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Network.2012.VNic
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<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>