Project

General

Profile

Actions

Bug #39290

open

Nautilus predictor does not work in Ubuntu 18.04 LTS - smartctl doesn't support JSON output

Added by Марк Коренберг about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ smartctl -f json --all /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-11-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=======> INVALID ARGUMENT TO -f: json
=======> VALID ARGUMENTS ARE: old, brief, hex[,id|val] <=======

Use smartctl -h to get a usage summary


$ ceph device get-health-metrics OCZ-VERTEX460A_A22MQ061448000731 {
"20190414-174435": {
"nvme_smart_health_information_add_log_error_code": -22,
"nvme_vendor": "ocz-vertex460a",
"nvme_smart_health_information_add_log_error": "nvme returned an error: sudo: exit status: 1",
"dev": "/dev/sda",
"error": "smartctl returned invalid JSON"
},
"20190414-174440": {
"nvme_smart_health_information_add_log_error_code": -22,
"nvme_vendor": "ocz-vertex460a",
"nvme_smart_health_information_add_log_error": "nvme returned an error: sudo: exit status: 1",
"dev": "/dev/sda",
"error": "smartctl returned invalid JSON"
}
}


Related issues 1 (0 open1 closed)

Has duplicate mgr - Bug #39365: Disk predictor uses too new smartmontools feature (json output)Duplicate04/17/2019

Actions
Actions

Also available in: Atom PDF