SUSE Linux Enterprise Server 9 Logical Disk \% Free Space 监视器
该监视器检查所有逻辑磁盘的 Disk % Free Space。如果收到监视器发出的警报,则必须采取措施以释放磁盘空间并且将系统恢复到操作状态。
不正常的状态表示当前 % Free Space 为低。这可能是由于某一应用程序过多登录所造成。
在 Operations Manager 控制台下查看磁盘容量。确定最近是否安装过新的应用程序。检查过大日志的日志文件。如果是,确定是当前日志还是历史日志。
要纠正此情况,应考虑使用 tar 实用程序来压缩日志文件并且释放磁盘空间。要创建 tar 文件,使用命令‘tar –cvf [目标文件名].tar [源路径/文件]’。
磁盘容量
Target | Microsoft.Linux.SLES.9.LogicalDisk | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Linux.SLES.9.LogicalDisk.PercentFreeSpace.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.9.LogicalDisk" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.9.LogicalDisk.PercentFreeSpace.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Error" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<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>
<ObjectName>Logical Disk</ObjectName>
<CounterName>% Free Space</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Value>$Data///*[local-name()="PercentFreeSpace"]$</Value>
<Threshold>5</Threshold>
<NumSamples>1</NumSamples>
</Configuration>
</UnitMonitor>