cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Apache ActiveMQ

This template monitors Apache ActiveMQ server statistics by using the JMX protocol.


Prerequisites: ActiveMQ configured to allow JMX queries. See the following article how to configure JMX in Apache ActiveMQ: http://activemq.apache.org/jmx.html.

Note: This template is configured to send JMX requests over port 1099.

Credentials: Dependent upon JMX configuration.


Monitored Components

Note: By default, “Master Broker” monitors return statistics for Master Broker topics. These monitors could be used to monitor any available topics by changing the “Object Name” parameter in each monitor.

Server: Current Connections Count

This monitor returns the current connection count.

Server: Job Scheduler Store Usage (%)

This monitor returns the percent of job store limit used.

Server: Memory Usage (%)

This monitor returns the percent of memory limit used.

Server: Store Usage (%)

This monitor returns the percent of store limit used.

Server: Temp Usage (%)

This monitor returns the percent of temp limit used.

Server: Total Connections Count

This monitor returns the number of performed connections.

Server: Total Consumer Count

This monitor returns the number of message consumers subscribed to destinations on the broker.

Server: Total Dequeue Count

This monitor returns the number of messages that have been acknowledged on the broker.

Server: Total Enqueue Count

This monitor returns the number of messages that have been sent to the broker.

Server: Total Message Count

This monitor returns the number of unacknowledged messages on the broker.

Server: Total Producer Count

This monitor returns the number of message producers active on destinations on the broker.

Master Broker: Average Blocked Time (ms)

This monitor returns the average time (ms) a message is blocked for Flow Control.

Master Broker: Average Enqueue Time (ms)

This monitor returns the average time a message has been held this destination.

Master Broker: Average Message Size

This monitor returns the average message size on this destination.

Master Broker: Blocked Sends

This monitor returns the number of messages blocked for Flow Control

Master Broker: Consumer Count

This monitor returns the number of consumers subscribed to this destination.

Master Broker: Dequeue Count

This monitor returns the number of messages that have been acknowledged (and removed from) from the destination.

Master Broker: Dispatch Count

This monitor returns the number of messages that have been delivered (but potentially not acknowledged) to consumers.

Master Broker: Enqueue Count

This monitor returns the number of messages that have been sent to the destination.

Master Broker: Expired Count

This monitor returns the number of messages that have been expired.

Master Broker: In Flight Count

This monitor returns the number of messages that have been dispatched to, but not acknowledged by, consumers.

Master Broker: Memory Usage (%)

This monitor returns the percentage of the memory limit used.

Master Broker: Memory Usage (B)

This monitor returns the memory usage, in bytes, used by undelivered messages.

Master Broker: Producer Count

This monitor returns the number of producers publishing to this destination.

Master Broker: Queue Size

This monitor returns the number of messages in the destination which are yet to be consumed. Potentially dispatched but unacknowledged.

Master Broker: Total Blocked Time (ms)

This monitor returns the total time (ms) messages are blocked for Flow Control.

Portions of this document are based on the following content: http://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/package-summary.html.
Last Updated: 11/19/2014

Labels (1)
Attachments
Comments

Hi,

Trying to montior ActiveMQ with this template, but I'm gettin 0 values for all Master Broker parameters.

JMX is enabled, all the components from the template have an UP status, Active MQ is running and I can see  activity (CPU load, heap usage) via JConsole.

Any ideas on how to get actual data from ActiveMQ?

Thanks!

Have you used the JMX Component Monitor Wizard to collect the same or similar metrics from ActiveMQ? It may be what you're seeing in JConsole does not align exactly with what is being collected in this template. The JMX Component Monitor Wizard should allow you to select the metrics you are looking to monitor in a somewhat similar UI to JConsole, and create your own application template.

The link you provided (JMX Component...) seems to dead end now.  Do you have a newer link?  Thanks,

Version history
Revision #:
1 of 1
Last update:
‎11-19-2014 10:47 AM