收集 Hyper-V 2016 及 1709+ 中硬碟已使用空間百分比。
此規則會收集 Hyper-V 2016 及 1709+ 中虛擬機器硬碟已使用空間的百分比。
Target | Microsoft.Windows.HyperV.Discovery.VirtualMachine |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.HyperV.DiskPartitionSpaceProviderDataSourceModuleV2 | Default |
PerfMapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
<Rule ID="Microsoft.Windows.HyperV.DiskPartitionSpaceProvider.UsedSpacePercCollectionRule" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.Discovery.VirtualMachine" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.HyperV.DiskPartitionSpaceProviderDataSourceModuleV2">
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>Virtual Hard Disk</ObjectName>
<CounterName>Used Space Percent</CounterName>
<InstanceName>$Data/Property[2]$</InstanceName>
<Value>$Data/Property[3]$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLib!Microsoft.SystemCenter.CollectPerformanceData"/>
</WriteActions>
</Rule>