[smartmontools-support] Questions on the output from the smartctl --json option.

Tony Olekshy smartmon at olekshy.net
Wed Jun 24 21:39:16 CEST 2020


If I run this command:

    smartctl --all --json=g /dev/foo

does the following output correspond to the --health test passing
and to the smartctl exit status bit 3 being off:

    json.smart_status.passed = true;

Also, is there some place where I can find further documentation
on the --json output, such as what the structure of the output
relating to json.smartctl.messages looks like?

Sincerely Yours,
Tony Olekshy
Avra Software Lab Inc.
olekshy at avra.ca


More information about the Smartmontools-support mailing list