Chapter 13. Monitoring using AMQ Management Console
AMQ Management Console is a web console for monitoring the status and performance of AMQ Interconnect router networks.
Prerequisites
AMQ Management Console requires the
qpid-dispatch-console
package.For more information about installing packages, see the Chapter 5, Installing AMQ Interconnect.
13.1. Setting up access to AMQ Management Console
Before you can access the web console, you must configure a listener
to accept HTTP connections for the web console and serve the console files.
Procedure
-
On the router from which you want to access the web console, open the
/etc/qpid-dispatch/qdrouterd.conf
configuration file. Add a
listener
to serve the console.This example creates a
listener
that clients can use to access the web console:listener { host: 0.0.0.0 port: 8672 role: normal http: true httpRootDir: /usr/share/qpid-dispatch/console }
host
- The IP address (IPv4 or IPv6) or hostname on which the router will listen.
port
-
The port number or symbolic service name, defined in
/etc/services
, on which the router will listen. role
-
The role of the connection. Specify
normal
to indicate that this connection is used for client traffic. http
-
Set this attribute to
true
to specify that thislistener
should accept HTTP connections instead of plain AMQP connections. httpRootDir
-
Specify the absolute path to the directory that contains the web console HTML files. The default directory is the stand-alone console installation directory, usually
/usr/share/qpid-dispatch/console
.
If you want to secure access to the console, secure the
listener
.For more information, see Section 9.2, “Securing incoming client connections”. This example adds basic user name and password authentication using SASL PLAIN:
listener { host: 0.0.0.0 port: 8672 role: normal http: true httpRootDir: /usr/share/qpid-dispatch/console authenticatePeer: yes saslMechanisms: PLAIN }
- If you want to set up access to the web console from any other router in the router network, repeat this procedure for each router.
13.2. Accessing AMQ Management Console
You can access the web console from a web browser.
Procedure
In a web browser, navigate to the web console URL.
The web console URL is the <host>:<port> from the
listener
that you created to serve the web console. For example:localhost:8672
.The AMQ Management Console opens. If you set up user name and password authentication, the Connect tab is displayed.
If necessary, log in to the web console.
If you set up user name and password authentication, enter your user name and password to access the web console.
The syntax for the user name is <user>@<domain>. For example:
admin@my-domain
.
13.3. Monitoring the router network using AMQ Management Console
The web console provides several sections that you can use to monitor the router network.
This section… | Provides… |
---|---|
Overview | Aggregated information about the router network. This information includes the following:
|
Visualizations | Graphical view of the router network. You can see the following types of visualizations:
|
Details | Detailed configuration information about each AMQP management entity, for each router in the router network. You can view and change the configuration of any of the routers in the network. |