prometheus-pve / prometheus-pve-exporter

Exposes information gathered from Proxmox VE cluster for use by the Prometheus monitoring system
Apache License 2.0
840 stars 99 forks source link

Support Proxmox behind reverse proxy #117

Closed danielr1996 closed 1 year ago

danielr1996 commented 2 years ago

I'm running proxmox behind a reverse proxy so I access it in the browser at proxmox..de, when I tried to supply that as the ?target parameter python through a bunch of exceptions telling me proxmox..de:8006 was not reachable.

Would it be possible to not assume that an instance is reachable at port 8006 but take the whole ?target parameter as an argument to proxmox api library, this would also be beneficial for proxmox installations that don't run on port 8006

jhollowe commented 2 years ago

I haven't looked exactly at how this passes arguments into proxmoxer, but I think you can just add port: 443 to your pve.yaml file and it should work

dubyatp commented 1 year ago

I was able to connect to my PVE cluster over my traefik reverse proxy by simply adding :443 to the end of the domain