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

Update ROUTER_IP env #7

Closed
wants to merge 1 commit into from
Closed

Conversation

gjreasoner
Copy link

Thanks for the headstart here, it seems to me the readme is behind now?

It still might be a little behind with these changes I'm proposing; I'm not sure if:

  1. the flags work (i.e. --ip=x.x.x.x)
  2. this command changed? go run sh-stats/*.go --modem=superhub3 --ip=192.168.100.1

Changes here get it a little closer to running, I believe I'm just using the latest version of influxdb and running into #4

2023-02-23T00:57:42Z E! [outputs.influxdb] When writing to [http://host.docker.internal:8086]: 401 Unauthorized
2023-02-23T00:57:42Z E! [agent] Error writing to outputs.influxdb: could not write any address

Will see about adding support for that next.

Copy link
Owner

@msh100 msh100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! I had no idea that this was still displayed. To be honest, I'd ultimately like to get rid of the environments, they're just a bit awkward.

Can you revert the example change though? I don't think having the example in Docker makes much sense since Docker is more of an addition to the repo

-e INFLUX_URL=http://influxdb:8086 \
-e INFLUX_DB=modem-stats \
-e FETCH_INTERVAL=1 \
msh100/modem-stats
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not change this, but instead, make it work again.

It should be something like

go run main.go --modem=superhub3 --ip=192.168.100.1

@msh100
Copy link
Owner

msh100 commented Feb 26, 2023

I believe the issue with #4 is simply down to a newer version of InfluxDB, the image doesn't support that (and maybe should!)

@msh100 msh100 closed this Sep 30, 2023
msh100 added a commit that referenced this pull request Sep 30, 2023
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

Successfully merging this pull request may close these issues.

2 participants