Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSD Health: Retrieve SSD health and temperature values from generic S… #229

Merged
merged 1 commit into from
Nov 11, 2021

Commits on Nov 4, 2021

  1. SSD Health: Retrieve SSD health and temperature values from generic S…

    …SD info
    
    The problem:
        The current SSD health API uses a SSD vendor specific utility to retrieve
        values for overall SSD health and internal SSD temperature. These utilities
        are typically made available only in binary form and are not always
        available for all platform architectures (amd64, arm64, armhf, etc.)
        Vendor licensing agreements can prevent the inclusion of utility source
        code in the Sonic build.
    
    The solution presented here is to retrieve SSD health and temperature values
    from the generic SSD info retrieved via the open-source smartmontools utility
    (smartctl). These values can be overwritten with values retrieved using a
    vendor specific utility when available. smartmontools is already included in
    the Sonic source tree and is being built for all platform architectures.
    dflynn-Nokia committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    e6a15a6 View commit details
    Browse the repository at this point in the history