JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server Message Queue 4.5 Administration Guide
search filter icon
search icon

Document Information

Preface

Part I Introduction to Message Queue Administration

1.  Administrative Tasks and Tools

2.  Quick-Start Tutorial

Part II Administrative Tasks

3.  Starting Brokers and Clients

4.  Configuring a Broker

5.  Managing a Broker

6.  Configuring and Managing Connection Services

7.  Managing Message Delivery

8.  Configuring Persistence Services

9.  Configuring and Managing Security Services

10.  Configuring and Managing Broker Clusters

11.  Managing Administered Objects

12.  Configuring and Managing Bridge Services

13.  Monitoring Broker Operations

Monitoring Services

Introduction to Monitoring Tools

Configuring and Using Broker Logging

Logger Properties

Log Message Format

Default Logging Configuration

Changing the Logging Configuration

To Change the Logger Configuration for a Broker

Changing the Output Channel

Changing Log File Rollover Criteria

Sending Metrics Data to Log Files

Logging Dead Messages

Using the Command Utility to Display Metrics Interactively

imqcmd metrics

To Use the metrics Subcommand

Metrics Outputs: imqcmd metrics

Brokerwide Metrics

Connection Service Metrics

Physical Destination Metrics

imqcmd query

Using the JMX Administration API

Using the Java ES Monitoring Console

Using the Message-Based Monitoring API

Setting Up Message-Based Monitoring

To Set Up Message-based Monitoring

Security and Access Considerations

Metrics Outputs: Metrics Messages

14.  Analyzing and Tuning a Message Service

15.  Troubleshooting

Part III Reference

16.  Command Line Reference

17.  Broker Properties Reference

18.  Physical Destination Property Reference

19.  Administered Object Attribute Reference

20.  JMS Resource Adapter Property Reference

21.  Metrics Information Reference

22.  JES Monitoring Framework Reference

Part IV Appendixes

A.  Distribution-Specific Locations of Message Queue Data

B.  Stability of Message Queue Interfaces

C.  HTTP/HTTPS Support

D.  JMX Support

E.  Frequently Used Command Utility Commands

Index

Introduction to Monitoring Tools

There are five tools (or interfaces) for monitoring Message Queue information, as described briefly below:

The following tabel compares the different tools.

Table 13-1 Benefits and Limitations of Metrics Monitoring Tools

Metrics Monitoring Tool
Benefits
Limitations
Log files
  • Regular sampling
  • Creates a historical record

  • Local monitoring only
  • Data format difficult to read; no parsing tools

  • Need to configure broker properties; must shut down and restart broker to take effect

  • Broker metrics only; no destination or connection service metrics

  • No flexibility in selection of data

  • Same reporting interval for all metrics data; cannot be changed on the fly

  • Possible performance penalty if interval set too short

Command Utility (imqcmd metrics)
  • Remote monitoring
  • Convenient for spot-checking

  • Data presented in easy-to-read tabular format

  • Easy to select specific data of interest

  • Reporting interval set in command option; can be changed on the fly

  • Difficult to analyze data programmatically
  • No single command gets all data

  • No historical record; difficult to see historical trends

JMX Administration API
  • Remote monitoring
  • Data can be analyzed programmatically and presented in any format

  • Easy to select specific data of interest

  • Can use standard Java Monitoring and Management Console (jconsole)

  • Might need to configure broker's JMX support
Java ES Monitoring Console
  • Web-based graphical interface
  • Data presented in easy-to-read format

  • Common interface shared with other JES components

  • No performance penalty; pulls data from broker’s existing data monitoring infrastructure

  • Limited subset of data available
  • Data cannot be analyzed programmatically

  • No historical record; difficult to see historical trends

Message-based Monitoring API
  • Remote monitoring
  • Data can be analyzed programmatically and presented in any format

  • Easy to select specific data of interest

  • Need to configure broker properties; must shut down and restart broker to take effect
  • Same reporting interval for all metrics data; cannot be changed on the fly

In addition to the differences shown in the table, each tool gathers a somewhat different subset of the metrics information generated by the broker. For information on which metrics data is gathered by each monitoring tool, see Chapter 21, Metrics Information Reference.