fix: grafana alerts
This commit is contained in:
parent
b0cbb5a3b4
commit
68273a7259
4 changed files with 10 additions and 14 deletions
|
|
@ -12,7 +12,7 @@
|
|||
datasourceUid = "vm-datasource-uid";
|
||||
relativeTimeRange = { from = 300; to = 0; };
|
||||
model = {
|
||||
expr = ''mdadm_array_state == 0'';
|
||||
expr = ''mdadm_array_state < 1'';
|
||||
instant = false;
|
||||
};
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
];
|
||||
for = "0s";
|
||||
noDataState = "NoData";
|
||||
noDataState = "OK";
|
||||
execErrState = "Error";
|
||||
annotations = {
|
||||
summary = "RAID array {{ $labels.array }} is degraded";
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
}
|
||||
];
|
||||
for = "0s";
|
||||
noDataState = "NoData";
|
||||
noDataState = "OK";
|
||||
execErrState = "Error";
|
||||
annotations = {
|
||||
summary = "RAID array {{ $labels.array }} has missing devices";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue