Logical Disk\\% Used Inodes 성능 카운터의 수집 규칙
이 규칙은 Logical Disk\% Used Inodes 성능 카운터의 성능 데이터를 수집합니다. 수집된 값은 성능 보기 및 보고서에서 확인할 수 있습니다.
이 메트릭은 선택한 파일 시스템에서 현재 할당되어 있는 총 inodes의 백분율을 표시합니다.
파일 시스템에서 inodes를 사용하지 않는 경우 사용된 inodes 백분율 값은 0%로 반환됩니다. 파일 시스템 inode 사용량은 현재 사용 가능한 값 및 전체 값으로 계산되므로, JFS와 같이 inodes를 동적으로 할당하는 파일 시스템의 실제 사용량을 정확히 나타내지 못할 수 있습니다.
Target | Microsoft.Linux.RHEL.7.LogicalDisk |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
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 |
<Rule ID="Microsoft.Linux.RHEL.7.LogicalDisk.PercentUsedInodes.Collection" Enabled="true" Target="Microsoft.Linux.RHEL.7.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>% Used 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(.)='PercentUsedInodes']$</Value>
<PreMapperFilter>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">/DataItem/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='PercentUsedInodes']</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>