Skip to end of metadata
Go to start of metadata

You can useĀ VisualVM to monitor your remote JIRA instance if you like to to take a thread dump or simply just monitor the application. You will need to do the following in JIRA:

  1. Enable JMX monitoring. Administration > System > JMX Monitoring
  2. Insert the properties below in your <JIRA_INSTALL>/bin/setenv.sh file in order to expose the JMX feature. You will have to restart JIRA in order to make this work.


Parameters in setenv.sh
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.port=20000
-Dcom.sun.management.jmxremote.rmi.port=21000
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=<your-jira-ip>

In order to connect to the JXM port you can make a SSH tunnel to the JIRA server like this:

SSH Tunnel to JIRA
$ ssh -L 10000:localhost:20000 user@jiraserver.com

Add the JMX connection in VisualVM like below:

Now you are ready to explore the JIRA application

  • No labels