Description

This template is applicable on devices that contain the ActiveMQ application. It is used to monitor queue, broker and Subscriber Statistics.

Prerequisites

Gateway should be up and running. The device should be reachable from Gateway. The device should be in managed state. The device should be JMX enabled. If you configure the credentials, the credentials should be attached against the device.

How to Apply:

For ActiveMQ we have Instance Based Monitoring or Component Discovery Monitoring. In order to do that, we should add the following custom parameter.

application.component.name : broker

application.component.name : Queue

application.component.name : Topic

  • Create different monitors for different components in Instance based monitoring.

  • Only one component is allowed per monitor in Instance based monitoring.

We have three different types of Component Discovery Monitoring. They are :

For a single component :

ALL : ALL your instances will be monitored.

Expression: The Instance Names that match the expression will be monitored.

Metric Parameters

Metric Parameters
ParameterDescription
Frequency
  • Frequency is the interval in which you want to probe and collect metric data from the target device/resource
  • Frequency is defined in minutes (min).
  • Warning ThresholdIf the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user.
    Critical ThresholdIf the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user.
    AlertThe alert value can be set to either Yes or No. If it is Yes, then an alert message is sent to the user.

    Metrics

    yarn.resourcemanager.jvm.daemon.thread.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of messages that currently reside in the queue. Potentially dispatched but unacknowledged.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.consumer_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of threads managed by the thread pool shown as thread
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.producer_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of producers currently attached to the destination.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.dequeue_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of messages that has been acknowledged (and removed) from the destination.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.dispatch_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of messages that has been delivered to consumers, including those not acknowledged
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.enqueue_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of messages that have been sent to the destination.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.expired_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of messages that have been dispatched to, but not acknowledged by, consumers.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.avg_enqueue_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAverage time a message was held on this destination.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.max.enqueue.time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe longest time a message was held on this destination
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.min_enqueue_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe shortest time a message was held on this destination
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.memory_pct

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe percentage of the memory limit used
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unit%

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.queue.in_flight_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of messages that have been dispatched to, but not acknowledged by, consumers.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.broker.store_pct

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionPercent of store limit used.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unit%

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.broker.temp_pct

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionPercent of temp limit used.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unit%

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.broker.current_connections_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAttribute exposed for management.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.broker.slave

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionSlave broker.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    activemq.broker.memory_pct

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionPercent of memory limit used.
    CategoryApplication
    Collector TypeGateway
    Monitor NameActiveMQ Queue Monitor
    Unit%

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph