\% Used Space(SUSE Linux Enterprise Server 9)

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

Logical Disk\\% Used Space 성능 카운터 수집 규칙

Knowledge Base article:

요약

이 규칙은 Logical Disk\% Used Space 성능 카운터의 성능 데이터를 수집합니다. 수집된 값은 성능 보기 및 보고서에서 확인할 수 있습니다.

이 메트릭은 선택한 논리 디스크(파일 시스템)에서 현재 할당된 사용 가능한 전체 공간의 백분율을 표시합니다.

루트 사용자용으로 예약된 파일 시스템 공간은 계산된 사용 공간에 포함됩니다. 파일 시스템 공간 사용량은 현재 사용 가능한 값 및 전체 값으로 계산되므로, 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.PercentUsedSpace.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>% Used Space</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(.)='PercentUsedSpace']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>