Re: [rabbitmq-users] RABBITMQ_SERVER CRITICAL - Received 500 Can't connect to <<host>>:

253 views
Skip to first unread message
Message has been deleted

Michael Klishin

unread,
Mar 10, 2017, 11:41:03 AM3/10/17
to rabbitm...@googlegroups.com
The error says "Connection refused". It's not clear whether it is a connection
to RabbitMQ — is the management plugin enabled and reachable on its default port 15672, are the credentials
correct? — or potentially something else.

See http://rabbitmq.com/management.html for how to enable HTTP API request logging. Doing a traffic capture
is the most informative way to see what's going on.

On Fri, Mar 10, 2017 at 7:35 PM, Steven Rhodes <k7fa...@gmail.com> wrote:
Need help understanding what I am doing wrong here. We are running a RabbitMQ 3.6.6 Server and am needing to be able to monitor it via Nagios Core 3. I have installed a script to perform this function. I used http://www.thegeekstuff.com/2013/12/nagios-plugins-rabbitmq/ as a guide to install this script. Each time that I run the script with or without a user / password declared I receive a 500 error. Notes about my environment, command and error are here:

monitor - Ubuntu 12.04 Server hosting Nagios Core 3
rabbit.prd - Ubuntu 14.04 hosting Rabbit MQ Server
rabbit_node - Rabbit MQ node (verified with "rabbitmqctl status")

srho@monitor:/usr/local/nagios/libexec/nagios-plugins-rabbitmq/scripts$ ./check_rabbitmq_server -H rabbit.prd -n rabbit_node -u nagios -p nagios
RABBITMQ_SERVER CRITICAL - Received 500 Can't connect to rabbit.prd:15672 (Connection refused) for path: nodes/rabbit@rabbit_node

Thank you for any insight ...

Steven

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Mar 10, 2017, 11:42:24 AM3/10/17
to rabbitm...@googlegroups.com
Also, `rabbitmqctl status`, `rabbitmqctl environment` and `rabbitmq-plugins list` will tell you if
the plugin is enabled and what interface and port it is configured to use.

To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages