Opened 2 months ago

Last modified 2 months ago

#1806 new enhancement

JSON output for NVMe is missing info from 'smartctl -c'

Reported by: Richard Stephens Owned by:
Priority: major Milestone: unscheduled
Component: smartctl Version: 7.4
Keywords: json nvme Cc:


The JSON output mode appears to be missing the device's temparature thresholds

# smartctl -a /dev/nvme0n1 | grep "Temp. Threshold"
Warning  Comp. Temp. Threshold:     87 Celsius
Critical Comp. Temp. Threshold:     90 Celsius
# smartctl -j -a /dev/nvme0n1 | grep "87"

Change History (1)

comment:1 by Christian Franke, 2 months ago

Component: allsmartctl
Keywords: json nvme added
Milestone: unscheduled
Priority: minormajor
Summary: JSON output is missing temperature thresholds for NVMEJSON output for NVMe is missing info from 'smartctl -c'
Type: defectenhancement

Indeed. Even more is missing, summary changed accordingly.

Try --json=o or --json=u to include the plaintext lines in JSON output.

Note: See TracTickets for help on using tickets.