Closed perbly closed 1 year ago
What's happening is you are overwriting PROMETHEUS_WIREGUARD_EXPORTER_CONFIG_FILE_NAMES the second time you set it. You need to have this single line instead of the two you are using.
Environment=PROMETHEUS_WIREGUARD_EXPORTER_CONFIG_FILE_NAMES="/etc/wireguard/wg1.conf /etc/wireguard/wg2.conf"
Ok thanks. That worked
Hi
Thanks for a great exporter. I´m having issues getting friendly_names working for multiple files. Maybe i´m doing something wrong i don´t know.
Here´s my systemd conf for the exporter:
And content of these files: wg1.conf
wg2.conf
Result of metrics:
I´m i doing something wrong?
Thanks