mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +08:00
15 lines
402 B
YAML
15 lines
402 B
YAML
groups:
|
|
|
|
- name: NodeExporter
|
|
|
|
|
|
rules:
|
|
|
|
- alert: ZfsOfflinePool
|
|
expr: 'node_zfs_zpool_state{state!="online"} > 0'
|
|
for: 1m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: ZFS offline pool (instance {{ $labels.instance }})
|
|
description: "A ZFS zpool is in a unexpected state: {{ $labels.state }}.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|