1 Reply Latest reply on Dec 20, 2019 8:06 AM by Henrik Hauchwitz

    Enabling jmx access

    Siddharth Mahajan
      Share This:

      Hi,

       

      I want to enable JMX access for monitoring purpose, I have gone through the link:- https://communities.bmc.com/docs/DOC-31859#

      but I am not able to do it as I have AO installed on linux, can someone help me here how to achieve this.

        • 1. Re: Enabling jmx access
          Henrik Hauchwitz

          Hey Siddharth,

           

          I'd recommend doing this step by step.
          Starting with a setup that does not require authentication all you need to do is set the necessary catalina parameters in the CDPs server.sh

          The server.sh for CDP can be found under [AOHOME]/CDP/bin/server.sh (remember to create a backup before altering anything)

           

          Inside that file is a block of variables to be used during startup.

          Just create a new variable like "JMX_OPTS" and insert all the necessary parameters.
          Then add your new variable to the "CATALINA_OPTS".
          Restart CDP afterwards and it should be available.

          For further parameters like authentication etc refer to tomcat documentation.

          https://tomcat.apache.org/tomcat-9.0-doc/monitoring.html

           

          My example uses the defaul jmx port (8050)

           

          Hope this helps you.


          Best regards,

          Henrik

          3 of 3 people found this helpful