Add SMART self-test metrics - #269
Conversation
|
Can you include examples of the output metrics in the PR? |
|
@alvistar the DCO is missed, look to the CI results |
|
Hi! |
Impossible to merge before author resolve conflict's and pass CI |
|
Hey @alvistar, thank you for your effort! Thats really nice feature. It hurts its stalled just because of conflicts. Could you look into this? Its shame if so nice work is unmerged because of some conflicts. Thank you :) |
|
Hey @alvistar, i was looking if self-test metrics are available and foud your work through this PR. It's a shame some conflicts are stopping this from being merged for so long... could you please look into it? |
This PR adds support for monitoring SMART self-test results, providing visibility into the health and reliability of storage devices. The implementation supports both ATA and SCSI devices.
New metrics:
smartctl_device_last_self_test: Status value of the most recent self-testsmartctl_device_last_self_test_info: Detailed information about the most recent self-test including type, status description, and when it was performedThe implementation includes:
Testing: