→ Applies to: SynetoOS 5.x
WARNING
The operation will cause a temporary service downtime.
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Get root privileges
sudo su -
Step 3. Check RabbitMQ queue
kubectl exec -it pods/rabbitmq-0 -- rabbitmqctl list_queues | grep -e ".XQ" | wc -lEXAMPLE OUTPUT
Defaulted container "rabbitmq" out of: rabbitmq, prepare-plugins-dir (init) 342
The output will display the number of elements in the queue
Step 4. Cleanup RabbitMQ queue
kubectl exec -it pods/rabbitmq-0 -- bash -c 'rabbitmqctl stop_app && rabbitmqctl reset && rabbitmqctl start_app' kubectl exec -it pods/rabbitmq-0 -- bash -c 'rabbitmqctl stop_app && rabbitmqctl reset && rabbitmqctl start_app'