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

@@ -35,7 +35,7 @@
{% if 'pis' in group_names %}
logtarget = "file" ## destination logs can be one of "file" or "stderr"
logfile = "/var/log/telegraf/telegraf.log"
logfile_rotation_interval = "1d"
logfile_rotation_interval = "24h"
# logfile_rotation_max_size = "0MB"
logfile_rotation_max_archives = 2
{% elif 'macs' in group_names %}