I am looking at the diskprediction health metrics in Nautilus Looks very useful. http://docs.ceph.com/docs/nautilus/mgr/diskprediction/
On a Debian 9 system with smartctl version 6.6 2016-05-31 I get this:
# ceph device get-health-metrics SEAGATE_ST1000NM0023_Z1W1ZB0P
{
"20190227-104719": {
"nvme_smart_health_information_add_log_error_code": -22,
"nvme_vendor": "seagate",
"nvme_smart_health_information_add_log_error": "nvme returned an error: sudo: exit status: 1",
"dev": "/dev/sdb",
"error": "smartctl returned invalid JSON"
}
{
"20190227-104719": {
"nvme_smart_health_information_add_log_error_code": -22,
"nvme_vendor": "seagate",
"nvme_smart_health_information_add_log_error": "nvme returned an error: sudo: exit status: 1",
"dev": "/dev/sdb",
"error": "smartctl returned invalid JSON"
}
I am guessing a more up to date smartmontools is needed?
John Hearns
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com