The error comes on startup only and is not related to Unbound if enabled or not. For me, Telegraf works just fine. (I dont use Unbound input which is not related to the error)
https://github.com/opnsense/plugins/pull/2488
It'll take one or two releases to go to stable.
Did you also enable wheel group?
For me it also works only a couple of times, maybe with restaring Unbound or OPN itself
uhm i have the same error on my 2.5.0 now.. but idk .. anywayi was reading thishttps://github.com/influxdata/telegraf/tree/master/plugins/inputs/unbound## The default location of the unbound config file can be overridden with:# config_file = "/etc/unbound/unbound.conf"but this does not work because config_file is not defined inside pfsense pluginbinary = "/usr/local/sbin/unbound-control"this work but if you add -c /var/unbound/unbound.conf it's unable to execute the commandthe only workaround i found is to create a symlink inside the unbound-control default directory...-c file config file, default is /usr/local/etc/unbound/unbound.confthe workaround is as follow:rm /usr/local/etc/unbound/unbound.confln -s /var/unbound/unbound.conf /usr/local/etc/unbound/unbound.confinsidetelegraf on pfsenseAdditional configuration for Telegraf:[[inputs.unbound]]binary = "/usr/local/sbin/unbound-control"thread_as_tag = falseto test the plugin:/usr/local/bin/telegraf -config=/usr/local/etc/telegraf.conf --test --input-filter unbound2020-04-03T20:57:16Z I! Starting Telegraf 1.13.4> unbound,host=pfSense.kiokoman.home infra_cache_count=0,key_cache_count=0,mem_cache_message=66072,mem_cache_rrset=66072,mem_mod_iterator=1bla bla bla