論理ディスクの空き領域 (\%) - Windows Server 2016 以降

Microsoft.Windows.Server.10.0.LogicalDisk.FreeSpace.Collection (Rule)

未割り当て論理ディスクで使用可能な領域全体に対する空き領域の割合

Knowledge Base article:

概要

このルールは、Logical Disk\% Free Space パフォーマンス カウンターのパフォーマンス データを収集します。

Logical Disk\% Free Space パフォーマンス カウンターは、選択した論理ディスク ドライブの利用可能な空き領域の合計をパーセントで表示します。

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Instance NameLogicalDisk
Counter Name\% Free Space
Frequency600
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.LogicalDisk.FreeSpace.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Free Space</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>600</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>6</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>