feat: ✨ S.M.A.R.T status report - #1558
Open
GerardPolloRebozado wants to merge 3 commits into
Open
Conversation
GerardPolloRebozado
marked this pull request as ready for review
August 14, 2026 10:21
Author
|
I have also implemented showing both temperature and power on hours and alerts when there are high temperatures or a failed SMART test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a basic implementation of S.M.A.R.T status report by showing a badge in the list of drives

By having this status a new alert could also be implemented so if a device starts to fail it send alerts about it.
In order for this to work the docker compose needs to have access to the devices to check its health, this can be done by enabling
SYS_RAWIOor setting the container as privileged.Also the device needs to be added in the devices property like this:
This is just an initial implementation on how the data could be gathered, I have not found another way to it with less privileges, other monitoring tools like scrutiny require same permissions. The current state of the PR only reports healthy or not and it does not trigger any alerts.
In the case the container doesn't have enough permissions the health will just show N/A