zookeeper的监控可以通过配置jmx监控,通过jConsole 来进行监控
- 配置指南
配置 |
功能 |
值 |
备注 |
-Dcom.sun.management.jmxremote.authenticate |
connection authenticate |
true / false |
|
-Dcom.sun.management.jmxremote.port |
jmx connection remote port |
1~65535 |
|
-Dcom.sun.management.jmxremote.local.only |
remote can connection |
true / false |
|
-Dcom.sun.management.jmxremote.ssl |
enable ssl connection |
true / false |
|
-Djava.rmi.server.hostname |
multi eth choose |
ip / domain |
|
-Dcom.sun.management.jmxremote.access.file |
remote access |