Telegraf add local_address to influxdb_v2
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [ x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [ x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [x ] When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe. I run a Opnsense instance behind a VPN. Unfortunately, telegraf automatically binds to WG0 interface which is not part of the encrypted tunnel and gets dropped. Is there a way to implement influxdbv2 output to support local_address option?
I'm using telegraf plugin version 1.12.13
Describe the solution you'd like To be able to set local_address like described here: https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md
Describe alternatives you've considered
Additional context
FIxed here: https://forum.opnsense.org/index.php?topic=48784.0
I would re-open this issue as it would be nice to have the interface/ip input right in the gui.