Open
Description
I am using snmp_exporter in a docker container behind traefik. where, in prometheus and alertmanager, i can specifiy
--web.external-url=https://<baseurl>/<subtree>
this parameter does not exist in snmp_exporter.
In the compose file i can have traefik labels like:
- "traefik.http.routers.snmp-exporter-secure.rule=Host(`<baseurl>`) && PathPrefix(`/<subtree>/`)"
- "traefik.http.middlewares.snmp-exporter-secure.chain.middlewares=secHeaders@file,default-auth@file,strip-prefix"
- "traefik.http.middlewares.strip-prefix.stripprefix.prefixes=/snmp-exporter"
which allow me to access https://<baseurl>/<subtree>/config
+ https://<baseurl>/<subtree>/snmp
but in the WebUI the links are still the same: https://<baseurl>/config
.
i would like to have the web.external-url
parameter in place or another viable soulution for that scenario.