zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natarajan Suresh <nsure...@yahoo.com>
Subject Healthcheck using the stat command
Date Mon, 23 Jan 2012 21:45:26 GMT
I am trying to write a small health check script for the zookeeper instances. The "stat" command
gives me an output like this:
===========================Zookeeper version: 3.3.3-1073969, built on 02/23/2011 22:27 GMTClients: /[0](queued=0,recved=1,sent=0) /[1](queued=0,recved=474752,sent=474752)
Latency min/avg/max: 0/0/35Received: 1113675Sent: 1113706Outstanding: 0Zxid: 0x2000e2925Mode:
followerNode count: 71===========================
How do I know that the server is ok ? I do not have a bad instance with me to checkout what
the output will be in that case.
If anyone has already written a health check script, can you please share with me ?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message