Skip to content

infrasonar/speedtest-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Release Version

InfraSonar Speedtest agent

Documentation: https://docs.infrasonar.com/collectors/agents/speedtest/

Environment variables

Environment Default Description
TOKEN required Token to connect to.
ASSET_ID /data/.asset.json Asset Id or file where the Agent asset Id is stored (must be a volume mount).
API_URI https://api.infrasonar.com InfraSonar API.
CHECK_INTERVAL 3600 Interval for the speedtest check in seconds.
NO_DOWNLOAD 0 Do not perform download test (1 will disable the download test).
NO_UPLOAD 0 Do not perform upload test (1 will disable the upload test).
SINGLE 0 Only use a single connection instead of multiple. This simulates a typical file transfer.
SOURCE null Source IP address to bind to (not required).
TIMEOUT 10 HTTP timeout in seconds.
SECURE 0 Use HTTPS instead of HTTP when communicating with speedtest.net operated servers.
VERIFY_SSL 1 Verify SSL certificate, 0 (=disabled) or 1 (=enabled).
LOG_LEVEL warning Log level (error, warning, info, debug).
LOG_COLORIZED 0 Log colorized, 0 (=disabled) or 1 (=enabled).
LOG_FMT %y%m... Default format is %y%m%d %H:%M:%S.