Add speedtest cli to Telegraf config

- Install speedtest CLI on cluster leader
- Install speedtest telegraf config on leader
- cleanup hosts in ping list
- Add custom shell script on leader to output speedtest data to influxdb
- improve version checking of Telegraf binary
- bump telegraf version
- allow ' package-latest' to pass ansible-lint
This commit is contained in:
Nathaniel Landau
2022-04-19 09:17:15 -04:00
parent d0be01b337
commit 73419ec0bd
9 changed files with 802 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
[[inputs.exec]]
commands = ["/usr/local/bin/telegraf_speedtest.sh"]
interval = "10m"
timeout = "1m"
name_suffix = "_speedtest"
data_format = "influx"