alerts: Ignore missing mdraid disk for BURP

The way I am handling swapping out the BURP disk now is by using the
Linux MD RAID driver to manage a RAID 1 mirror array.  The array
normally operates with one disk missing, as it is in the fireproof safe.
When it is time to swap the disks, I reattach the offline disk, let the
array resync, then disconnect and store the other disk.

This works considerably better than the previous method, as it does not
require BURP or the NFS server to be offline during the synchronization.
btop
Dustin 2023-04-11 20:04:38 -05:00
parent 9921b2fd5e
commit 6c562c9821
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ vmalert_rules:
- name: mdraid - name: mdraid
rules: rules:
- alert: mdraid missing disk - alert: mdraid missing disk
expr: collectd_md_md_disks{type="missing"} != 0 expr: collectd_md_md_disks{type="missing", instance!~"burp.*"} != 0
- alert: mdraid failed disk - alert: mdraid failed disk
expr: collectd_md_md_disks{type="failed"} != 0 expr: collectd_md_md_disks{type="failed"} != 0