Feature #12711
open
Added by Viktor Gurov over 2 years ago.
Updated 19 days ago.
Description
Added support for the InfluxDB V2 protocol and made some improvements to the UI
Files
Is it possible to get some TLC on this? I use Telegraf and InfluxDB V2 for my metrics from my homelab, so this is a bit of a showstopper for me getting metrics from my Netgate-device.
pfSense : 23.09.1-RELEASE
Telegraf : 0.9_6
Telegraf can be configured to provide influxdb v2 metrics. Under Services --> Telegraf. Add the following to the custom input field at the bottom of the page: Additional configuration for Telegraf.
[[outputs.influxdb_v2]]
urls = ["https://192.168.1.140:8086"]
token = "yourtokengoeshere"
organization = "yourorggoeshere"
bucket = "yourbucketgoeshere"
insecure_skip_verify = true
Adjust as needed for http or https.
Reference:
https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md
Hi mmendoza / marcos-ng
It would be nice if you can update to the latest Telegraf version and update the package and then we can make some changes to the UI and also have a look at the configuration of Telegraf.
The Telegraf process is also not stable at the moment. I can also test and help you.
The fix from Craig Coonrad works but there is a problem when Telegraf restart so the config gets overwritten.
Thank you for make this high prio :).
[...] there is a problem when Telegraf restart so the config gets overwritten
Please open a new redmine (or follow up on the forum) with reproducible steps.
FWIW the current version in pfSense+ 24.03 is 1.29.1
, and 1.30.3
in dev snapshots.
I did not encounter any issues with the Telegraf config being overwritten.
I did experience Telegraf going down. So I used Service_Watchdog to keep an eye on it.
Also available in: Atom
PDF