{"id":18015187,"url":"https://github.com/caroga/speedtest-to-influxdb","last_synced_at":"2026-04-26T23:31:44.611Z","repository":{"id":73334922,"uuid":"212822689","full_name":"Caroga/speedtest-to-influxdb","owner":"Caroga","description":"Test your internet speed and save the results to influxdb","archived":false,"fork":false,"pushed_at":"2019-11-20T14:55:00.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T15:16:27.089Z","etag":null,"topics":["docker","influxdb","speedtest-cli"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Caroga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-04T13:35:50.000Z","updated_at":"2019-11-20T14:55:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ba12919-de76-4866-9cfb-95616bad65bd","html_url":"https://github.com/Caroga/speedtest-to-influxdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Caroga/speedtest-to-influxdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caroga%2Fspeedtest-to-influxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caroga%2Fspeedtest-to-influxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caroga%2Fspeedtest-to-influxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caroga%2Fspeedtest-to-influxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Caroga","download_url":"https://codeload.github.com/Caroga/speedtest-to-influxdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caroga%2Fspeedtest-to-influxdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32317163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","influxdb","speedtest-cli"],"created_at":"2024-10-30T04:12:30.366Z","updated_at":"2026-04-26T23:31:44.592Z","avatar_url":"https://github.com/Caroga.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speedtest to InfluxDB\r\n\r\nEasy setup to run speedtest-cli and push the results to your InfluxDB instance.\r\nImages provided for the following platforms:\r\n```\r\nlinux/amd64, linux/arm64, linux/arm/v6, linux/arm/v7\r\n```\r\n\r\n## Breaking it down\r\nBefore starting it is good to know that for influxdb the following structure is being used by this script:\r\n\r\n**Measurement: speedtests**\r\n\r\n| Tags                  | Values    |\r\n|:--------------------: | --------: |\r\n| host                  | download  |\r\n| isp_name              |   upload  |\r\n| isp_ip                |   ping    |\r\n| isp_lon               |           |\r\n| isp_lat               |           |\r\n| server_name           |           |\r\n| server_lon            |           |\r\n| server_lat            |           |\r\n| server_name_sponsor   |           |\r\n| server_id             |           |\r\n\r\n## Setup\r\nThe following environment variables are available:\r\n```\r\n- HOST=\u003chostname or some other identifier\u003e\r\n- INFLUXDB_HOST=\r\n- INFLUXDB_DB=\r\n- INFLUX_DB_USER=\r\n- INFLUX_DB_PASSWORD=\r\n```\r\n\r\nThe port is not defined by default, so if you want to connect to a specific port, you can provide it with a semi-colon, for example: `hosturl.com:8086`.\r\n\r\nRun the image with the following one-liner:\r\n```\r\ndocker run --rm -e \"HOST=myhostname\" -e \"INFLUXDB_HOST=hosturl.com\" -e \"INFLUXDB_DB=speedtest\" -e \"INFLUX_DB_USER=speedtest\" -e \"INFLUX_DB_PASSWORD=speedtest\" caroga/speedtest-to-influxdb:latest\r\n```\r\n\r\n## Crontab\r\nWill run the docker instance every 20 minutes.\r\n\r\n```\r\n*/20 * * * *  root docker run --rm -e \"HOST=myhostname\" -e \"INFLUXDB_HOST=hosturl.com\" -e \"INFLUXDB_DB=speedtest\" -e \"INFLUX_DB_USER=speedtest\" -e \"INFLUX_DB_PASSWORD=speedtest\" caroga/speedtest-to-influxdb:latest\r\n```\r\n\r\n# F.A.Q\r\n**Running the image interactively**\r\n\r\nYou can add `-it` to the command above to run the image interactively: `docker run --rm -it -e \"HOST...`\r\n\r\n**It doesn't seem to work, can I debug some more information?**\r\n\r\nAt the moment there is no debug settings implemented, but by running the container interactively you can change the script located at `/bin/rspeedtest` to remove the `-s` on line 31. This will possible give you some more feedback.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaroga%2Fspeedtest-to-influxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaroga%2Fspeedtest-to-influxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaroga%2Fspeedtest-to-influxdb/lists"}