Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a possibility to track Java Heap Space from an RTC external Server/Service?

We are setting up an ALM Environment based on RTC and JAZZ.

From our IT we got the recommendation to track Java Heap used per Server with our inhouse Monitoring and Reporting Tools, to be able to provide comparable Reports for all used Server and Applications in our Company.

For other Apps we required the Definition of a separate Account to connect on a defined Port:
mks.java.additional.44=-Dcom.sun.management.jmxremote.port=3333
mks.java.additional.45=-Dcom.sun.management.jmxremote.ssl=false
mks.java.additional.46=-Dcom.sun.management.jmxremote.authenticate=true
mks.java.additional.47=-Dcom.sun.management.jmxremote.local.only=false

combined with a Password File that contain required Account an Password.

(see example of used jmxremote.password.template below)
##############################################################
#        Password File for Remote JMX Monitoring
##############################################################
#
# Password file for Remote JMX API access to monitoring.  This
# file defines the different roles and their passwords.  The access
# control file (jmxremote.access by default) defines the allowed
# access for each role.  To be functional, a role must have an entry
# in both the password and the access files.
#
# Default location of this file is $JRE/lib/management/jmxremote.password
# You can specify an alternate location by specifying a property in
# the management config file $JRE/lib/management/management.properties
# or by specifying a system property (See that file for details).
#
# In a typical installation, this file can be read by anybody on the
# local machine, and possibly by people on other machines.
# For # security, you should either restrict the access to this file,
# or specify another, less accessible file in the management config file
# as described above.
#
# Following are two commented-out entries.  The "measureRole" role has
# password "QED".  The "controlRole" role has password "R&D".
#
# monitorRole  QED
# controlRole  R&D

0 votes

Comments

I fail to figure what the exact question is. You might want to check https://jazz.net/wiki/bin/view/Deployment/DeploymentMonitoring .

Hi Ralf,
thanks for Feedback. The Page you linked I already saw before.
Nevertheless it provides "only" an internal Monitoring, but afaik no possibility to get data accessed from an Jazz-external Toolframe.
My Question is exactly this last Point: How to connect from Jazz-external to get Heap Performance Data in our Company's Environment to provide this data in our Company's Standard-Reporting.
Best Regards
Klaus

The page I linked explains the usage of JMX beans. Java and the application server you use also provide JMX beans to provide the information you ask for. I think it is documented to some extent on that page. Otherwise you would have to look it up in the documentation of said products.


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,494
× 1,700
× 1,323

Question asked: Sep 22 '20, 9:51 a.m.

Question was seen: 1,156 times

Last updated: Sep 23 '20, 2:58 a.m.

Confirmation Cancel Confirm