Bug 99269 - Add temperature raw value in syslog, only log if normalized "health" value is below 100%
Summary: Add temperature raw value in syslog, only log if normalized "health" value is...
Status: NEW
Alias: None
Product: libatasmart
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact: Lennart Poettering
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-04 06:07 UTC by Thomas Mayer
Modified: 2017-01-04 09:50 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Mayer 2017-01-04 06:07:07 UTC
Forwarding from https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1653560

syslog entries like

Jan 2 20:22:27 server smartd[876]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 110 to 112

should be less confusing and logging should by default only take place if something is worth to be warned about.

That said, a "health" value below 100% (e.g. 98%) should trigger the logging, because then the health status as specified by the vendor is no more perfect.

And the output could be more verbose and less confusing. I suggest:

Jan 2 20:22:27 server smartd[876]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius: Thermal health changed from 110% (40°C) to 112% (38°C)

Given that normalization is specified by vendors, smartmontools could also take into account that e.g. health below 90% is critical (for WD drives that would be 60°C) and also should reported as critical (WARNING, etc.).
Comment 1 Thomas Mayer 2017-01-04 08:37:36 UTC
Eventually, this is not the right project. If so, please ignore this bug report (close/won't fix).

I filed a new issue at https://www.smartmontools.org/ticket/788 because I think that this issue should go there.
Comment 2 Thomas Mayer 2017-01-04 09:50:59 UTC
smartmontools won't fix this. If this can be fixed here, please leave this issue open.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.