< Home

disk-usage alarm threshold

Function

The disk-usage alarm threshold command sets the alarm threshold on disk usage.

The undo disk-usage alarm threshold command restores the alarm threshold on disk usage to the default value.

Format

disk-usage alarm threshold threshold-value

undo disk-usage alarm threshold

Parameters

Parameter Description Value
threshold-value Specifies the alarm threshold on disk usage. The value is an integer ranging from 30 to 100, in percentage (%). The default value is 95.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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. To make the disk usage alarm function take effect, you must run the disk-usage alarm enable command to enable it.

Example

# Set the alarm threshold on disk usage.

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