2.1.11.1 windows系统
暂无2.1.11.2 linux系统
- 编辑sonar.properties文件(一般在安装目录/conf路径下),开启JMX
2. 重启服务后,等待10秒钟,查看端口是否启用
- 监控平台导入模板并迁移后,添加对象选用【中间件SonarQube模板[通用JMX]】模板

Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
[sonar@db2 ~]$ vim /opt/sonarqube/sonarqube-8.9.2.46101/conf/sonar.properties在文件最后加入以下内容,端口(12345)可自定义修改:sonar.web.javaAdditionalOpts=-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=12345
2. 重启服务后,等待10秒钟,查看端口是否启用
[sonar@db2 ~]$ /opt/sonarqube/sonarqube-8.9.2.46101/bin/linux-x86-64/sonar.sh restart[sonar@db2 ~]$ ss -lnt | grep 12345

Was this page helpful?
