]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add 'ceph [tell|daemon] osd.id smart' 19342/head
authorYaarit Hatuka <yaarithatuka@gmail.com>
Tue, 5 Dec 2017 14:25:00 +0000 (09:25 -0500)
committerYaarit Hatuka <yaarithatuka@gmail.com>
Thu, 18 Jan 2018 13:54:51 +0000 (08:54 -0500)
commite42bf30b4596b7c58dadfcb77e16f6a26de3bce9
tree5d4cf15c0a65cfa68684b6f6f1707dd9e630be6b
parentaab2defacae9e0885e08b399f15b20c495b59d99
osd: add 'ceph [tell|daemon] osd.id smart'

Also added 'ceph daemon osd.id list_devices' which prints to stdout the
OSD devices. 'ceph [tell|daemon] osd.id smart' probes the OSD devices
for SMART data and prints it to stdout in a JSON format. It assumes smartctl '--json' feature
exists.

Signed-off-by: Yaarit Hatuka <yaarithatuka@gmail.com>
src/common/options.cc
src/osd/OSD.cc
src/osd/OSD.h
src/pybind/mgr/smart/__init__.py [new file with mode: 0644]
src/pybind/mgr/smart/module.py [new file with mode: 0644]