-
Notifications
You must be signed in to change notification settings - Fork 89
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
Metrics for SMART logs are no longer collected #92
Comments
Adding If someone wants to test is, execute this on a device that is in sleep status:
|
Yeah, when we have a drive that fails a self test, it seems that without At the very least, in cases like this, it would be nice to get a With |
Even with We need to bring back the Here's the JSON with and without smartctl-_dev_sdb-info.health.attributes.tolerance_verypermissive.nocheck_never.format_brief.log_error.xall.json |
smartctl-xall-json.patch.gz |
@SuperQ @NiceGuyIT should we consider this a smartctl bug or a tradeoff we have to ask users to make? If users want these metrics, they have to consider that the metrics might wake a drive and prevent idle. |
@robbat2 I hope to do a deep dive into this and a few other issues before or around the holidays. This issue might be related to #152 which was caused by PR #131 that introduced |
OK, so I was directed here from #190. Seeing as this issue is 1.5 years old, what is the verdict here? As it stands, smartctl_exporter as a project is more or less useless because it fails to collect most of the actually interesting metrics. |
@NiceGuyIT did you make any progress on it? On all of the drives I tried, it seems there's less data without |
So does current releases still no longer report Self-test has failed in anyway? This seems like a very important feature and in fact is the whole reason I am looking for a prometheus exporter. |
The
--xall
parameter was removed in e884420, but no--log
parameter was added. Hence, thesmartctl_device_num_err_log_entries
,smartctl_device_error_log_count
,smartctl_device_self_test_log_count
, andsmartctl_device_self_test_log_error_count
metrics stay empty as the smartctl does not report the relevant data to the exporter.The text was updated successfully, but these errors were encountered: