Skip to content

Instantly share code, notes, and snippets.

@briandconnelly
Last active November 7, 2019 01:00
Show Gist options
  • Save briandconnelly/99442e882b5092e55435fa3b7dd8a1c7 to your computer and use it in GitHub Desktop.
Save briandconnelly/99442e882b5092e55435fa3b7dd8a1c7 to your computer and use it in GitHub Desktop.
Periodic Speedtest with Telegraf
# Run a speedtest every 60 minutes using Speedtest CLI - https://www.speedtest.net/apps/cli
# WARNING! You may want to change the interval if your ISP enforces data usage limits.
[[inputs.exec]]
interval = "60m"
timeout = "1m"
commands = ["/speedtest -f json"]
name_override = "speedtest"
data_format = "json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment