breadlysm Posted May 26, 2021 Share Posted May 26, 2021 Overview: Support for the docker container SpeedFlux. SpeedFlux continuously runs SpeedTests and Latency tests on your network and stores the data in InfluxDB. App Name: SpeedFlux App: https://github.com/breadlysm/speedtest-to-influxdb GitHub Container: https://github.com/users/breadlysm/packages/container/package/speedflux Feel free to leave feedback or suggest improvements. Here or a GitHub issue works. Quote Link to comment
mattekure Posted May 27, 2021 Share Posted May 27, 2021 I attempted to install this. During the install the influxdb username and password fields could not be left blank, they required information to be added, which caused my authentication with influxdb to fail. To complete the install I ended up deleting those two variables and recreating them, so they could be left blank. Quote Link to comment
breadlysm Posted May 27, 2021 Author Share Posted May 27, 2021 1 hour ago, mattekure said: I attempted to install this. During the install the influxdb username and password fields could not be left blank, they required information to be added, which caused my authentication with influxdb to fail. To complete the install I ended up deleting those two variables and recreating them, so they could be left blank. That was an oversight on the template. The code already accepts blank user and password as you found. I did just fix the template though for future users so that those are no longer required. Quote Link to comment
mattekure Posted May 27, 2021 Share Posted May 27, 2021 So far I am loving it. I got it integrated into my Ultimate UNRAID dashboard. and it all seems to be running smoothly. Thanks for making it. 1 Quote Link to comment
diymatt Posted May 27, 2021 Share Posted May 27, 2021 Oddly enough this is the only time anything has ever crashed my entire UnRaid machine. I installed it, watched the logs, saw I had a bad Influx connection on my end and then fixed it. I saw data being written and then fired up my grafana instance and got that dashboard setup. I noticed my network was offline so I checked unraid and it was 100% offline, the last thing I saw in the GUI which was locked up was 100% cpu usage across the board. I thought it was a weird fluke so I went downstairs, rebooted the server and got back into grafana to play. The crash happened again 5 mts later. I changed the test time to 15 mts and it happened again in 15 mts. Thats way more unsafe shutdowns in 30 mts than I've had in years so I stopped the docker container and I've been running fine since. It may be coincidence, it may be my setup, but I wanted to at least comment about my experience in case it happened to anybody else. Quote Link to comment
breadlysm Posted May 27, 2021 Author Share Posted May 27, 2021 @diymatt Thanks for sharing and that's definitely weird. What you're describing sounds like some kind of infinite loop. Were you attempting to install before or after 3pm Eastern time? I'm wondering if a small change I made earlier introduced some type of unforgiving loop or if something screwy was happening before. Unfortunately I don't have a lot to look through to try and identify it what caused it but, it happening right when a test ran is a breadcrumb at least. If there's any other details you have, i'd be interested. Obviously I don't want it crashing entire machines. It's probably worth me adding log files that persist so they aren't destroyed with a container. Quote Link to comment
diymatt Posted May 30, 2021 Share Posted May 30, 2021 @breadlysm I'm happy to report I re-tried it today am no longer experiencing system crashes. W00t! Very cool, thank you. Quote Link to comment
Natcoso9955 Posted June 2, 2021 Share Posted June 2, 2021 (edited) Awesome docker, i notice from your dashboard screenshot you had multiple servers, when i expand the extra params i see we can set a ookla ID, but im guessing only 1, is this correct? EDIT: when i try multiple it doesnt use any, is this by design is my question. Edited June 2, 2021 by Natcoso9955 Quote Link to comment
ehbush Posted July 19, 2021 Share Posted July 19, 2021 Been trying to make use of SpeedFlux for many days now! I would love to use it @breadlysm , but it doesn't seem to support InfluxDB when SSL is enabled. Are you able to add support for this? Quote Link to comment
ehbush Posted July 29, 2021 Share Posted July 29, 2021 Hey @breadlysm any update(s) here? Quote Link to comment
writablevulture Posted February 8, 2022 Share Posted February 8, 2022 I am getting auth issues. Looking at the SpeedFlux log: Quote 2022-02-08 14:47:05,474 [DEBUG] Starting new HTTP connection (1): 192.168.0.12:8086 2022-02-08 14:47:05,477 [DEBUG] http://192.168.0.12:8086 "GET /query?q=SHOW+DATABASES HTTP/1.1" 401 48 ("Couldn't initiate InfluxDB <2", InfluxDBClientError('401: {"code":"unauthorized","message":"Unauthorized"}')) I have run an InfluxDb container. When I first accessed it it prompted me to create a user, bucket and organisation which I did. Then when I setup the Speedtest container I entered the user & password that I have just created However, the fact that SpeedFlux talks about "databases" makes me think that SpeedFlux is using the v1 InfluxDb API which is apparently not available in the latest InfluxDb container image without some work. Maybe that is what the "<2" in the log message above means. Is anyone using SpeedFlux with the latest version of InfluxDb? Quote Link to comment
sysco Posted March 22, 2022 Share Posted March 22, 2022 On 2/8/2022 at 5:12 PM, writablevulture said: I am getting auth issues. Looking at the SpeedFlux log: I have run an InfluxDb container. When I first accessed it it prompted me to create a user, bucket and organisation which I did. Then when I setup the Speedtest container I entered the user & password that I have just created However, the fact that SpeedFlux talks about "databases" makes me think that SpeedFlux is using the v1 InfluxDb API which is apparently not available in the latest InfluxDb container image without some work. Maybe that is what the "<2" in the log message above means. Is anyone using SpeedFlux with the latest version of InfluxDb? Having the same issue now, did you find a fix for the cause of the problem? Quote Link to comment
writablevulture Posted March 22, 2022 Share Posted March 22, 2022 5 minutes ago, sysco said: Having the same issue now, did you find a fix for the cause of the problem? No, I'm afraid I didn't. However, I did move to barrycarey/speedmon and this has been running solidly ever since. Quote Link to comment
Kibi Posted October 12, 2022 Share Posted October 12, 2022 is it true that speedflux writes no data if the Internet is down? there is no data in my influxdb if the internet is down, but this reason I need soeedflux for. I want to proof my ISP how often the internet is down Quote Link to comment
JRusty15 Posted December 2, 2022 Share Posted December 2, 2022 This id an excellent docker container and the data is getting written great to my InfluxDB, but the speeds seem incorrect. It's showing like 8MB/s internet speed, but everywhere else I check on my network (including wifi connected devices on VPN) show 100mbs or more. I should be getting a max of 300mbs. Any ideas? Quote Link to comment
snowmirage Posted December 14, 2022 Share Posted December 14, 2022 Anyone still have this docker working, I was using speedtest-tracker it started failing tests. Tried to set this one up and I continue to have "Speedtest Failed" messages in the logs. I have been able to console into the container and manually run a speed test though. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.