munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)
http://munin-monitoring.org
1.05k stars 679 forks source link

[wireguard] feat: support various labelling options for peers #1425

Open pimlie opened 3 months ago

pimlie commented 3 months ago

As discussed in #1421, this adds environmental variables to the wireguard plugin to configure how peers are labelled in the graphs. I've added perlpod docs about how it works, so I refer to those for more info :)

Note that due to the change in how graphs are identified, this new version should be considered a breaking change as it will reset/clear all existing wireguard peer traffic graphs.

@artickl Could you please review if this works for you too? :)