Logical Disk Free Space

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

AIX 6.1 Logical Disk Free Space 모니터

Knowledge Base article:

요약

논리 디스크(파일 시스템)의 사용 가능한 공간 양이 부족합니다. 시스템 성능에 악영향을 줄 수 있으며 추가 여유 공간이 사용 가능해질 때까지 파일 시스템에서 기존 파일을 추가 또는 수정하는 기능이 위험할 수 있습니다.

루트 사용자용으로 예약된 파일 시스템 공간은 계산된 여유 공간에 포함되지 않습니다. 파일 시스템 공간 사용량은 현재 사용 가능한 값 및 전체 값으로 계산되므로, ZFS와 같이 공간을 동적으로 할당하는 파일 시스템의 실제 사용량을 정확히 나타내지 못할 수 있습니다.

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

구성

경고 및 오류 상태에 대해 별도의 임계값을 설정할 수 있습니다. 파일 시스템의 크기가 몇 GB에서 다수의 TB까지 변하므로, Logical Disk Free Space 모니터의 경우에는 운영자가 MB와 백분율 임계값을 모두 표시해야 합니다. 경고 및 오류 임계값에 도달하기 전에 MB와 백분율 임계값을 모두 통과해야 합니다.

이 모니터는 기본적으로 비활성화되어 있습니다. 재정의를 통해 특정 논리 디스크 인스턴스 또는 모든 논리 디스크 인스턴스를 대상으로 하여 사용하도록 설정할 수 있습니다. 이 모니터가 사용되도록 설정되어 있는 경우 재정의로 Logical Disk % Free Space 모니터를 사용하지 않도록 설정해야 합니다.

기본 구성

매개 변수

기본값

MB 단위의 오류 임계값

1000

백분율 단위의 오류 임계값

5

MB 단위의 경고 임계값

2000

백분율 단위의 경고 임계값

10

간격(초)

300

샘플 수

1

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

원인

기존 파일 크기가 증가되고 새 파일이 추가되면 파일 시스템의 여유 공간이 줄어듭니다. 파일 시스템의 여유 공간 양이 임계값 미만으로 떨어지면 논리 디스크의 상태가 변경됩니다.

해결 방법

사용 가능한 공간의 양을 늘리려면 다음 중 하나를 수행하십시오.

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

디스크 용량

Element properties:

TargetMicrosoft.AIX.6.1.LogicalDisk
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.LogicalDisk.FreeSpace.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Logical Disk Free Space 부족
Logical Disk Free Space 모니터의 임계값이 초과되었습니다. 임계값을 초과한 값: {0}\% 및 {1}MB Free Space.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.AIX.6.1.LogicalDisk.FreeSpace.Monitor" Accessibility="Public" Target="Microsoft.AIX.6.1.LogicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.LogicalDisk.FreeSpace.MonitorType" Enabled="false" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.AIX.6.1.LogicalDisk.FreeSpace.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='PercentFreeSpace']$</AlertParameter1>
<AlertParameter2>$Data/Context/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='FreeMegabytes']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Error" MonitorTypeStateID="UnderErrorThreshold" ID="UnderErrorThreshold"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="UnderWarningThreshold" ID="UnderWarningThreshold"/>
<OperationalState HealthState="Success" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</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>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<ErrorPctThreshold>5</ErrorPctThreshold>
<ErrorMBThreshold>1000</ErrorMBThreshold>
<WarningPctThreshold>10</WarningPctThreshold>
<WarningMBThreshold>2000</WarningMBThreshold>
</Configuration>
</UnitMonitor>