< Home

disk log-full alert-threshold

Function

The disk log-full alert-threshold command sets the alert threshold of the log storage space on the hard disk.

The undo disk log-full alert-threshold command restores the alert threshold of the log storage space on the hard disk to the default value.

Format

disk log-full alert-threshold threshold

undo disk log-full alert-threshold

Parameters

Parameter Description Value

threshold

Specifies the alert threshold.

The value is an integer ranging from 50 to 100, in percentage. The default value is 85.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The device allocates specific storage spaces on the hard disk for storing logs from each module. If the log storage space of a module hits or exceeds the specified threshold, the device logs the event. You can run the disk log-full command to configure a method for processing new logs in case of insufficient log storage space or replace the hard disk.

Example

# Set the alert threshold of the log storage space on the hard disk to 90%.

<sysname> system-view
[sysname] disk log-full alert-threshold 90
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >