Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pulsar mongo:health sandbox example
$ pulsar myapp sandbox mongo:health
* 2014-12-18 12:14:26 executing `mongo:health'
* 2014-12-18 12:14:26 executing `mongo:health:check'
** ✔ common: Same engine version
** ✔ common: Journaling (durability)
** ✔ router: Router processes are the mongos
** ✔ router: Balancing enabled
** ✔ config: chunk list in sync
** ✔ config: database list in sync
** ✔ config: setting list in sync
** ✔ config: version in sync
** ✔ config: shard list in sync
** ✔ config: 3 config servers
** ✔ replica: rep1: config unique
** ✔ replica: rep1: primary member
** ✔ replica: rep1: secondary members
** ✔ replica: rep1: arbiter members
** ✔ replica: rep1: 10.55.40.150: members health
** ✔ replica: rep1: 10.55.40.142: members health
** ✔ replica: rep1: 10.55.40.133: members health
** ✔ replica: rep2: config unique
** ✔ replica: rep2: primary member
** ✔ replica: rep2: secondary members
** ✔ replica: rep2: arbiter members
** ✔ replica: rep2: 10.55.40.134: members health
** ✔ replica: rep2: 10.55.40.148: members health
** ✔ replica: rep2: 10.55.40.146: members health
** ✔ mms: snapshot for cluster ok
** ✔ mms: agent ok
** ✔ mms: active agent is 1
** ✔ mms: alerts enabled for all hosts
** ✔ mms: profilers disabled for all hosts
** ✔ mms: logs disabled for all hosts
** ✔ mms: all hosts reachable by agent
* 2014-12-18 12:14:32 executing `mongo:health:bottlenecks'
✔ Cleanup
✔ Enable sharding
✔ Verifying routers.
+--------+-----------------------------+--------+------+--------+--------+
| Routers bottlenecks |
+--------+-----------------------------+--------+------+--------+--------+
| Health | Instance | Insert | Find | Update | Remove |
+--------+-----------------------------+--------+------+--------+--------+
| ✔ | config1.mongo.nosql.sandbox | ✔ | ✔ | ✔ | ✔ |
+--------+-----------------------------+--------+------+--------+--------+
✔ Verifying replica members......
+--------+----------------------+-----------+--------+------+--------+--------+-------------------+
| Replica bottlenecks |
+--------+----------------------+-----------+--------+------+--------+--------+-------------------+
| Health | Instance | Role | Insert | Find | Update | Remove | Replication check |
+--------+----------------------+-----------+--------+------+--------+--------+-------------------+
| ✔ | rep1 / 54.77.252.119 | ARBITER | | | | | |
| ✔ | rep1 / 54.154.75.253 | PRIMARY | ✔ | ✔ | ✔ | ✔ | |
| ✔ | rep1 / 54.72.117.84 | SECONDARY | | ✔ | | | ✔ |
| ✔ | rep2 / 54.154.50.251 | ARBITER | | | | | |
| ✔ | rep2 / 54.154.18.175 | PRIMARY | ✔ | ✔ | ✔ | ✔ | |
| ✔ | rep2 / 54.154.25.127 | SECONDARY | | ✔ | | | ✔ |
+--------+----------------------+-----------+--------+------+--------+--------+-------------------+
✔ Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment