Open ldrrp opened 2 years ago
Currently there are no checks for raid health. This is a problem if we want to ensure data is not lost.
On a cron check for the health of the raids and if any are unhealthy we should notify the user and log the issue.
Example:
- raid: - uuid: AISDYIAYSIDYUA options: - notification: enabled: true - log: true - uuid: BISDASDSAJFYUA options: - notification: enabled: true - log: true
Notify may be "true", "false" or "email" etc. Parsed as string. True will use server default.
Additionally we should allow the user to call the raid check directly.
Problem
Currently there are no checks for raid health. This is a problem if we want to ensure data is not lost.
Solution
On a cron check for the health of the raids and if any are unhealthy we should notify the user and log the issue.
Example:
Notify may be "true", "false" or "email" etc. Parsed as string. True will use server default.
Additionally we should allow the user to call the raid check directly.
Steps to Reproduce the Problem