Skip to content

Instantly share code, notes, and snippets.

@niedbalski
Created November 5, 2014 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niedbalski/6e7cf829f68e9ae82966 to your computer and use it in GitHub Desktop.
Save niedbalski/6e7cf829f68e9ae82966 to your computer and use it in GitHub Desktop.
connecting to: test
{
"set" : "myset",
"date" : ISODate("2014-11-05T20:00:38Z"),
"myState" : 2,
"syncingTo" : "juju-niedbalski-machine-12:27017",
"members" : [
{
"_id" : 0,
"name" : "juju-niedbalski-machine-12:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 69,
"optime" : Timestamp(1415217558, 1),
"optimeDate" : ISODate("2014-11-05T19:59:18Z"),
"lastHeartbeat" : ISODate("2014-11-05T20:00:37Z"),
"lastHeartbeatRecv" : ISODate("2014-11-05T20:00:38Z"),
"pingMs" : 0
},
{
"_id" : 1,
"name" : "10.5.0.124:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 69,
"optime" : Timestamp(1415217558, 1),
"optimeDate" : ISODate("2014-11-05T19:59:18Z"),
"lastHeartbeat" : ISODate("2014-11-05T20:00:37Z"),
"lastHeartbeatRecv" : ISODate("2014-11-05T20:00:37Z"),
"pingMs" : 0,
"syncingTo" : "juju-niedbalski-machine-12:27017"
},
{
"_id" : 2,
"name" : "10.5.0.123:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 91,
"optime" : Timestamp(1415217558, 1),
"optimeDate" : ISODate("2014-11-05T19:59:18Z"),
"self" : true
}
],
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment