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

Update smart_posix to pass full command args #797

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

Conversation

ITJamie
Copy link
Contributor

@ITJamie ITJamie commented Feb 25, 2025

General information

detailed writeup https://forum.checkmk.com/t/smart-posix-in-master-branch-throws-errors-with-certain-drive-setups/52489

some setups (raid cards) would error with the just the device path being supplied to smartctl. the full args supplied by smartctl --scan should be used

Proposed changes

pass the full args in from the output of smartctl --scan (split it at the first #)

existing code did not pass full args and would throw errors with some device paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants