Logical Disk \% Free Inodes

Microsoft.AIX.6.1.LogicalDisk.PercentFreeInodes.Monitor (UnitMonitor)

AIX 6.1 Logical Disk \% Free Inodes 모니터

Knowledge Base article:

요약

논리 디스크(파일 시스템)의 사용 가능한 inodes 백분율이 낮습니다. 시스템 성능이 저하될 수 있으며 추가 inodes가 사용 가능해질 때까지 파일 시스템에 파일을 추가하는 기능이 위험할 수 있습니다.

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

모니터 임계값은 에이전트에 대한 폴링에 반환된 평균 값에 대해 분석됩니다. 여기서 샘플 수 매개 변수가 평균 계산에 포함된 샘플 수를 제어합니다.

구성

기본 구성

매개 변수

기본값

임계값

5

간격(초)

300

샘플 수

1

모든 인스턴스나 특정 인스턴스 또는 그룹에 대해 위에서 정의한 매개 변수 값을 변경하는 데 재정의를 사용할 수 있습니다.

원인

비정상 상태는 사용 가능한 inodes의 백분율이 현재 낮음을 나타냅니다. 파일 시스템에 저장된 과도한 파일 수가 원인일 수 있습니다.

해결 방법

Inodes는 파일 및 디렉터리에 대한 메타데이터를 저장합니다. 파일 시스템의 모든 사용 가능한 inodes가 할당된 경우 여유 공간을 사용할 수 있어도 새로운 파일 및 디렉터리를 만들 수 없습니다. 사용 가능한 inodes의 낮은 비율 조건을 해결하려면 파일 시스템을 검사하여 삭제하거나 다른 파일 시스템으로 이동할 수 있는 사용되지 않는 파일 및 디렉터리를 찾으십시오.

최신 파일 시스템 용량 기록은 다음과 같은 보기에서 확인할 수 있습니다.

디스크 용량

Element properties:

TargetMicrosoft.AIX.6.1.LogicalDisk
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
\% Free Inodes 너무 낮음
Logical Disk\\% Free inodes 성능 카운터의 임계값이 초과되었습니다. 임계값을 초과한 값: {0}\% Free Inodes.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.AIX.6.1.LogicalDisk.PercentFreeInodes.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.AIX.6.1.LogicalDisk" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.AIX.6.1.LogicalDisk.PercentFreeInodes.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="UnderThreshold" HealthState="Error"/>
<OperationalState ID="OverThreshold" MonitorTypeStateID="OverThreshold" HealthState="Success"/>
</OperationalStates>
<Configuration>
<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>
<Threshold>5</Threshold>
<NumSamples>1</NumSamples>
<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>
</Configuration>
</UnitMonitor>