Description
This alert is triggered when the size of a backup storage directory exceeds the threshold. Note
The threshold is the Alert Threshold for Backup Storage Capacity defined in the Storage Configuration of a backup strategy.
Principle
None.
Alert rule
| Metric | Default threshold | Duration | Detection cycle | Time before clearance |
|---|---|---|---|---|
| backup_storage_capacity_used_percent | None | 0 seconds | 30 minutes | 40 minutes |
Alert information
| Trigger method | Alert level | Scope |
|---|---|---|
| Reminder of OCP | Stopped | Service |
Alert templates
Overview: ${alarm_target} ${alarm_name}
Details: ${alarm_target} ${alarm_name}
Overview example: storage_url=xxxxxxx. The backup size exceeds the threshold. The proportion of the used storage is ${value}.
Details example: storage_url=xxxxxxx. The backup size exceeds the threshold. The proportion of the used storage is ${value}.
${alarm_target} follows the storage_url=xxxxxxx format and ${value} is a percentage value, for example, 80%.
Impact on the system
If the backup storage directory is full, new backup cannot be written in, which affects the restoration of a backup cluster.
Possible causes
The mount disk of the backup storage directory you configured is too small.
The retention period for backup data is improperly set.
Suggested solutions
Scale out the mount disk of the backup storage directory.
Reduce the backup retention period in the backup strategy.
You can reduce the retention period of global backup data by setting the OCP system parameter ocp.backup.alarm.backup-data-retention-days to a smaller value.
You can also change the Retention Period of Backup Files in the backup strategy to a smaller value to reduce the retention period for backup data of a cluster.