Werk #15700: smart_stats: Prevent reporting mismatched temperature value

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

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