16
21.1 Legacy Series / Custom Telegraf conf
« on: February 11, 2021, 08:18:55 am »
I'm moving across from pfSense and am poking around opnsense.
I've come across a scenario where I need to add a custom input into telegraf.conf to run a script and read CPU temp. There is no ability to add custom inputs from the Telegraf inputs GUI and if I were to manually edit /usr/local/etc/telegraf.conf it is overwritten when telegraf or opnsense is restarted.
Is there a way to make custom configuration persistent?
I've come across a scenario where I need to add a custom input into telegraf.conf to run a script and read CPU temp. There is no ability to add custom inputs from the Telegraf inputs GUI and if I were to manually edit /usr/local/etc/telegraf.conf it is overwritten when telegraf or opnsense is restarted.
Is there a way to make custom configuration persistent?