vmware-archive / newrelic_pivotal_agent

MIT License
36 stars 42 forks source link

Default RabbitMQ url is wrong #5

Closed miped closed 11 years ago

miped commented 11 years ago

According to http://www.rabbitmq.com/management.html the default port seems to be 15672 (not 55672)

Also, when running with the wrong port, this is the output:

Agent RabbitMQ is at version 1.0.1
Agent ModBmx is at version 1.0.1
Error occurred in poll cycle: undefined method `[]' for nil:NilClass
Gathered 0 statistics

Could maybe be a little more helpful.

wjs-broadcom commented 11 years ago

Hello,

The default RabbitMQ URL prior to RMQ 3.0 is 55672 and was changed to15672 for 3.0 (See: http://www.rabbitmq.com/management.html). The current release (1.0.2) of the Pivotal New Relic Agent has default URL for both RabbitMQ versions commented out and the user needs to select which one is appropriate for their environment.

Exception handling didn't get added in time for the release last week however it has been added to the 1.0.2 release which was posted today.