Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speedtest error like closed issue #9 #12

Open
squireblackdens opened this issue Sep 6, 2022 · 2 comments
Open

Speedtest error like closed issue #9 #12

squireblackdens opened this issue Sep 6, 2022 · 2 comments

Comments

@squireblackdens
Copy link

Hi there
First, thanks for a brilliant stack. Works a treat. I'm running on Unraid (using Docker Compose plugin to pull and docker up stacks).

All working fine except the Speedtest from netstats which hourly puts thie error into the log -

2022-09-05T19:00:02Z E! [inputs.exec] Error in plugin: exec: exit status 1 for command 'speedtest -u bps -f json-pretty --accept-license': ==============================================================================...

I've tried repulling and re building the stack but error persists. All other tests from netstats (ping etc..) working fine.

Any help appreciated.

Many thanks.

@sponsianus
Copy link
Owner

What do you have in your default.env file? Is it still the default?

SPEEDTEST_COMMAND="speedtest -u bps -f json-pretty --accept-license"
SPEEDTEST_INTERVAL="15m"

If so, strange the error is every hour. Anyway, do you have any speed test data at all? They all show at the bottom under "Additional Test Details".

Next would be to jump into the container and see if you can run it manually.

  1. Connect to the netstats container
docker-compose exec netstats bash
  1. Run the Speed test
speedtest -u bps -f json-pretty --accept-license

You should get a dump of JSON out of the above command.

@vinicius-trev
Copy link

vinicius-trev commented Oct 21, 2023

Fixed changing the speedtest command inside the netstats-provisioning/telegraf.conf, line 55 to speedtest -u bps -f json-pretty --accept-license --accept-gdpr that way it automatically accepts the GDPR license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants