Skip to content

Releases: MindFlavor/prometheus_wireguard_exporter

Support for arbitrary comments in peers configuration

11 Oct 14:24
e77a3e2
Compare
Choose a tag to compare

Breaking change

The exporter now requires you to specify the friendly names in a specific format (only if you want to use them of course). This allows you to use arbitrary comments in the file while keeping the friendly name functionality. Thank you Miloš Bunčić for this. This also paves the way for future metadata.

In order to migrate you can use this sed command:

sed -i  's/#/# friendly_name=/' peers.conf

Please make sure to do a backup before using it!

Peer file case-insensitive parsing

10 May 13:49
4e3083b
Compare
Choose a tag to compare
  • Peer file case-insensitive parsing via #32.

Support for multiple interfaces in the command line

09 May 14:50
5274003
Compare
Choose a tag to compare

The exporter now accepts multiple interfaces in the command line options, just pass the -i parameter multiple times. Note the not specifying the interface is equivalent to specifying every one of them (the exporter will pass the all parameter to wg show command).

Split interface name from peer configuration file

07 Apr 08:23
2013f8b
Compare
Choose a tag to compare

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.

Support for stderr output in TRACE log level

24 Mar 11:00
Compare
Choose a tag to compare

IPv6 exporter IP support

24 Mar 10:48
Compare
Choose a tag to compare

Bugfix:

  • Fixed inability to specify an IPv6 address as exporter bound IP (#24). Thank you Max Mazurov for the help identifying and resolving this.

Update to std::future

01 Dec 18:50
Compare
Choose a tag to compare
3.2.2

version 3.2.2

Workaround for IPv6 link-local addresses with zone IDs

08 Nov 08:38
Compare
Choose a tag to compare

wg show <interface> only if specified instead of wg show all

13 Oct 17:47
Compare
Choose a tag to compare

Ability to specify exporter IP address

27 Sep 09:06
Compare
Choose a tag to compare