Project

General

Profile

Feature #41822

mgr/dashboard: enable the user to download/copy a smartctl report of a device

Added by Patrick Seidensal over 1 year ago. Updated over 1 year ago.

Status:
Fix Under Review
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently the smartctl information retrieved is returned as JSON. To enable the user to copy or download such a report, we would have to either return the JSON data as received, create an own report out of it or by simply returning the smartctl output as returned from smartctl. The last option seems most meaningful to me, as this is the report that is used to be shared (for instance on the smartmontools mailing list).

To do so, the smartctl command executed by the mon needs to be adapted to return the non-JSON output, too. Then the frontend needs to be adapted to enable the user to download or copy this output.

The required smartctl command needs to have the

--json=o
argument.


Related issues

Related to mgr - Fix #42224: mgr/dashboard: move smart data integration to devices tab New

History

#1 Updated by Patrick Seidensal over 1 year ago

  • Tracker changed from Bug to Feature

#2 Updated by Patrick Seidensal over 1 year ago

  • Description updated (diff)

#3 Updated by Patrick Seidensal over 1 year ago

Enable common smartctl output inside the JSON result: https://github.com/ceph/ceph/pull/30408

#4 Updated by Patrick Seidensal over 1 year ago

  • Status changed from New to In Progress

#5 Updated by Patrick Seidensal over 1 year ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 30456

#6 Updated by Patrick Seidensal over 1 year ago

  • Related to Fix #42224: mgr/dashboard: move smart data integration to devices tab added

Also available in: Atom PDF