Hyper-V VM Storage Write Count

VKernel.CapacityAnalyzer.VirtualStorageWriteCount (Rule)

This counter represents the total number of write operations that have occured on this virtual device.

Element properties:

TargetVKernel.CapacityAnalyzer.HyperVVirtualStorageDevice
CategoryPerformanceCollection
EnabledTrue
Instance NameHyper-V Virtual Storage Device
Counter NameWrite Count
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="VKernel.CapacityAnalyzer.VirtualStorageWriteCount" Enabled="true" Target="VKernel.CapacityAnalyzer.HyperVVirtualStorageDevice" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Write Count</CounterName>
<ObjectName>Hyper-V Virtual Storage Device</ObjectName>
<InstanceName>$Target/Property[Type="VKernel.CapacityAnalyzer.HyperVVirtualStorageDevice"]/Name$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>