Questions tagged [rabbitmqadmin]

The management plugin ships with a command line tool rabbitmqadmin.

The management plugin ships with a command line tool rabbitmqadmin which can perform the same actions as the web-based UI, and which may be more convenient for use when scripting. Note that rabbitmqadmin is just a specialised HTTP client; if you are contemplating invoking rabbitmqadmin from your own program you may want to consider using the HTTP API directly.

Documentation

27 questions
138
votes
6 answers

Is it possible to view RabbitMQ message contents directly from the command line?

Is it possible to view RabbitMQ message contents directly from the command line? sudo rabbitmqctl list_queues lists the queues. Is there any command like sudo rabbitmqctl list_queue_messages ?
Shears
  • 1,539
  • 2
  • 11
  • 6
28
votes
12 answers

How to generate password_hash for RabbitMQ Management HTTP API

The beloved RabbitMQ Management Plugin has a HTTP API to manage the RabbitMQ through plain HTTP requests. We need to create users programatically, and the HTTP API was the chosen way to go. The documentation is scarce, but the API it's pretty simple…
Dinei
  • 4,494
  • 4
  • 36
  • 60
27
votes
3 answers

RabbitMQ Declare Exchange from Terminal - Access refused: /api/exchanges/

I'm using rabbitmq to handle messages between my databases for an enterprise application I work on. As part of the process, I'm trying to help automate the setup of the servers (e.g. script it). In this process, I've tried to use rabbitmqadmin to…
James Oravec
  • 19,579
  • 27
  • 94
  • 160
24
votes
5 answers

Install rabbitmqadmin on linux

I'm trying to install and be able to run rabbitmqadmin on a linux machine. Following the instructions described here do not help. After downloading the file linked, it prompts to copy the file (which looks like a python script) into…
Shiri
  • 1,972
  • 7
  • 24
  • 46
6
votes
3 answers

rabbitmqadmin [Errno 111] Connection refused

So I keep getting "connection refused" from rabbitmqadmin. I'm running debian 7 on a vm as root user. I installed rabbitmq-server with apt-get, started it up and did the following: rabbitmqctl add_user test 1234 rabbitmqctl set_user_tags test…
Nick Boudreau
  • 113
  • 1
  • 1
  • 5
5
votes
2 answers

rabbtimqadmin - Could not connect: [Errno -2] Name or service not known

I have RabbitMQ installed on a CentOS 5.x server which I use for message passing between my programs. I've installed rabbitmqadmin following the directions on https://www.rabbitmq.com/management-cli.html and have used it on my servers in the…
James Oravec
  • 19,579
  • 27
  • 94
  • 160
4
votes
1 answer

use rabbitmqadmin in docker

================Dockerfile1================= FROM rabbitmq:3-management MAINTAINER 123 "qyb1234@everbridge.com" RUN apt-get update ENV REFERSHED_AT 2015-07-20 RUN apt-get install -y python ADD rabbitmqadmin /usr/local/bin/rabbitmqadmin RUN chmod 755…
bin
  • 41
  • 1
  • 2
4
votes
1 answer

rabbitmqadmin socket.error: [errno 104] connection reset by peer

I have installed Rabbitmq 3.4 in Linux machine, its running on 5672 port. When I try to declare an exchange, its prompting me with error. ./rabbitmqadmin declare exchange --vhost=localhost name=SAMPLE_EXCHANGE type=direct using, python script for…
user3932793
3
votes
2 answers

How to publish Json using rabbitmqadmin command

I want to publish Json message using rabbitmqadmin command line. How can we do that as i was reading we can send only string message in payload like below rabbitmqadmin publish exchange=default routing_key=test payload="hello, world". But I wanted…
2
votes
1 answer

How to set a topic permission for a user on a remote server using the rabbitmq CLI Tools

is there a way to create a topic permission for a user with the cli tool rabbitmqadmin on a remote system? Using the Bitnami Helm Chart https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq Will use it for scripting so the Web UI is not an…
atgobal
  • 35
  • 4
2
votes
1 answer

How to run rabbitmqctl commands on remote machine?

I have rabbitmq docker container, running on different machine. What I want to do is execute rabbitmqctl command using shell script from another machine. I am newbie to rabbitmq, need guidance of experts I have used rabbitmqadmin with the option of…
Sachin Bankar
  • 372
  • 6
  • 13
2
votes
1 answer

windows RabbitMQ doesnt have rabbitmqadmin in sbin folder

I am working on RabbitMQ in windows environment.Do we have rabbitmqadmin for windows as well? i am not able to find rabbitmqadmin in sbin folder of rabbitmq. please let me know .
vinod hy
  • 827
  • 2
  • 14
  • 26
2
votes
2 answers

unable to connect to remote host with rabbitmqadmin

I'm trying to connect to a remote rabbitmq host using the cli rabbitmqadmin. The command I'm trying to execute is: rabbitmqadmin --host=$RABBITMQ_HOST --port=443 --ssl --vhost=$RABBITMQ_VHOST --username=$RABBITMQ_USERNAME…
Gnagno
  • 597
  • 1
  • 6
  • 18
1
vote
1 answer

"Not found" returned when creating RabbitMQ queue using rabbitmqadmin

I need to create a RabbitMQ queue from command line. I have a RabbitMQ setup in kubernetes. I login into a RabbitMQ pod and fetch the rabbitmqadmin for my version 3.8.14 I run this: ./rabbitmqadmin -u user1 -p password1 -N…
Vladimir
  • 417
  • 5
  • 20
1
vote
1 answer

python rabbitmqadmin list queues command doesn't obtain messages content although messages exist

I am learning rabbitMq and and now I want to know how to wath queue content. First of all I want to day that I googled this question and know about command python rabbitmqadmin list queues I have written 2 separated…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
1
2