When the RAID array is being resynchronized after the archived disk has been reconnected, md changes the disk status from "missing" to "spare." Once the synchronization is complete, it changes from "spare" to "active." We only want to trigger the "disk needs archived" alert once the synchronization process is complete; otherwise, both the "disks need swapped" and "disk needs archived" alerts would be active at the same time, which makes no sense. By adjusting the query for the "disk needs archived" alert to consider disks in both "missing" and "spare" status, we can delay firing that alert until the proper time. |
||
---|---|---|
.. | ||
alertmanager.yml | ||
alerts.yml | ||
blackbox.yml | ||
grafana.yml | ||
main.yml | ||
scrape.yml | ||
secrets | ||
vmalert.yml |