Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ Input doesn't use default URL but instead gives protocol scheme error #1277

Closed
martinseener opened this issue May 26, 2016 · 0 comments

Comments

@martinseener
Copy link
Contributor

Bug report

System info:

Telegraf 0.13.0
Debian Squeeze LTS (all updates) but should be OS independent

Steps to reproduce:

Use the rabbitmq input plugin and only specify a user and password. You will see and error thrown into the telegraf.log instead of the default URL being used

Expected behavior:

I expect that the DefaultURL http://localhost:15672 is being used when not specified explicitly.

Actual behavior:

The default URL is somehow not used but instead the following error is thrown and no metrics are gathered. When setting url = "http://localhost:15672" then everything is fine.

Additional info:

Example log line:
2016/05/26 11:02:00 Error in input [rabbitmq]: Get /api/queues: unsupported protocol scheme ""

Proposal:

Since iam not good in go someone needs to fix it so the DefaultURL is used when not explicitly defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant