-
Notifications
You must be signed in to change notification settings - Fork 203
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
vmware-exporter docker two instances vsphere #393
Comments
miavi
changed the title
vmware docker two instances vsphere
vmware-exporter docker two instances vsphere
Apr 4, 2024
Hi miavi, You can access second host with URL |
My configuration file is as follows, and it works fine. ( Thank you mbrother2, for pointing out the key point. ) vmware_exporter config.yml
prometheus.yml
|
Thank you both very much for the information, I will try this configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi good day to all.
I currently have 1 docker container (https://hub.docker.com/r/pryorda/vmware_exporter) configured for 2 vsphere instances
The problem I have is that the data is interleaved when the 2 instances are active in the Prometheus job (with only 1 instance this problem does not exist)
this is the configuration
docker-compose.yaml
config.yml
prometheus job
When I perform a query with Prometheus, for example "vmware_host_hardware_info" it shows me in the x.x.x.x instance the hostname of y.y.y.y and vice versa, it is as if the metrics were mixed
On the other hand, if I set up two independent containers (on a different port), each container pointing to 1 vsphere host and then 2 different jobs in Prometheus, this problem does not occur.
Even when the config.yml only has a "default" section and is not multi-room, it works correctly and does not mix the data
It could be a bug when configuring a .yml file with vsphere multistay
In advanced very thanks
The text was updated successfully, but these errors were encountered: