• v11.47 33bc275da2

    storage SAT: fix NVMe SMART counters showing 0 for power-on hours/read/write

    mchus released this 2026-07-02 11:58:37 +03:00 | 102 commits to main since this release

    nvme-cli emits large 64-bit counters as JSON-quoted strings on some
    versions; the disk-report text generator only handled bare numbers and
    {lo,hi} objects, so power_on_hours/data_units_read/data_units_written
    etc. silently parsed as 0 while the structured collector path already
    handled this correctly. Unify both paths on a single exported
    JSONInt64/NVMeSmartLog/NVMeIDCtrl type in collector/storage.go instead
    of keeping two independent nvme-cli JSON parsers in sync.

    Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

    Downloads