alerts: Adjust BURP RAID disk swap alert
Using a 30-day window for the `tlast_change_over_time` function effectively "caps out" the value at 30 days. Thus, the alert reminding me to swap the BURP backup volume will never fire, since the value will never be greater than the 30-day threshold. Using a wider window resolves that issue (though the query will still produce inaccurate results beyond the window).step-ssh
parent
ad9fb6798e
commit
a2bcd5ccbb
|
@ -55,7 +55,7 @@ vmalert_rules:
|
||||||
(
|
(
|
||||||
collectd_md_md_disks{instance="burp1.pyrocufflink.blue", type="active"}
|
collectd_md_md_disks{instance="burp1.pyrocufflink.blue", type="active"}
|
||||||
or last_over_time(collectd_md_md_disks{instance="burp1.pyrocufflink.blue", type="active"})[1d]
|
or last_over_time(collectd_md_md_disks{instance="burp1.pyrocufflink.blue", type="active"})[1d]
|
||||||
)[30d]
|
)[90d]
|
||||||
) > 86400 * 30
|
) > 86400 * 30
|
||||||
annotations:
|
annotations:
|
||||||
summary: The disks in the BURP array need swapped
|
summary: The disks in the BURP array need swapped
|
||||||
|
|
Loading…
Reference in New Issue