Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add support for sd card health monitoring #563

Open
moya2162 opened this issue Jan 8, 2024 · 1 comment
Open

[FEAT] Add support for sd card health monitoring #563

moya2162 opened this issue Jan 8, 2024 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed waiting for response

Comments

@moya2162
Copy link

moya2162 commented Jan 8, 2024

Is your feature request related to a problem? Please describe.

A lot of people run docker on sbc computers such as the raspberry pi. Likewise a lot of sbc computers use microsd cards. Depending on the manufacturer and model of the sd card, some of them do contain health monitoring features. Unfortunately the readout is not standardized and thus does not have a smart output for smartd to read.

Describe the solution you'd like

There is an open source project called sdmon which aims to provide read support for sd card health monitoring. It is actively developed and more manufacturer are being supported. I was able to confirm it working myself with a kingston industrial microsd card. Others have reported it working with sandisk industrial sd cards too.

I would like to propose for the scrutiny project to add sdmon support and parse the output data to be displayed in scrutiny's dashboard.

Additional context

I have personally had microsd cards fail in a few of my sbc systems. I have read many forum posts of others having gone through same failures, so the issue is common. It might be due to endurance of the drive, or thermal limits over time. Having the ability to monitor the health if supported would be a nice-to-have to be able to plan for a new sd card if failure is starting to show.

@AnalogJ
Copy link
Owner

AnalogJ commented Jan 23, 2024

This could be an interesting use-case for a custom collector: https://github.com/AnalogJ/scrutiny/tree/master/collector/cmd

@AnalogJ AnalogJ added help wanted Extra attention is needed good first issue Good for newcomers waiting for response labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed waiting for response
Projects
None yet
Development

No branches or pull requests

2 participants