Install speedtest cli (example for Debian):
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get install speedtest
Install the plugin:
sudo -u dd-agent -- datadog-agent integration install -t datadog-speedtest==1.0.0
Run speedtest ad dd-agent and confirm EUA:
sudo -u dd-agent speedtest
Prepare the configuration file
cd /etc/datadog-agent/conf.d/speedtest.d/
cp conf.yaml.example conf.yaml
vi conf.yaml
Update the check interval (set it to 5 minutes) /There is a limit of running speedtest 30 time per hour/:
min_collection_interval: 600
Restart the agent:
systemctl stop datadog-agent
systemctl start datadog-agent