Message Queue Investigation

How to dig into Opsview Monitor message queue internals a little more

Opsview uses messages for all communication between all micro-services, this is based on RabbitMQ. The component is installed into /opt/opsview/messagequeue.

You can see what queues are set up and in use on the current server by using the following command (each Opsview Monitor server has its own message queue).

sudo -iu opsview /opt/opsview/messagequeue/sbin/rabbitmqctl list_queues

There is also a UI available for RabbitMQ, but you need to use an SSH tunnel to access it

ssh -L 15672:localhost:15672 orchestrator.mydomain.com

You can then use http://localhost:15672 to access the UI and log in using the opsview user credentials stored within the deploy configuration on the Orchestrator.