mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +08:00
Publish
This commit is contained in:
parent
08d2f783cf
commit
e39c339c51
1 changed files with 9 additions and 0 deletions
9
dist/rules/zfs/node-exporter.yml
vendored
9
dist/rules/zfs/node-exporter.yml
vendored
|
|
@ -3,3 +3,12 @@ groups:
|
||||||
- name: NodeExporter
|
- name: NodeExporter
|
||||||
|
|
||||||
rules:
|
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 }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue