How to get information about exchanges/queues in Satellite6 qpid broker?

Solution Verified - Updated

Environment

  • Red Hat Satellite or Proxy 6
  • qpid-tools package

Issue

  • need to know queue statistics or list exchanges of qpid broker in Satellite 6
  • running default qpid-stat or qpid-config fails as SSL is required

How to force the tools to use SSL? What client certificates to use?

Resolution

Use client certificates used during katello installation, and force the communication over SSL:

# On Satellite 6.5 and earlier:

qpid-stat --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b "amqps://localhost:5671" -q
qpid-config --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b "amqps://localhost:5671" exchanges

# On Satellite 6.6 and later:

qpid-stat --ssl-certificate=/etc/pki/pulp/qpid/client.crt -b "amqps://localhost:5671" -q
qpid-config --ssl-certificate=/etc/pki/pulp/qpid/client.crt -b "amqps://localhost:5671" exchanges
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.