Just playing around, and detected this:
# ceph health -f json-pretty
{ "summary": [],
"timechecks": { "epoch": 34,
"round": 40,
"round_status": "finished",
"mons": [
{ "name": "1",
"skew": "0.000000",
"latency": "0.000000",
"health": "HEALTH_OK"},
{ "name": "0",
"skew": "-0.000330",
"latency": "0.001454",
"health": "HEALTH_OK"},
{ "name": "2",
"skew": "0.054170",
"latency": "0.000816",
"health": "HEALTH_WARN",
"details": "clock skew 0.0541703s > max 0.05s"}]},
"health": { "health_services": [
{ "mons": [
{ "name": "1",
"kb_total": 2064208,
"kb_used": 1424964,
"kb_avail": 534388,
"avail_percent": 25,
"last_updated": "2013-11-22 11:14:47.500872",
"store_stats": { "bytes_total": 9524208,
"bytes_sst": 8999282,
"bytes_log": 458752,
"bytes_misc": 66174,
"last_updated": "0.000000"},
"health": "HEALTH_WARN",
"health_detail": "low disk space!"},
{ "name": "0",
"kb_total": 2064208,
"kb_used": 1249116,
"kb_avail": 710236,
"avail_percent": 34,
"last_updated": "2013-11-22 11:14:53.498853",
"store_stats": { "bytes_total": 10048528,
"bytes_sst": 8999314,
"bytes_log": 983040,
"bytes_misc": 66174,
"last_updated": "0.000000"},
"health": "HEALTH_OK"},
{ "name": "2",
"kb_total": 2064208,
"kb_used": 1247084,
"kb_avail": 712268,
"avail_percent": 34,
"last_updated": "2013-11-22 11:14:28.720368",
"store_stats": { "bytes_total": 10048528,
"bytes_sst": 8999314,
"bytes_log": 983040,
"bytes_misc": 66174,
"last_updated": "0.000000"},
"health": "HEALTH_OK"}]}]},
"overall_status": "HEALTH_WARN",
"detail": [
"mon.2 addr 192.168.3.13:6789\/0 clock skew 0.0541703s > max 0.05s
(latency 0.000815989s)"]}
Why is "low disk space!" not included inside 'details'?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html