Werk #22145: smart_posix: Fix reallocated sector and event counts for ATA devices
| Component | Checks & agents | ||||||
| Title | smart_posix: Fix reallocated sector and event counts for ATA devices | ||||||
| Date | Sep 1, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, the SMART ATA services could report absurd values for Reallocated
sectors and Reallocated events, for example 205355271342909. The numbers
were also not monotonically increasing despite being counters.
This has been fixed.
Am I affected?
Only disks whose SMART attributes 5 and 196 carry vendor data on top of the counter. On most disks the extra data is all zeroes and the reported value was correct all along. If you saw a value in the billions or above, you were affected.
Do I need to do anything?
Run a service discovery if you want the Alert if value has increased since discovery option to work from a sensible baseline again.