-
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
input did not complete within its interval #5796
Comments
Looks like Telegraf thinks it is connected but it is not receiving a response, Fibaro probably hasn't received anything and it is somewhere in docker networking land which I often find to be mysterious. I suggest adding a timeout to the fibaro plugin, there is no default timeout current (we should change this). Once you have the timeout I am guessing it will run once, fail, and then the second time it will work. Let's check if that is indeed the case.
|
Thank you for your quick answer @danielnelson, giving it a try straight away |
I thought a default timeout was implemented, but didn't check the code to confirm :-) So far it seems to work:
I'll wait couple more hours but so far so good, thanks @danielnelson. I will then close the bug report. Weird though that it used to work on the other host, probably docker (network) related then. Thank you! |
So far so good ... "fixed" :-) Thank you @danielnelson |
I will set this as the default timeout in 1.11, it really should have one and the commented out timeout in the sample config indicates the timeout should be 5s. |
Relevant telegraf.conf:
System info:
I tried both 1.8.0 and 1.10.3 running in containers on a Debian 9.8 system with docker-ce 18.09.5
3-0debian-stretchSteps to reproduce:
Expected behavior:
Metrics flowing smoothly from Fibaro to InfluxDB.
Actual behavior:
After a random amount of time, I start seeing the following message every ten seconds:
Additional info:
This configuration used to work as-is on another host so I'm not too sure what's wrong here.
What actually lead me to open a bug report is that I ran a tcpdump and netstat (loop) on both sides and when this happens, the Fibaro box (10.1.0.31) doesn't see a single TCP SYN or whatever coming from the Docker container, and netstat in the docker container running Telegraf shows:
Once again 10.1.0.31 in this case (Fibaro box) doesn't see an established connection from the container. I don't see how the Fibaro box, the host running the container or my network could be guilty for that.
Running telegraf a second time (docker exec -ti sh) inside that container works, meaning metrics make it again to InfluxDB, restarting it completely also workarounds things.
Any hint to debug it further?
Thank you
The text was updated successfully, but these errors were encountered: