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

Issue with --ignore-attributes #4

Closed
SanderDelden opened this issue May 3, 2018 · 1 comment

Comments

@SanderDelden
Copy link

commented May 3, 2018

Hi,

We're facing some issuess with smart-check when trying to ignore certain attributes.
When running the following command:
smart-check /dev/sdf --verbose --ignore-attributes Temperature_Celcius --notices-are-warnings --smartctl-args ''

We still get the following output:
KINGSTON SUV400S37120G: NOTICE: Reallocated_Sector_Ct=2: The drive has a non-zero Raw value, but there is no SMART warning yet. This could be an indication of future failures and/or potential data loss in bad sectors., NOTICE: Temperature_Celsius=100: The temperature of the drive is higher than 50 degrees Celsius. This may shorten its lifespan and cause damage under severe load.; 1 ATA errors found

As you can see the output still contains notices / warnings regarding the drive temperature. Instead of "Temperature_Celsius" we also tried the corresponding ID: 194 with no luck.

Attached is a file with the output from: smartctl -A /dev/sdf

smartctl.txt

ercpe added a commit that referenced this issue May 4, 2018
…ibutes() call (see #4)
@ercpe

This comment has been minimized.

Copy link
Owner

commented May 4, 2018

The command line argument of --ignore-attributes wasn't passed along. As a result, no attribute could ever be ignored. Version 0.4.2 fixes that - values for --ignore-attributes can either be the number or the name of the attribute.

Please note that you have a typo in the attribute name (it's Celsius).

@ercpe ercpe closed this May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.