I’m using Telegraf 1.14.4 on an OPNSense installation.
I’ve been trying to get unbound statistics
this is who my input looks like
[[inputs.unbound]]
binary = “/usr/local/sbin/unbound-control”
thread_as_tag = false
Everytime it tries to run I get this error
[inputs.unbound] Error in plugin: error gathering metrics: error running unbound-control: exit status 1 (/usr/local/sbin/unbound-control [stats_noreset])
I think it is a OPNsense problem, somehow - with permissions, perhaps? Or not, I saw the OPNsense now has a feature which enables telegraf to be run directly as root (stated in the GitHub issue above).