freifunkh / ansible

Here we store all Ansible roles and configs used for Freifunk Hannover.
MIT License
7 stars 3 forks source link

Wg stats extended #174

Closed AiyionPrime closed 3 years ago

AiyionPrime commented 3 years ago

This implements the extended flag -e. If not used, the output for a domain looks like this:

# ffh_wg_stats.py -i wg-14
[{"interface": "wg-14", "established_peers_count": 1}]

Though this does not drop functionality, roles will behave differently; namely roles/ffh.mesh_wireguard/templates/telegraf_mesh_wg_stats.conf.j2 would not show detailed output anymore.

Tested on sn07

lemoer commented 3 years ago

Lgtm. :)

On Wed, 24 Feb, 2021, 09:36 J. Burfeind, notifications@github.com wrote:

@AiyionPrime https://github.com/AiyionPrime requested your review on:

174 https://github.com/freifunkh/ansible/pull/174 Wg stats extended.

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/freifunkh/ansible/pull/174#event-4369587192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAESYQPH65Y6BAN4A3PAMU3TAS3ARANCNFSM4YECE67Q .