Skip to content

Instantly share code, notes, and snippets.

@gvilarino
Created March 12, 2015 02:10
Show Gist options
  • Save gvilarino/09863654c1435415e0d8 to your computer and use it in GitHub Desktop.
Save gvilarino/09863654c1435415e0d8 to your computer and use it in GitHub Desktop.
{ "health": { "health": { "health_services": [
{ "mons": [
{ "name": "ip-10-21-1-79.ec2.internal",
"kb_total": 104857600,
"kb_used": 6371896,
"kb_avail": 96533224,
"avail_percent": 92,
"last_updated": "2015-03-12 02:09:56.793258",
"store_stats": { "bytes_total": 15558774,
"bytes_sst": 0,
"bytes_log": 15557215,
"bytes_misc": 1559,
"last_updated": "0.000000"},
"health": "HEALTH_OK"},
{ "name": "ip-10-21-1-80.ec2.internal",
"kb_total": 104857600,
"kb_used": 6491212,
"kb_avail": 96407444,
"avail_percent": 91,
"last_updated": "2015-03-12 02:09:51.500077",
"store_stats": { "bytes_total": 23199020,
"bytes_sst": 0,
"bytes_log": 23197628,
"bytes_misc": 1392,
"last_updated": "0.000000"},
"health": "HEALTH_OK"},
{ "name": "ip-10-21-2-103.ec2.internal",
"kb_total": 104857600,
"kb_used": 6322740,
"kb_avail": 96572300,
"avail_percent": 92,
"last_updated": "2015-03-12 02:09:51.132893",
"store_stats": { "bytes_total": 23205805,
"bytes_sst": 0,
"bytes_log": 23204413,
"bytes_misc": 1392,
"last_updated": "0.000000"},
"health": "HEALTH_OK"},
{ "name": "ip-10-21-2-104.ec2.internal",
"kb_total": 104857600,
"kb_used": 8033404,
"kb_avail": 95196708,
"avail_percent": 90,
"last_updated": "2015-03-12 02:09:56.673782",
"store_stats": { "bytes_total": 23161971,
"bytes_sst": 0,
"bytes_log": 23160412,
"bytes_misc": 1559,
"last_updated": "0.000000"},
"health": "HEALTH_OK"},
{ "name": "ip-10-21-2-105.ec2.internal",
"kb_total": 104857600,
"kb_used": 6086580,
"kb_avail": 96748268,
"avail_percent": 92,
"last_updated": "2015-03-12 02:09:56.953875",
"store_stats": { "bytes_total": 23189434,
"bytes_sst": 0,
"bytes_log": 23187875,
"bytes_misc": 1559,
"last_updated": "0.000000"},
"health": "HEALTH_OK"}]}]},
"summary": [],
"timechecks": { "epoch": 14,
"round": 6,
"round_status": "finished",
"mons": [
{ "name": "ip-10-21-1-79.ec2.internal",
"skew": "0.000000",
"latency": "0.000000",
"health": "HEALTH_OK"},
{ "name": "ip-10-21-1-80.ec2.internal",
"skew": "0.000261",
"latency": "0.002624",
"health": "HEALTH_OK"},
{ "name": "ip-10-21-2-103.ec2.internal",
"skew": "0.103156",
"latency": "0.002468",
"health": "HEALTH_WARN",
"details": "clock skew 0.103156s > max 0.05s"},
{ "name": "ip-10-21-2-104.ec2.internal",
"skew": "-0.115755",
"latency": "0.002263",
"health": "HEALTH_WARN",
"details": "clock skew 0.115755s > max 0.05s"},
{ "name": "ip-10-21-2-105.ec2.internal",
"skew": "0.162359",
"latency": "0.003347",
"health": "HEALTH_WARN",
"details": "clock skew 0.162359s > max 0.05s"}]},
"overall_status": "HEALTH_WARN",
"detail": [
"mon.ip-10-21-2-103.ec2.internal addr 10.21.2.103:6789\/0 clock skew 0.103156s > max 0.05s (latency 0.00246752s)",
"mon.ip-10-21-2-104.ec2.internal addr 10.21.2.104:6789\/0 clock skew 0.115755s > max 0.05s (latency 0.00226288s)",
"mon.ip-10-21-2-105.ec2.internal addr 10.21.2.105:6789\/0 clock skew 0.162359s > max 0.05s (latency 0.00334672s)"]},
"fsid": "9de398a5-5bfc-4caa-a302-901120a8f4dd",
"election_epoch": 14,
"quorum": [
0,
1,
2,
3,
4],
"quorum_names": [
"ip-10-21-1-79.ec2.internal",
"ip-10-21-1-80.ec2.internal",
"ip-10-21-2-103.ec2.internal",
"ip-10-21-2-104.ec2.internal",
"ip-10-21-2-105.ec2.internal"],
"monmap": { "epoch": 5,
"fsid": "9de398a5-5bfc-4caa-a302-901120a8f4dd",
"modified": "2015-03-12 01:54:08.816019",
"created": "2015-03-12 01:53:49.480603",
"mons": [
{ "rank": 0,
"name": "ip-10-21-1-79.ec2.internal",
"addr": "10.21.1.79:6789\/0"},
{ "rank": 1,
"name": "ip-10-21-1-80.ec2.internal",
"addr": "10.21.1.80:6789\/0"},
{ "rank": 2,
"name": "ip-10-21-2-103.ec2.internal",
"addr": "10.21.2.103:6789\/0"},
{ "rank": 3,
"name": "ip-10-21-2-104.ec2.internal",
"addr": "10.21.2.104:6789\/0"},
{ "rank": 4,
"name": "ip-10-21-2-105.ec2.internal",
"addr": "10.21.2.105:6789\/0"}]},
"osdmap": { "osdmap": { "epoch": 30,
"num_osds": 5,
"num_up_osds": 5,
"num_in_osds": 5,
"full": false,
"nearfull": false}},
"pgmap": { "pgs_by_state": [
{ "state_name": "active+clean",
"count": 1536}],
"version": 206,
"num_pgs": 1536,
"data_bytes": 372828363,
"bytes_used": 34105032704,
"bytes_avail": 493012910080,
"bytes_total": 536870912000,
"write_bytes_sec": 501,
"op_per_sec": 0},
"mdsmap": { "epoch": 6,
"up": 1,
"in": 1,
"max": 1,
"by_rank": [
{ "rank": 0,
"name": "ip-10-21-2-104.ec2.internal",
"status": "up:active"}],
"up:standby": 4}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment