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

Plugin uwsgi returns "dial unix: missing address" error when using sockets #6763

Closed
hkraal opened this issue Dec 6, 2019 · 3 comments · Fixed by #6769
Closed

Plugin uwsgi returns "dial unix: missing address" error when using sockets #6763

hkraal opened this issue Dec 6, 2019 · 3 comments · Fixed by #6769
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@hkraal
Copy link

hkraal commented Dec 6, 2019

Relevant telegraf.conf:

[[inputs.uwsgi]]
  servers = ["unix:///tmp/stats-test.sock"]

System info:

  • Telegraf 1.12.6 (git: HEAD 6c7f2d6)
  • Debian GNU/Linux 9.11 (stretch)
  • uWSGI 2.0.18

Steps to reproduce:

  1. Start uWSGI process with uwsgi -s /tmp/test.sock --stats /tmp/stats-test.sock
  2. Add the needed telegraf input to the config (see Relevant telegraf.conf).
  3. Run telegraf with telegraf --config telegraf.conf --input-filter uwsgi --test

Expected behavior:

I would expect the output as documented.

Actual behavior:

The following output is given:

2019-12-06T12:59:04Z I! Starting Telegraf 1.12.6
2019-12-06T12:59:04Z E! [inputs.uwsgi] Error in plugin: dial unix: missing address
2019-12-06T12:59:04Z E! [telegraf] Error running agent: One or more input plugins had an error

Additional info:

I tried the TCP socket as well (uwsgi -s /tmp/test.sock --stats :1337 + servers = ["tcp://localhost:1337"]) and this works correctly.

@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Dec 7, 2019
@danielnelson
Copy link
Contributor

Would you be able to test this fixed version?

@hkraal
Copy link
Author

hkraal commented Dec 7, 2019

Yes will do!

@hkraal
Copy link
Author

hkraal commented Dec 7, 2019

@danielnelson looking good, thank you for the quick patch!

@danielnelson danielnelson added this to the 1.13.0 milestone Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants