[In Development] Monitoring Apache ActiveMQ

Configure the Server Density agent to monitor your Apache ActiveMQ broker to:

• Collect important metrics to graph and monitor performance
• Identify overall server slowdowns caused by the broker

Note: This plugin is still in development and is not yet available to install. We will add new plugins to our release notes.

The Apache ActiveMQ plugin is limited to 350 metrics per cluster/instance. You can configure the metrics to be returned using the config files (see below), or read more about JMX Checks.

Configuring the agent to monitor Apache ActiveMQ

1. If using ActiveMQ < 5.8, configure /etc/sd-agent/conf.d/activemq.yaml

instances:
 - host: localhost
port: 1099
# user: username
# password: password
  • Tune the rest of the config file as necessary for your setup

2. If using ActiveMQ >= 5.8, configure /etc/sd-agent/conf.d/activemq_58.yaml

instances:
 - host: localhost
port: 1099
# user: username
# password: password
  • Tune the rest of the config file as necessary for your setup

3. Restart the agent

sudo /etc/init.d/sd-agent restart

Verifying the configuration
Execute info to verify the configuration with the following:

sudo /etc/init.d/sd-agent info 

If the agent has been configured correctly you’ll see an output such as:

activemq
-----
- instance #0 [OK]
- Collected 8 metrics & 0 events

Configuring Graphs
Click the name of your server from the Devices list in your Server Density account then go to the Metrics tab. Click the + Graph button on the right then choose the Apache ActiveMQ metrics to display the graphs. The metrics will also be available to select when building dashboard graphs.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.