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

Smart status availability #260

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Deezzir
Copy link

@Deezzir Deezzir commented Dec 20, 2024

There is no point in exporting smartctl_device_smart_status metric for logical devices such as HW Raids if they do not support S.M.A.R.T. We can simply skip the metric if the object smart_status is not present.

Closes: #224
Closes: canonical/hardware-observer-operator#357

Copy link
Contributor

@robbat2 robbat2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only place we need to handle smart_status not being present?

@Deezzir
Copy link
Author

Deezzir commented Jan 13, 2025

Is this the only place we need to handle smart_status not being present?

I believe so, so it is safe to merge

@Deezzir Deezzir requested a review from robbat2 January 29, 2025 17:58
@Deezzir
Copy link
Author

Deezzir commented Jan 31, 2025

@robbat2 Can you please merge?

@robbat2
Copy link
Contributor

robbat2 commented Jan 31, 2025

@robbat2 Can you please merge?

I do not have merge permissions in this repo; I am just a frequent contributor.

@robbat2
Copy link
Contributor

robbat2 commented Jan 31, 2025

@SuperQ can you merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants