Javamelody Plugin working with Centralized Collect Server

Javier Sanchez June 30, 2015

Hello,

Is there any way to get Javamelody JIRA Plugin working with Centralized Collect Server, I have problems with authentication from Centralized Collect Server.

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Emeric Vernat
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2015

If you want to use the Collect Server with the Javamelody plugin, you could disable the JIRA authentication needed to access the monitoring URL.

For that, add a system property -Djavamelody.plugin-authentication-disabled=true in your JIRA server.

But authentication would also be disabled for anyone. So it would be better to also add either -Djavamelody.allowed-addr-pattern=123\.123\.123\.123 or basic authentication wih -Djavamelody.authorized-users=myusername:mypassword (in this case, the URL to use in the collect server is http://myusername:mypassword@jiraserver:8080)

More information:

https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#5._Security_with_a_collect_server

Javier Sanchez July 3, 2015

Thanks, The only thing I had to change was -Djavamelody.authorized-users=myusername,mypassword is wrong, the correct way is -Djavamelody.authorized-users=myusername:mypassword, but it works like a charm.

Emeric Vernat
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2015

Ah yes, it's a mistyping from me. I have corrected the answer above.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events