Replies: 4 comments
-
i see that glances start with the file where is /etc/glances.conf so i put this :
after just copy a sample config in |
Beta Was this translation helpful? Give feedback.
-
Thanks, that worked. However now I can't figure out how to export the data to influx db. I tried running
I have influxdb2 running in another docker container, pulled the latest image from here https://hub.docker.com/_/influxdb |
Beta Was this translation helpful? Give feedback.
-
i haved the same problem and i solved it like this. Try this
To export to another influxdb docker you can use the config he created for that
|
Beta Was this translation helpful? Give feedback.
-
I think the issue is due to using the plain image. Try the docker images tagged with the The plain images don't install the optional dependencies and influxdb_client is an optional dependency. The On an another note, this issue should be closed if there are no other problems. Switching to a discussion would be better if you have more questions related to setting up an influx-db export. |
Beta Was this translation helpful? Give feedback.
-
Description
I'm trying to setup the influxdb export in order to see stats in grafana.
I'm reading this page of the documentation but I can't figure out where to find the glances.conf when installing as a docker container. Here's my docker run command:
docker run -d --name glances --restart="always" -p 61208-61209:61208-61209 -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /home/pi/docker/configs/glances/glances.conf:/glances/conf/glances.conf --pid host nicolargo/glances:latest
glances.conf on my host file system is an empty folder. Do i need to create the glances.conf file or what?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions