Hi, after install and not working (Debian 11 on Proxmox CT), I noticed on Telegraf logs that you must accept the License.
Logs show this:
$ tail /var/log/telegraf/agent_speedtest.log
2021-10-11T01:37:10Z E! [inputs.exec] Error in plugin: exec: exit status 1 for command '/usr/bin/speedtest -f json-pretty': ==============================================================================
You may only use this Speedtest software and information generated
from it for personal, non-commercial use, through a command line
interface on a personal computer. Your use of this software is subject
to the End User License Agreement, Terms of Use and Privacy Policy at
these URLs:
To accept the message please run speedtest interactively or use the following:
speedtest --accept-license
So, login as Telegraf:
$ sudo -H -u telegraf -s
Then, run Telegraf as test:
$ telegraf --config=/etc/telegraf/telegraf.conf --test --input-filter=exec
Accept the License and you will se the result working properly:
$ telegraf@Speedtester:~$ telegraf --config=/etc/telegraf/telegraf.conf --test --input-filter=exec
2021-10-11T02:12:48Z I! Starting Telegraf 1.20.2
Hi, after install and not working (Debian 11 on Proxmox CT), I noticed on Telegraf logs that you must accept the License. Logs show this: $ tail /var/log/telegraf/agent_speedtest.log
2021-10-11T01:37:10Z E! [inputs.exec] Error in plugin: exec: exit status 1 for command '/usr/bin/speedtest -f json-pretty': ==============================================================================
You may only use this Speedtest software and information generated from it for personal, non-commercial use, through a command line interface on a personal computer. Your use of this software is subject to the End User License Agreement, Terms of Use and Privacy Policy at these URLs:
==============================================================================
To accept the message please run speedtest interactively or use the following:
So, login as Telegraf: $ sudo -H -u telegraf -s Then, run Telegraf as test: $ telegraf --config=/etc/telegraf/telegraf.conf --test --input-filter=exec Accept the License and you will se the result working properly: $ telegraf@Speedtester:~$ telegraf --config=/etc/telegraf/telegraf.conf --test --input-filter=exec 2021-10-11T02:12:48Z I! Starting Telegraf 1.20.2
Now, everything is working properly.
Regards Sebastan