-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
pings.input native bind to interface doesn't work? #6642
Comments
This still isn't working for me. 2019-11-20T00:36:14Z W! [agent] [inputs.ping] did not complete within its interval Already applied set cap_net_raw in systemctl and on binary itself. No icmp activity when looking at tcpdump.
|
Looking into this closer and it seems there is a difference in the regular ping command between giving the
What we are doing now in 1.12.6 is the later with the IP address and it's not immediately clear to me how we can duplicate the interface name behavior with the |
Relevant telegraf.conf:
System info:
On both of these anyway:
Telegraf unknown (git: bugfix/6576 25a212c)
Telegraf unknown (git: master 58df6f6)
Steps to reproduce:
Expected behavior:
tcpdump -nni eth1 icmp
and
tcpdump -nni eth2 icmp
should both show icmp activity?
Actual behavior:
Ping with native doesn't work with bind to interface.
Additional info:
The only output i get from telegraf.log is a huge load of lines of
"2019-11-09T01:50:04Z W! [agent] [inputs.ping] did not complete within its interval"
Which don't seem to be there when i just use exec for all of them.
The text was updated successfully, but these errors were encountered: