DX Unified Infrastructure Management

 View Only
  • 1.  Monitor ActiveMQ/JMS ?

    Posted Sep 08, 2017 06:11 AM

    Is it possible to monitor ActiveMQ/JMS in UIM?

    We would like to monitor queues and performance.



  • 2.  Re: Monitor ActiveMQ/JMS ?

    Broadcom Employee
    Posted Sep 13, 2017 02:24 PM

    it looks like ActiveMQ has a JMX interface.

    So I would think you would be able to use the JVM_monitor probe to collect information.

    jvm_monitor (Java Virtual Machine Monitoring) - CA Unified Infrastructure Management Probes - CA Technologies Documentat… 



  • 3.  Re: Monitor ActiveMQ/JMS ?

    Posted Sep 14, 2017 08:03 AM

    Yes, it works. And also the Tomcat-probe. Looks almost the same, but in the JVM_monitor-probe you have some more options in the monitoring. Maybe someone else can tell the exact different?

    Both probes needs to be edited though, regarding running out of memory. Here is what you need to do:

    tomcat probe internal used memory error (I think this goes for the JVM-probe as well)

     

     

    This is how I did it:

     

     

    1. Open up port 1099 in the firewall between your UIM-server and the ActiveMQ-server.
    2. Now you need to activate the JMX-connector so the ActiveMQ-server starts listening to port 1099.
    You do this in the XML-config, which you will find in the install directory for ActiveMQ.
    In my case it's in here:
    /opt/<activemq-dir>/conf/activemq.xml
    This is what you need to change/add inbetween your "<Broker xmlns.."-tag:
    <broker xmlns="http://activemq.apache.org......................">
    ………..…
    ………
    <managementContext>
      <managementContext createConnector="true" connectorPort="1099"/>
    </managementContext>
    ……
    ………….
    </broker>

    3. Now you should start ActiveMQ:
    • cd /opt/<activemq-dir>/bin
    • ./activemq start       --- (If it's already started you need to stop it first with "./activemq stop")

     

    4. Check that the server now is listening at port 1099

    • netstat -an | grep 1099

     

    5. Now open up your Tomcat or JVM-probe and add the host with port 1099.

    • Default User/Password is admin/admin (you should change this later).

     

    6. When it's connected, it should look something like this:

     

     

     

     

    If you still having problem, JMX might not be enabled by default in ActiveMQ. Then add this to the XML-config:

    /opt/<activemq-dir>/conf/activemq.xml

    <broker xmlns="..….brokerName="localhost" useJmx="true">
    .......
    .........
    </broker>



  • 4.  Re: Monitor ActiveMQ/JMS ?

    Posted Mar 20, 2018 05:10 AM

    Hi,

    I have no experience with the monitoring of queue server, but if can we read the contain of the queue data.

    The monitoring request to read around 25 messages per second, is this possible with this method ?