kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sa Li <sal...@gmail.com>
Subject zookeeper monitoring
Date Fri, 09 Jan 2015 00:02:02 GMT
Hi, all

I've just figured out the monitoring of kafka by jconsole, I want to do the
same thing to zookeeper. Zookeeper site says "The class
*org.apache.zookeeper.server.quorum.QuorumPeerMain* will start a JMX
manageable ZooKeeper server. This class registers the proper MBeans during
initalization to support JMX monitoring and management of the instance. See
*bin/zkServer.sh* for one example of starting ZooKeeper using

I found when I type:
root@pof-kstorm-dev1:/etc/kafka# zkServer.sh start
JMX enabled by default
Using config: /etc/zookeeper/conf/zoo.cfg
Starting zookeeper ... STARTED

Seems JMX is enabled by default, by checking the zkServer.sh,


-Dcom.sun.management.jmxremote.local.only=$JMXLOCALONLY , should I change a
jmxport here, or what is the default jmx_port number for zookeeper?



Alec Li

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message