空き領域のメガバイト数 (SUSE Linux Enterprise Server 9)

Microsoft.Linux.SLES.9.LogicalDisk.FreeMegabytes.Collection (Rule)

パフォーマンス カウンター Logical Disk\Free Megabytes の収集ルール

Knowledge Base article:

概要

このルールは、Logical Disk\Free Megabytes パフォーマンス カウンターのパフォーマンス データを収集します。収集された値には、パフォーマンス ビューおよびレポートでアクセスできます。

この指標は、特定の論理ディスク (ファイル システム) 上の未割り当て領域の合計容量をメガバイト単位で示します。

ルート ユーザーのために予約されたファイル システム領域は、空き領域の計算に含められません。ファイル システム領域の使用状況は現在の空き領域と合計領域の値に基づいて計算され、たとえば ZFS のように領域を動的に割り当てるファイル システムでは真の使用状況が正しく反映されない場合もあります。

Element properties:

TargetMicrosoft.Linux.SLES.9.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.PerfCounterProvider.Filtered Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Linux.SLES.9.LogicalDisk.FreeMegabytes.Collection" Target="Microsoft.Linux.SLES.9.LogicalDisk" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_FileSystemStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Logical Disk</ObjectName>
<CounterName>Free Megabytes</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='FreeMegabytes']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>