ActiveMQ monitoring is a Gateway configuration file that enables monitoring of ActiveMQ through a set of samplers with customised JMX plug-in settings.
Track the following key areas when using ActiveMQ monitoring:
|Broker||Shows the memory usage of the broker metrics.|
|Queue||Monitors the queue size and provies information on the messages being processed in the queue.|
|Topic||Tracks the number of consumers and topics that are existing within the broker.|
This guide discusses the steps to set up the ActiveMQ integration on a Gateway . Once the integration is set up, the samplers providing the dataviews become available to that Gateway.
To view the sample metrics and dataviews, see ActiveMQ Monitoring Technical Reference.
This monitoring template is a Gateway configuration setup that can be included in the Gateway Setup Editor.
To use this template, your configuration must meet the following requirements:
- A machine running the Netprobe must have access to the HTTP address and port published by the ActiveMQ.
- An Active Console that is connected to the Gateway.
- A JMX-enabled ActiveMQ broker instance.
- ActiveMQ configuration files extracted to their Gateway set-up.
The following requirements must be met prior to the installation and setup of the template:
- Template package: geneos-integration-activemq-<version>.zip.
- Managed entities utilising the samplers defined in
- The Netprobe running the ActiveMQ Monitoring integration must be configured with a Java environment. See Configure the Java environment.
For more information on supported versions, see Application and plug-in specific information in Geneos 5.x Compatibility Matrix.
Note: This template is verified to be working with ActiveMQ version 5.15.3.
This document is a reference guide to introduce templates and scripts built using the Geneos development toolkit plug-ins.
The template allows you to integrate specific applications and services to collect metrics without having to create a new plug-in.
Ensure that you have read and can follow the system requirements prior to installation and setup of this integration template.
- Download the config file (geneos-integration-activemq-<version>.zip) from the ITRS Downloads site.
- Open Gateway Setup Editor.
- In the Navigation panel, click Includes to create a new file.
- Enter the location of the file to include in the Location field. In this example, it is the
- Update the Priority field. This can be any value except
1. If you input a priority of
1, the Gateway Setup Editor returns an error.
- Expand the file location in the Include section.
- Select Click to load.
- Click Yes to load the new ActiveMQ include file.
- Click Managed entities in the Navigation panel.
- Add the ActiveMQ-Monitoring type to the Managed Entity section that you will use to monitor ActiveMQ.
- Click the Validate button to check your configuration and save if everything is correct.
These are the pre-configured samplers available to use in
Configure the required fields by referring to the table below:
ActiveMQMonitoring.xml template provides the following variables that are set in the Environments section.
|ACTIVEMQ_JMX_HOST||IP/Hostname to be accessed using JMX plug-in.|
|ACTIVEMQ_JMX_PORT||Port to be accessed using JMX.|
|ACTIVEMQ_BROKER||Name of the Broker to monitor.|
|ACTIVEMQ_GROUP||Sampler group name.|
Note: The default values can be changed by providing an environment with the same name with a higher priorty in the set-up file, or by using an environment in the Managed entity where the type is defined.
ActiveMQMonitoring-SampleRules.xml template also provides a separate sample rules that you can use to configure the Gateway Setup Editor.
Your configuration rules must be set in the Includes section. In the Navigation panel, click Rules.
ActiveMQ-MemoryUsage rule set-up in the configuration file checks the Broker's memory usage.