Werk #18180: smart_ata: Show Power On Hours correctly in all cases

Component Checks & agents
Title smart_ata: Show Power On Hours correctly in all cases
Date Aug 27, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When using the new smart check for (S)ATA drives, the power on hours could be displayed incorrectly.

The new behavior relies on a value provided by smartctl. Therefore the check plugin no longer shows power on hours if smartctl is not able to interpret the raw value.

This should only apply to really new disks and can most likely be fixed by updating the smartctl drive database: https://www.smartmontools.org/browser/src/update-smart-drivedb.8.in

To the list of all Werks