Replies: 7 comments
-
Hi @bdcarr why do you run two Glances instances (server and client) ? To export to InfluxDB, one single standalone instance should make the job. Nicolas |
Beta Was this translation helpful? Give feedback.
-
Hi mate, it says export is only available in standalone or client mode. Standalone doesn't seem to work in docker:
|
Beta Was this translation helpful? Give feedback.
-
I'd be stoked to be able to do this with one instance, as I'm running it on a Pi so resources are a bit precious. |
Beta Was this translation helpful? Give feedback.
-
Add the "-it" option to your Docker run command line in order to allow the local console from the container. |
Beta Was this translation helpful? Give feedback.
-
Oh beauty, I thought I already tried that but must've mucked it up. Adding |
Beta Was this translation helpful? Give feedback.
-
I wouldn't say the bug is resolved, though. Running the client in docker seems like a valid use case, even if I don't personally need it. |
Beta Was this translation helpful? Give feedback.
-
I received a similar error when trying this using the latest docker (nicolargo/glances:latest) ran on QNAP container (using container station / portainer). Glances.conf:
Docker CMD: Volumes:
Error log:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When you try to run the
latest-full
glances docker image in client mode with--export influxdb2
, you get this error and the container exits:To Reproduce
I've got a docker-compose with two instances of glances running, a server and client. I can supply it if you want. But the issue can be reproduced with a single run command:
Expected behavior
The container starts up and begins exporting data to the influxdb defined in the config file (or with the above one-line example, we at least don't get a ModuleNotFoundError).
Environement (please complete the following information)
Glances v3.4.0.3 with PsUtil v5.9.7
nicolargo/glances:latest-full
I grabbed this from the other container, which doesn't have the
--export
flag and so is able to start:click to expand
Beta Was this translation helpful? Give feedback.
All reactions