\% Free Inodes(SUSE Linux Enterprise Server 9)

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

Logical Disk\\% Free Inodes 성능 카운터의 수집 규칙

Knowledge Base article:

요약

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

이 메트릭은 선택한 파일 시스템에서 사용 가능한 총 inodes의 백분율을 표시합니다.

파일 시스템에서 inodes를 사용하지 않는 경우 사용 가능한 inodes 백분율 값은 100%로 반환됩니다. 파일 시스템 inode 사용량은 현재 사용 가능한 값 및 전체 값으로 계산되므로, JFS와 같이 inodes를 동적으로 할당하는 파일 시스템의 실제 사용량을 정확히 나타내지 못할 수 있습니다.

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.PercentFreeInodes.Collection" Enabled="true" Target="Microsoft.Linux.SLES.9.LogicalDisk" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<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 Inodes</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(.)='PercentFreeInodes']$</Value>
<PreMapperFilter>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">/DataItem/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='PercentFreeInodes']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^[-]?([0-9]*\.[0-9]+|[0-9]+)$</Pattern>
</RegExExpression>
</PreMapperFilter>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>