-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm receiving Warning: Key smart_status.passed not found in JSON as a warning on the container. When looking at the smartctl output, smart status isn't being output with just -A, but requires -A --health to be passed
# smartctl -A -j /dev/sda | jq -r --arg key "smart_status.passed" 'getpath($key | split(".")) // "not_found"'
not_found
# smartctl -A --health -j /dev/sda | jq -r --arg key "smart_status.passed" 'getpath($key | split(".")) // "not_found"'
true
optionally it appears that --xall includes the health data, and a lot more. That might be a better option?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels