github MindFlavor/prometheus_wireguard_exporter 3.3.0
Split interface name from peer configuration file

latest releases: 3.6.6, 3.6.5, 3.6.4...
5 years ago

Breaking change

The exporter now allows you to specify a different interface from the file name. Previously if you specified the file name (the -n flag) the program would infer the interface name from the file name. Now the two items are decoupled: you need to specify the file name (with -n) and the interface name (with -i) separately. Thank you Vincent Debergue for helping with this (see issue #22).

Upgrading from 3.2.4

Please note that the -n flag no longer infer automatically the interface name from the file name. We now have the -i parameter for that.
In order to keep the previous behaviour (if you use the -n flag) please add the -i flag to the command line arguments as well. For example, if you had prometheus_wireguard_exporter -n /etc/wireguard/wg0.conf you must specify prometheus_wireguard_exporter -n /etc/wireguard/wg0.conf -i wg0 to keep the same behaviour.

Don't miss a new prometheus_wireguard_exporter release

NewReleases is sending notifications on new releases.