This rule collects the performance metric Used Storage GB Total for Hyper-V Virtual Machine.
Metric definition:
Total storage space (in GB) committed to the virtual machine across all virtual devices.
Disabling this rule will stop collection of the metric into Ops Mgr and it will not be visible in views and reports. However, any monitor based on the same metric will continue to function.
See the Help Center for more information including reference lists of all Rules and Monitors and User Guide for the Veeam Hyper-V MP.
See the Microsoft Online Documentation for more information on Microsoft Hyper-V.
Target | Veeam.Virt.Extensions.HyperV.VirtualMachine |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Veeam.Virt.Extensions.HyperV.Module.VM.UsedStorage.PerformanceProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Veeam.Virt.Extensions.HyperV.VMRule.DISK.usedStorage" Enabled="onEssentialMonitoring" Target="VVEHL!Veeam.Virt.Extensions.HyperV.VirtualMachine" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Veeam.Virt.Extensions.HyperV.Module.VM.UsedStorage.PerformanceProvider">
<VMID>$Target/Property[Type="VVEHL!Veeam.Virt.Extensions.HyperV.VirtualMachine"]/id$</VMID>
<ObjectName>Hyper-V Virtual Storage Device</ObjectName>
<CounterName>Used Storage GB</CounterName>
<InstanceName>_Total</InstanceName>
<Value>$Data/UsedStorage$</Value>
<FilterExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">InstanceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">_Total</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">UsedStorage</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FilterExpression>
<IntervalSeconds>1200</IntervalSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>