]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: refactor health, include optional detail
authorSage Weil <sage@newdream.net>
Wed, 7 Mar 2012 01:05:22 +0000 (17:05 -0800)
committerSage Weil <sage@newdream.net>
Wed, 7 Mar 2012 01:05:22 +0000 (17:05 -0800)
commit8b0bd1279671b4772f5d76ebef871f04b3004a50
tree1f6007579ed2c7aee3062a5ff6653d4ee9538cae
parent98f8219dd34d2e0ddf22171e55d62f7b85c0a31c
mon: refactor health, include optional detail

'ceph health' to get the usual summary, 'ceph health detail' to
additionally get a comprehensive list of problems found.

Eventually we can format this as yaml, json, whatever, too.

Signed-off-by: Sage Weil <sage@newdream.net>
13 files changed:
src/mds/MDSMap.cc
src/mds/MDSMap.h
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h
src/mon/MonMap.h
src/mon/Monitor.cc
src/mon/MonmapMonitor.cc
src/mon/MonmapMonitor.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/mon/PGMonitor.cc
src/mon/PGMonitor.h
src/mon/PaxosService.h