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

Hostname is not passed as a tag #29

Closed
alvaromorales opened this issue Jun 25, 2015 · 8 comments
Closed

Hostname is not passed as a tag #29

alvaromorales opened this issue Jun 25, 2015 · 8 comments

Comments

@alvaromorales
Copy link
Contributor

I installed telegraf using the Debian/Ubuntu package on the README file. It is sending metrics to influxdb 0.9. The hostname of the machine running telegraf is not being passed as a tag with metrics.

@alvaromorales alvaromorales changed the title Hostname not sent as tag Hostname is not passed as a tag Jun 25, 2015
@jimconner
Copy link

+1 for this issue - I'm seeing the same problem too - no host tags with the data. Additionally uncommenting the tags={ "dc" : "us-east-1" } line in the sample config causes a parse error.

@toddboom
Copy link
Contributor

I think this might be the same as #18 - we should have this fixed in the next day or so and will cut a release as soon as it's done.

@jcmartins
Copy link

please use full hostname ( hostname -f ) in Amazon AWS it's important because the instance-id in a lof of case only show using hostname -f

@jimconner
Copy link

I've just tested with the current master branch after influxdata/influxdb#3131 got merged, and can confirm that this has fixed the issue with tags not being passed. Is there any estimate for when the next release (incorporating this fix) is due to land? Thanks.

@pauldix
Copy link
Member

pauldix commented Jul 1, 2015

@jimconner we'll cut a release later today

@toddboom
Copy link
Contributor

toddboom commented Jul 2, 2015

This should be fixed in v0.1.2, which is now available.

@toddboom toddboom closed this as completed Jul 2, 2015
@alvaromorales
Copy link
Contributor Author

I'm running telegraf-0.1.2 (with influxdb 0.9.1-rc1) and can confirm that the issue is fixed. Thanks!

@rdxmb
Copy link
Contributor

rdxmb commented Oct 6, 2017

As described here
https://community.influxdata.com/t/why-is-hostname-not-replaced-with-its-content-when-using-in-global-tags/2603
the same problem again occurs with telegraf v1.4.1.
Can we reopen this issue or should I create a new one?

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

No branches or pull requests

6 participants