Apache ActiveMQ — Prerequisites

Prerequisites for monitoring Apache ActiveMQ with HEAL.

1 min read Updated SS

Prerequisites to complete before adding this component in the HEAL Control Center.

The prerequisites for the Apache ActiveMQ component (v5.14.4 as per OOB requirement) include:

  1. Add the below JMX arguments in the activemq script:

    export ACTIVEMQ_SUNJMX_START="$ACTIVEMQ_SUNJMX_START
    -Djava.heal.library.arguments.updated
    -Djava.rmi.server.hostname=<ip>
    -Dcom.sun.management.jmxremote.port=<port>
    -Dcom.sun.management.jmxremote.rmi.port=<port>
    -Dcom.sun.management.jmxremote=true
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    -Dcom.sun.management.jmxremote.local.only=false
    -Dcom.sun.management.jmxremote.ssl.need.client.auth=false
    -Dcom.sun.management.jmxremote.registry.ssl=false"
    

    Note:

    • Replace the <ip> with the IP where ActiveMQ is running.
    • Replace <port> with the JMX PORT assigned to ActiveMQ.
    • Enable the JMX PORT in the firewall to support remote JMX data collection if needed.
    • Once the JMX arguments are added, restart ActiveMQ.
    • To create/edit the Apache ActiveMQ component instance after the prerequisites, refer to the Control Centre Administrator Guide V2.X.

See also: Apache ActiveMQ (what HEAL monitors) · Setup & configuration guide