unable to determine zookeeper ensemble health
You can use the stat four letter word,
~$echo stat | nc 127.0.0.1 <zkport>
Which gives you output like,
Zookeeper version: 3.4.5-1392090, built on 09/30/2012 17:52 GMTClients: /127.0.0.1:55829[0](queued=0,recved=1,sent=0)Latency min/avg/max: 0/0/0Received: 3Sent: 2Connections: 1Outstanding: 0Zxid: 0x100000000Mode: leaderNode count: 4
The Mode:
line tells you what mode the server is running in, either leader, follower or standalone if the node is not part of a cluster.