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

Accept the license as the telegraf user #7

Closed
jbuck2005 opened this issue Feb 26, 2021 · 4 comments
Closed

Accept the license as the telegraf user #7

jbuck2005 opened this issue Feb 26, 2021 · 4 comments

Comments

@jbuck2005
Copy link

You must be sure to accept the Speedtest license as the telegraf user.
There is a catch however; you may need to change the permissions of /etc/telegraf for a moment.
When you run the subsequent speedtest command as the telegraf user, the following directory structure will be created:

/etc/telegraf
->.config
->->oolka
->->->speedtest-cli.json

Do so via:

sudo chmod 777 /etc/telegraf
sudo -u telegraf /usr/bin/speedtest
sudo chmod 755 /etc/telegraf
@jbuck2005
Copy link
Author

Closing to retain documentation for others to see.

@Derek-K
Copy link
Owner

Derek-K commented Feb 26, 2021

See #1

@jbuck2005
Copy link
Author

So, because this is a known consideration .. and one should never have to read an issues queue to get something working, might I suggest you put this in the documentation (ie. README.MD) ?

Perhaps even make a script for people to use to do precisely what I've written above?

@NelsonMinar
Copy link

FWIW this error tripped me up. The speedtest client does print a useful error message to clue you in, but it'd be nice to avoid it.

[error] Path used: /etc/telegraf/.config/ookla/speedtest-cli.json```

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