All of lore.kernel.org
 help / color / mirror / Atom feed
* missing health status details
@ 2013-11-22 10:21 Dietmar Maurer
  2013-11-22 13:48 ` Joao Eduardo Luis
  0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Maurer @ 2013-11-22 10:21 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

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'?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing health status details
  2013-11-22 10:21 missing health status details Dietmar Maurer
@ 2013-11-22 13:48 ` Joao Eduardo Luis
  0 siblings, 0 replies; 2+ messages in thread
From: Joao Eduardo Luis @ 2013-11-22 13:48 UTC (permalink / raw)
  To: Dietmar Maurer, ceph-devel@vger.kernel.org

Good catch.  Opened ticket 6850 on the tracker.

http://tracker.ceph.com/issues/6850

   -Joao

On 11/22/2013 10:21 AM, Dietmar Maurer wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-22 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 10:21 missing health status details Dietmar Maurer
2013-11-22 13:48 ` Joao Eduardo Luis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.