邏輯磁碟可用 MB Windows Server 2012

Microsoft.Windows.Server.6.2.LogicalDisk.FreeMB.Collection (Rule)

邏輯磁碟中尚未分配的空間,單位以 MB 計算

Knowledge Base article:

摘要

此規則會收集 Logical Disk\Free Megabytes 效能計數器的效能資料。

Logical Disk\Free Megabytes 效能計數器會以 MB 數顯示磁碟機上未分配的磁碟區。

Element properties:

TargetMicrosoft.Windows.Server.6.2.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Instance NameLogicalDisk
Counter NameFree Megabytes
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.6.2.LogicalDisk.FreeMB.Collection" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.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 Megabytes</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>600</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Percentage</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>