In this section you’ll validate your RabbitMQ installation on the Google Cloud SUSE Linux Arm64 virtual machine by confirming:
rabbitmqctl and rabbitmqadmin)Verify that the RabbitMQ node is operational and healthy.
sudo rabbitmqctl status
The command returns detailed status information. Verify that:
Confirm that the RabbitMQ management plugins are enabled:
sudo rabbitmq-plugins list | grep management
The output is similar to:
[ ] rabbitmq_federation_management 4.2.0
[E*] rabbitmq_management 4.2.0
[e*] rabbitmq_management_agent 4.2.0
[ ] rabbitmq_shovel_management 4.2.0
[ ] rabbitmq_stream_management 4.2.0
Ensure RabbitMQ is listening on the required ports:
sudo rabbitmqctl status | grep -A5 Listeners
The output is similar to:
Listeners
Interface: [::], port: 15672, protocol: http, purpose: HTTP API
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
The rabbitmqadmin command is a Python script to manage and monitor RabbitMQ.
Download the CLI tool from the local management endpoint to the virtual machine. You can also download and run rabbitmqadmin on your local computer, but you need to have python3 installed, including pip3.
curl -u guest:guest http://localhost:15672/cli/rabbitmqadmin -o rabbitmqadmin
Make the tool executable:
chmod +x rabbitmqadmin
Create a test queue to validate write operations:
./rabbitmqadmin declare queue name=testqueue durable=false
The output is similar to:
queue declared
Send a test message to the queue:
./rabbitmqadmin publish exchange=amq.default routing_key=testqueue payload="hello world"
The output is similar to:
Message published
Retrieve messages from the queue to verify read functionality:
./rabbitmqadmin get queue=testqueue
The output is similar to:
+-------------+----------+---------------+-------------+---------------+------------------+------------+-------------+
| routing_key | exchange | message_count | payload | payload_bytes | payload_encoding | properties | redelivered |
+-------------+----------+---------------+-------------+---------------+------------------+------------+-------------+
| testqueue | | 0 | hello world | 11 | string | | False |
+-------------+----------+---------------+-------------+---------------+------------------+------------+-------------+
Confirm that the queue is empty after consumption:
./rabbitmqadmin list queues name messages
The output is similar to:
+-----------+----------+
| name | messages |
+-----------+----------+
| testqueue | 1 |
+-----------+----------+
You’ve successfully validated RabbitMQ on your Google Cloud SUSE Arm64 virtual machine. The node is running and healthy, the management plugin is enabled and accessible, and queue operations (creation, publishing, consumption) work correctly. Next, you’ll explore practical use cases that demonstrate RabbitMQ’s capabilities for event-driven architectures and notification systems.