]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/devicehealth: add some scraping infrastructure
authorSage Weil <sage@redhat.com>
Fri, 8 Jun 2018 19:59:34 +0000 (14:59 -0500)
committerSage Weil <sage@redhat.com>
Sat, 23 Jun 2018 22:01:53 +0000 (17:01 -0500)
commitaa010024788e6555bdb01491c92595a70d99d09c
tree39abef18d3a70eead81c1f5d7160167422a8de96
parent18abfb2486cdd900dafcf2a9501bcbcb0d14cb3f
mgr/devicehealth: add some scraping infrastructure

- command to fetch smart info
- command to scrape a device and store the metrics
- command to scrape all devices (and store)
- command to dump stored metrics
- purging of old metrics

This is based on code originally written by Yaarit.

Signed-off-by: Yaarit Hatuka yaarithatuka@gmail.com
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/devicehealth/module.py