telegraf, wireguard plugin failing
Plus Target Version:
Affected Plus Version:
I'm trying to use the Wireguard plugin for telegraf, more info on the plugin here,
So, I added to my telegraf "Additional configuration for Telegraf"
But, if I then run a test (output to shell),
telegraf --test --config /usr/local/etc/telegraf.conf | grep -i wireguard
No output (just the Telegraf "header". So, I checked the Wireguard interface, with
wg show, and get,
Adding this interface specifically to the pfSense telegraf config, it's now,
[[inputs.wireguard]] devices = ["tun_wg0"]
Telegraf (test) does report an output at this point, but it's not happy :-(,
2021-12-30T23:44:48Z W! [inputs.wireguard] No Wireguard device found with name tun_wg0
So something isn't quite right. I saw a similar thing before in Linux, thinking this may be related? It was tied there to user vs. kernel space implementation and access ... some links that may help here.
No data to display