This rule collects the number of bytes sent per second by the virtual switch port.
This rule collects the number of bytes sent per second by the virtual switch port. This collection is done by default every 30 minutes and the value represents the average throughput during the collection interval.
Target | Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VPort |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerformanceDS | DataSource | Microsoft.SystemCenter.VirtualMachineManager.2012.Report.TimedPowerShell.VPortUsagePerformanceProvider | 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.Vport.BytesSentPerSec" Enabled="true" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.Network.2012.VPort" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.Report.TimedPowerShell.VPortUsagePerformanceProvider">
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>600</TimeoutSeconds>
<Parameters>
<Parameter>
<Name>DeviceID</Name>
<Value>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.Network.VirtualNetworkAdapter"]/DeviceId$</Value>
</Parameter>
</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">Bytes Sent/sec</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>