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

Grafana: Database not found; keenetic #24

Open
Andrewkha opened this issue Oct 2, 2024 · 2 comments
Open

Grafana: Database not found; keenetic #24

Andrewkha opened this issue Oct 2, 2024 · 2 comments

Comments

@Andrewkha
Copy link

Hello!

I carefully followed the steps in the readme. Everything seems to be running and no noticeable errors in the container's logs. However grafana dashboard says: "Status: 500. Message: database not found: keenetic" while the connection to the InfluxDB datasource seems to be OK (but no measurements found...)

image

Seems like some configuration issue, can you please help to troubleshoot?

@Andrewkha
Copy link
Author

OK, this seems to be resolved, by changing the query language to Flux. However, I do not see the collector adding the data to the DB... Is there a way to ckeck it?

@cherepavel
Copy link

update influx db to 2.7.11 in docker-compose

image

  influxdb:
    image: 'influxdb:2.7.11'
    volumes:
      - ./_data/influxdb:/var/lib/influxdb
    ports:
      - 8086:8086
    environment:
      - DOCKER_INFLUXDB_INIT_MODE=setup
      - DOCKER_INFLUXDB_INIT_ORG=keenetic
      - DOCKER_INFLUXDB_INIT_BUCKET=keenetic
      - DOCKER_INFLUXDB_INIT_RETENTION=52w
      - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=admin_token
      - DOCKER_INFLUXDB_INIT_USERNAME=admin
      - DOCKER_INFLUXDB_INIT_PASSWORD=password

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

2 participants