< Home

disk-usage alarm enable

Function

The disk-usage alarm enable command enables the disk usage alarm function.

The undo disk-usage alarm enable command disables the disk usage alarm function.

Format

disk-usage alarm enable

undo disk-usage alarm enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the disk usage alarm function is enabled.

In a scenario where the disk usage alarm function is enabled, when the disk usage reaches the alarm threshold, alarm ENTEXT_1.3.6.1.4.1.2011.5.25.31.2.0.21 hwEntityExtHardDiskFull is outputted; when the disk usage falls below the alarm threshold, alarm ENTEXT_1.3.6.1.4.1.2011.5.25.31.2.0.22 hwEntityExtHardDiskFullResume is outputted. You can run the disk-usage alarm threshold command to set the alarm threshold on the disk usage.

Example

# Enable the disk usage alarm function.

<sysname> system-view
[sysname] disk-usage alarm enable
Successed in enabling the disk usage alarm.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >