This commit is contained in:
samber 2022-07-23 23:57:10 +00:00
parent 08d2f783cf
commit e39c339c51

View file

@ -3,3 +3,12 @@ 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 }}"