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

Added device name to logger rc code parser #141

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Aug 8, 2023

Without device name is hard to determine on what exactly device smartctl_exporter isn't happy

caller=readjson.go:69 level=warn msg="S.M.A.R.T. output reading" err="exit status 2"
caller=readjson.go:123 level=error msg="Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode"
caller=readjson.go:69 level=warn msg="S.M.A.R.T. output reading" err="exit status 2" device=/dev/sda
caller=readjson.go:123 level=error msg="Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode" device=/dev/sda

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
@k0ste
Copy link
Contributor Author

k0ste commented Aug 10, 2023

@NiceGuyIT

@NiceGuyIT NiceGuyIT merged commit 17207c7 into prometheus-community:master Aug 10, 2023
2 checks passed
@k0ste k0ste mentioned this pull request Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants