opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
849 stars 644 forks source link

[Telegraf] permissions of /var/unbound/unbound_control.key incompatible with telegraf #4343

Open ll-SKY-ll opened 1 week ago

ll-SKY-ll commented 1 week ago

even though the user "telegraf" is member of the group "unbound", telegraf has no access to unbounds stats and can therefore not export those metrics. See following screenshot

Screenshot_20241110_225433

after applying chmod 640 to the keyfile, telegraf is again able to get the stats, as seen in the next screenshot

Screenshot_20241110_225707

Possible fix: set permissions for the keyfile to 640

OPNsense-bot commented 1 week ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.