Werk #15700: smart_stats: Prevent reporting mismatched temperature value

Component Checks & agents
Title smart_stats: Prevent reporting mismatched temperature value
Date Jun 2, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In previous versions, the smart_stats check may have reported wrong temperature values for ATA disks.
This lead to false-positive CRIT states in "SMART ... Stats" services.

Technical background:

The attribute names for ATA disks reported by smartutils turned out to be either not clearly defined (multiple names for the same attribute), or even plainly wrong.

To avoid missing some attributes or to even report wrong data, we now look up the names of all actually used attributes by their attribute ID.

To the list of all Werks