범용 Linux Logical Disk Free Space 모니터
논리 디스크(파일 시스템)의 사용 가능한 공간 양이 부족합니다. 시스템 성능에 악영향을 줄 수 있으며 추가 여유 공간이 사용 가능해질 때까지 파일 시스템에서 기존 파일을 추가 또는 수정하는 기능이 위험할 수 있습니다.
루트 사용자용으로 예약된 파일 시스템 공간은 계산된 여유 공간에 포함되지 않습니다. 파일 시스템 공간 사용량은 현재 사용 가능한 값 및 전체 값으로 계산되므로, ZFS와 같이 공간을 동적으로 할당하는 파일 시스템의 실제 사용량을 정확히 나타내지 못할 수 있습니다.
모니터 임계값은 에이전트에 대한 폴링에 반환된 평균 값에 대해 분석됩니다. 여기서 샘플 수 매개 변수가 평균 계산에 포함된 샘플 수를 제어합니다.
경고 및 오류 상태에 대해 별도의 임계값을 설정할 수 있습니다. 파일 시스템의 크기가 몇 GB에서 다수의 TB까지 변하므로, Logical Disk Free Space 모니터의 경우에는 운영자가 MB와 백분율 임계값을 모두 표시해야 합니다. 경고 및 오류 임계값에 도달하기 전에 MB와 백분율 임계값을 모두 통과해야 합니다.
이 모니터는 기본적으로 비활성화되어 있습니다. 재정의를 통해 특정 논리 디스크 인스턴스 또는 모든 논리 디스크 인스턴스를 대상으로 하여 사용하도록 설정할 수 있습니다. 이 모니터가 사용되도록 설정되어 있는 경우 재정의로 Logical Disk % Free Space 모니터를 사용하지 않도록 설정해야 합니다.
기본 구성
매개 변수 | 기본값 |
MB 단위의 오류 임계값 | 1000 |
백분율 단위의 오류 임계값 | 5 |
MB 단위의 경고 임계값 | 2000 |
백분율 단위의 경고 임계값 | 10 |
간격(초) | 300 |
샘플 수 | 1 |
모든 인스턴스나 특정 인스턴스 또는 그룹에 대해 위에서 정의한 매개 변수 값을 변경하는 데 재정의를 사용할 수 있습니다.
기존 파일 크기가 증가되고 새 파일이 추가되면 파일 시스템의 여유 공간이 줄어듭니다. 파일 시스템의 여유 공간 양이 임계값 미만으로 떨어지면 논리 디스크의 상태가 변경됩니다.
사용 가능한 공간의 양을 늘리려면 다음 중 하나를 수행하십시오.
Operations Manager 콘솔에서 디스크 용량을 확인하고, 최근에 새로운 응용 프로그램이 설치되었는지 확인합니다.
로그 파일에서 과도하게 커진 것으로 보이는 로그를 확인합니다. 과도하게 커진 로그가 있는 경우 해당 로그가 최신 로그인지 기록 로그인지 확인합니다. 기록 로그 파일의 압축된 보관 파일을 만드는 것이 좋습니다.
파일을 백업하고 제거하거나 파일 시스템에서 불필요한 파일을 삭제합니다.
다른 파일 시스템 또는 오프라인 저장소로 파일을 이동합니다.
저장소 용량을 추가합니다.
최신 파일 시스템 용량 기록은 다음과 같은 보기에서 확인할 수 있습니다.
디스크 용량
Target | Microsoft.Linux.Universal.LogicalDisk | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Unix.WSMan.LogicalDisk.FreeSpace.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Linux.Universal.LogicalDisk.FreeSpace.Monitor" Accessibility="Public" Target="Universal!Microsoft.Linux.Universal.LogicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.LogicalDisk.FreeSpace.MonitorType" Enabled="false" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.Universal.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>