DX Application Performance Management

Expand all | Collapse all

Need help in instrumenting Apache ActiveMQ

  • 1.  Need help in instrumenting Apache ActiveMQ

    Posted Oct 27, 2016 05:53 PM

    Can this be done by the existing Java Agent that I've configured and instrumented for Tomcat6 app server?

     

    Thanks in advance for all your help

     

    Regards,
    Manish



  • 2.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 27, 2016 06:16 PM

    Hi Marekh,

    I think you will need Guenter_Grossberger 's FieldPack

    Docker, nginx and ActiveMQ field packs posted on GitHub 

     

    Regards,

     

    Lynn



  • 3.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 27, 2016 06:23 PM

    There is also an "Active MQ JMS Field Pack" which might be more what you are looking for. It is now a fully supported FP from Engineering - Guenter_Grossberger can provide more details



  • 4.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 27, 2016 06:56 PM

    for this FP, do I need to install EPAgent? Do I also need to open up a Support Case to get this FP?



  • 5.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 27, 2016 06:55 PM

    Thanks Lynn_Williams for providing the link. I am assuming, since I've never done Apache ActiveMQ config/instrumentation, that the "Active MQ JMS FP" might be a better fit but I'll find out more after talking to Guenter_Grossberger

     

    Regards,

    Manish



  • 6.  Re: Need help in instrumenting Apache ActiveMQ
    Best Answer

    Broadcom Employee
    Posted Oct 27, 2016 10:54 PM

    Hi Manish,

    For the ActiveMQ Broker Monitoring FP you will need an EPAgent installed. The GitHub link states 9.7.1, but APM 10.x will also be OK as FP relies on the EPAgent RESTful interface support that started in 9.7.1.

    GitHub - CA-APM/ca-apm-fieldpack-activemq-broker: Collect JMX data from an ActiveMQ broker using an EP agent. 

     

    Also if you log a support case an engineer should be able to provide the "Active MQ JMS Field Pack" for you.

     

    Hope that helps

     

    Lynn



  • 7.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 28, 2016 09:39 AM

    I've opened up a CA Support Case 00591859

     

    Thanks everyone for your help.



  • 8.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 28, 2016 11:41 AM

    Hi Guenter ,

    Provided customer  activemqjms-fieldpack.20160727-bin.zip

    My question is this the correct FP that Manish needs?

    Thanks

    Yanna

     



  • 9.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 28, 2016 11:51 AM

    My Env:

     

    Apache Tomcat 6.0.37

    Java Agent v10.1

    APM (MoM & Collectors) v10.1

    GNU/Linux 2.6.18-308.8.2.el5  GNU/Linux

    java-1.7.0-openjdk-1.7.0.101.x86_64



  • 10.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 28, 2016 03:26 PM

    Hi Manish,

    yes, for 10.1 you need the extension. It is monitoring incoming/outgoing (put/get/receive) client JMS calls. In 10.2 JMS support is included OOTB.

    If you want to monitor the broker itself you can use the EPA script from GitHub that Lynn mentioned.

     

    Ciao,

    Guenter



  • 11.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 31, 2016 04:32 PM

    Guenter_Grossberger so that zip file Yanna supplied has the following files:

     

    Now, the epagent layout is as follows:

     

    Since I haven't done this before......is there a doc somewhere I can follow on where to put the ".jar" and ".pbd" file?



  • 12.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Nov 01, 2016 08:17 AM

    Hi Manish,

     

    Here is what I sent you with the FP:

     

    Installation Instructions:

    Prerequisites:- Ensure Agent is 9.1+

    Installation :-
    Drop the jar file in the agent ext folder of the producer and consumer (JMS clients)
    Drop JMSApacheMQ.pbd in the agent config folder of the producer and the consumer
    Add the pbd to the directive property of the profile file of the producer and the consumer.
    Restart the Application.

     

    Hope this helps.

     

    Thanks

    Yanna



  • 13.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Oct 31, 2016 04:40 PM

    Wait, I just realized............this extension is for the java agent, right?  DUH!!



  • 14.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 31, 2016 06:13 PM

    Hi Manish:

       So after that realization are you set, now encountering another issue, or it works as expected. Please let us know when time allows. 

     

    Thanks

    Hal German



  • 15.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Nov 01, 2016 09:27 AM

    mparikh72

     

    Hi Manish:

       How is it going in getting this working? Please let us know.

    Thanks

    Hal German



  • 16.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Nov 01, 2016 12:09 PM

    Yes, I've made the necessary changes on the agent. Just waiting on my customer to restart the app server.



  • 17.  Re: Need help in instrumenting Apache ActiveMQ

    Posted Nov 02, 2016 05:33 PM

    Guenter_Grossberger and Yanna this is what I am seeing with the extension enabled with the java agent

     

     

    Is there a doc anywhere explaining how to verify the metrics fro ActiveMQ (whether they are showing and what to look for) and how to read/interpret them?

     

    Thanks

    Manish



  • 18.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Nov 03, 2016 12:37 PM

    Hi Manish,

     

    It basically monitor the JMS message exchanges between producer and consumer.

     

    Producer : JMS client sends the message, FP looks for send message and the metrics :     ProdecerMQ|<destinationtype>|<destinationname>|<method>

    Consumer : JMS client consumes the message, FP looks at messages & receive methods and the metrics: Apps|ConsumeMQ <destination name>|URL |Default

     

    Thanks

    Yanna



  • 19.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Nov 03, 2016 01:07 PM

    Hi Manish,

    The send messages show up under Backends and receive messages under Frontends

    Thanks

    Yanna



  • 20.  Re: Need help in instrumenting Apache ActiveMQ

    Broadcom Employee
    Posted Oct 28, 2016 05:35 AM

    Hi Manish:

    It looks like getting the Field Pack via a Support case is the clear next step

    If the above replies have correctly answered your question, please click the "Mark Correct" button to Lynn's initial response. so others can benefit from this information.

     

    You may continue to ask any clarification questions but it seems Lynn's post have explained the necessary details about the field pack.

     

    Thanks

    Hal German