SonarQube DataDog Integration : How do I Activate JMX?

SonarQube Version: 8.9

In order to integrate with DataDog I need to activate JMX on my SonarQube instance.
I’m trying to follow the documentation: https://docs.sonarqube.org/latest/instance-administration/monitoring

Which files need to be updated to activate JMX? (i’m not sure if it’s sonar.properties)

For example I am unsure where to put these configurations exactly:

# JMX WEB - 10443/10444
sonar.web.javaAdditionalOpts=-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.port=10443 -Dcom.sun.management.jmxremote.rmi.port=10444 -Dcom.sun.management.jmxremote.password.file=/opt/sonarsource/sonar/conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=/opt/sonarsource/sonar/conf/jmxremote.access
#
# JMX Access Control file
#
reader readonly
admin  readwrite \
    create javax.management.monitor.*,javax.management.timer.*,com.sun.management.*,com.oracle.jrockit.* \
    unregister
#
# JMX Access Password file
#
reader readerpassword
admin  adminpassword

Any help would be much appreciated :slight_smile:

Hi @nanaasiedu ,

I see that @vinodkumar4b9 is assisting you in this other thread: Datadog Integreation with sonarqube. I’ll close this thread. You are welcome to create a new post if you have any new issues.

Joe