Stackstate-ActiveMQ Integration

Overview

Get metrics from activemq service in real time to:

  • Visualize and monitor activemq states
  • Be notified about activemq failovers and events.

Setup

Installation

This check is packaged with the Agent, so simply install the agent.

Configuration

Edit the activemq.yaml file to point to your server and port, set the masters to monitor

Validation

When you run stackstate-agent info you should see something like the following:

Checks
======

    activemq
    -----------
      - instance #0 [OK]
      - Collected 39 metrics, 0 events & 7 service checks

Compatibility

The activemq check is compatible with all major platforms

Data Collected

Metrics

activemq.queue.avg_enqueue_time
(gauge)
On average the amount of time (ms) that messages remained enqueued.
shown as millisecond
activemq.queue.consumer_count
(gauge)
The number of consumers connected
shown as
activemq.queue.producer_count
(gauge)
The number of producers connected
shown as
activemq.queue.max_enqueue_time
(gauge)
The max the amount of time (ms) that messages remained enqueued.
shown as millisecond
activemq.queue.min_enqueue_time
(gauge)
The min the amount of time (ms) that messages remained enqueued.
shown as millisecond
activemq.queue.memory_pct
(gauge)
The percentage of memory currently in use
shown as percent
activemq.queue.size
(gauge)
The amount of messages that remained queued.
shown as
activemq.queue.dequeue_count
(gauge)
The amount of messages that remained dequeued.
shown as
activemq.queue.dispatch_count
(gauge)
The amount of messages that have been dispatched.
shown as
activemq.queue.enqueue_count
(gauge)
The amount of messages that have been enqueued.
shown as
activemq.queue.expired_count
(gauge)
The amount of messages that have been expired.
shown as
activemq.queue.in_flight_count
(gauge)
The amount of messages that have been in flight.
shown as
activemq.broker.store_pct
(gauge)
The percentage of store in use.
shown as percent
activemq.broker.temp_pct
(gauge)
The percentage of temporary in use.
shown as percent
activemq.broker.memory_pct
(gauge)
The percentage of memory in use.
shown as percent

Events

The Activemq check does not include any event at this time.

Service Checks

The Activemq check does not include any service check at this time.

Troubleshooting

Further Reading