[rabbitmq-discuss] RabbitMQ monitoring app shows load balancer IP instead of client IP

Tim Watson tim at rabbitmq.com
Mon Jan 7 17:55:14 GMT 2013


On 7 Jan 2013, at 17:40, Mike wrote:

> I have a rabbitMQ cluster running on EC2 behind an AWS load-balancer. In the rabbitMQ monitoring app, it shows the IP address of each machine that's currently connected to rabbitMQ. Since the clients are hitting rabbitMQ through the LB, it's showing the LBs IP address, instead of the client.
> Is there a way to get the rabbitMQ monitoring plugin to show the x-forwarded-for request header, which contains the actual client IP address?

I'm assuming here that by 'the actual client IP address' you mean the client's which are publishing to and consuming from the broker? Because those are AMQP client, and x-forwarded-for is an HTTP header if I'm not mistaken.


More information about the rabbitmq-discuss mailing list