mgr/dashboard: enable the user to download/copy a smartctl report of a device
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