mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
groups:
|
|
|
|
- name: EmbeddedExporter
|
|
|
|
|
|
rules:
|
|
|
|
- alert: MinioClusterDiskOffline
|
|
expr: 'minio_cluster_drive_offline_total > 0'
|
|
for: 0m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: Minio cluster disk offline (instance {{ $labels.instance }})
|
|
description: "Minio cluster disk is offline\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
|
|
|
- alert: MinioNodeDiskOffline
|
|
expr: 'minio_cluster_nodes_offline_total > 0'
|
|
for: 0m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: Minio node disk offline (instance {{ $labels.instance }})
|
|
description: "Minio cluster node disk is offline\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
|
|
|
- alert: MinioDiskSpaceUsage
|
|
expr: 'minio_cluster_capacity_raw_free_bytes / minio_cluster_capacity_raw_total_bytes * 100 < 10 and minio_cluster_capacity_raw_total_bytes > 0'
|
|
for: 0m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
summary: Minio disk space usage (instance {{ $labels.instance }})
|
|
description: "Minio available free space is low (< 10%)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|