ProxmoxBackupRootDiskOutOfSpace #
Disk is almost full (< 10% left)
Alert Rule
alert: ProxmoxBackupRootDiskOutOfSpace
annotations:
description: |-
Disk is almost full (< 10% left)
VALUE = {{ $value }}
runbook: https://srerun.github.io/prometheus-alerts/runbooks/pbs-exporter/proxmoxbackuprootdiskoutofspace/
summary: Proxmox root disk out of space (instance {{ $labels.instance }})
expr: pbs_host_disk_used / pbs_host_disk_total * 100 > 90
for: 2m
labels:
severity: warning
Here is a sample runbook for the ProxmoxBackupRootDiskOutOfSpace alert:
Meaning #
The ProxmoxBackupRootDiskOutOfSpace alert is triggered when the used disk space on the root disk of a Proxmox host exceeds 90% capacity. This alert indicates that the disk is almost full, with less than 10% of available space remaining.
Impact #
A full root disk can cause stability issues, and may lead to system crashes or corruption. If left unattended, this issue may result in:
- System downtime
- Loss of data
- Increased troubleshooting and repair time
Diagnosis #
To diagnose the issue, perform the following steps:
- Check the disk usage of the Proxmox host using the
pbs_host_disk_used
metric. - Verify the total disk capacity of the root disk using the
pbs_host_disk_total
metric. - Calculate the percentage of used disk space using the formula
(pbs_host_disk_used / pbs_host_disk_total) * 100
. - Check the instance label
{{ $labels.instance }}
to identify the affected Proxmox host.
Mitigation #
To mitigate the issue, perform the following steps:
- ** Immediately free up disk space **: Remove unnecessary files, logs, and snapshots to free up space.
- Configure disk usage monitoring to prevent similar issues in the future.
- Consider expanding the root disk or adding additional storage capacity to the Proxmox host.
- Document the resolution in the incident report.
Note: This runbook provides general guidance and may need to be tailored to your specific environment and requirements.