1、对于简单配置,请将以下选项添加到 CATALINA_OPTS
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=172.18.122.53 -Dcom.sun.management.jmxremote.port=12345
注:可以更改端口 12345,hostname改为自己的主机IP
2、添加监控,链接JMX模板