opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
833 stars 620 forks source link

os-telegraf add name_prefix in influxdb config #4193

Closed Matou25 closed 1 month ago

Matou25 commented 1 month ago

Hi,

i use telegraph to send data to grafana.net influxdb proxy for this purpose, name_prefix help to identify data in grafana. for now i edit config file /usr/local/etc/telegraf.conf and add : nameprefix = "OpnSense" in [[outputs.influxdb]] section

but every day at midnight this config file is replaced by the datas from opnsense gui which not contain name_prefix. is it possible to addname_prefix field in telegraf output influxdb config ?

best regards

OPNsense-bot commented 1 month ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.