[ZBX-26913] Zabbix JMX jira DataCenter template configuration with authentication Created: 2025 Aug 25 Updated: 2025 Sep 05 Resolved: 2025 Sep 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Templates (T) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Hubert Rzyha | Assignee: | Unassigned |
Resolution: | Commercial support required | Votes: | 0 |
Labels: | jira, template | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() |
Description |
Steps to reproduce:
JAVA_OPTS="-Dcom.sun.management.jmxremote ${JAVA_OPTS}" JAVA_OPTS="-Dcom.sun.management.jmxremote.port=8099 ${JAVA_OPTS}" JAVA_OPTS="-Dcom.sun.management.jmxremote.local.only=false ${JAVA_OPTS}" JAVA_OPTS="-Dcom.sun.management.jmxremote.ssl=false ${JAVA_OPTS}"export JAVA_OPTSCATALINA_OPTS="-Xms${JVM_MINIMUM_MEMORY} -Xmx${JVM_MAXIMUM_MEMORY} ${CATALINA_OPTS}"CATALINA_OPTS="-Dcom.sun.management.jmxremote.authenticate=true ${CATALINA_OPTS}"CATALINA_OPTS="-Dcom.sun.management.jmxremote.password.file=/opt/appdata/jira-home/jmxremote.password ${CATALINA_OPTS}" CATALINA_OPTS="-Dcom.sun.management.jmxremote.access.file=/opt/appdata/jira-home/jmxremote.access ${CATALINA_OPTS}"
Result: |
Comments |
Comment by Alexey Pustovalov [ 2025 Aug 26 ] |
Please try to use http://docs.oracle.com/javase/8/docs/technotes/guides/management/jconsole.html and retrieve any JMX counter. |
Comment by Hubert Rzyha [ 2025 Aug 26 ] |
Can you tell me exactly how to do this and what you mean? |
Comment by Alexey Pustovalov [ 2025 Aug 28 ] |
I mean try to use external tool to retrieve required data with enabled authentication. |
Comment by Hubert Rzyha [ 2025 Aug 28 ] |
Okay will try to do this. |
Comment by Hubert Rzyha [ 2025 Sep 04 ] |
Hi dotneft and got this: But when I tried to Jira node where authentication is set to false everything works fine. |
Comment by Alexey Pustovalov [ 2025 Sep 04 ] |
You did not attach pictures. |
Comment by Hubert Rzyha [ 2025 Sep 04 ] |
|
Comment by Hubert Rzyha [ 2025 Sep 04 ] |
|
Comment by Hubert Rzyha [ 2025 Sep 04 ] |
pictures attached: first is where we have authentication off (set to false) and second where is enable (true) |
Comment by Alexey Pustovalov [ 2025 Sep 04 ] |
So using different tool it does not work as well? |
Comment by Hubert Rzyha [ 2025 Sep 04 ] |
dotneft short answer is yes. |
Comment by Alexey Pustovalov [ 2025 Sep 05 ] |
Everything depends on software configuration, it is better to consult with Java software vendor. Sorry, but such issue can not be qualified as Zabbix software issue / bug, so please reach out to [email protected] for commercial support (https://zabbix.com/support) or consultancy services. |