Am 16.04.22 um 03:20 schrieb Lucas Raab:
> Hello,
> 
> Here's an update to telegraf 1.22.1. Martin and Omar, this is includes
> the fix mentioned for gopsutil/arm64, correct? Links for reference:
> https://github.com/influxdata/telegraf/pull/10931
> https://github.com/influxdata/telegraf/releases/tag/v1.22.1
> https://marc.info/?l=openbsd-ports&m=164831659519143&w=2

Correct.

> I also included convenience patches to use doas instead of sudo for
> unbound and nsd. This follows the patches out there currently for
> pf, OpenSMTPD, and OpenNTPD. I didn't run into any issues obtaining
> stats for either, but other confirmations would be good.

This should eventually be taken upstream (if GOOS == OpenBSD ...) or via
config option.

> Example doas lines:
> permit nopass _telegraf cmd /usr/sbin/unbound-control args stats_noreset
> permit nopass _telegraf cmd /usr/sbin/nsd-control args stats_noreset

Should go in pkg/README?

> 
> Thoughts?

Needs make update-patches too.

===>   Applying OpenBSD patch patch-plugins_inputs_all_all_go
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Remove linux only plugins
|
|Index: plugins/inputs/all/all.go
|--- plugins/inputs/all/all.go.orig
|+++ plugins/inputs/all/all.go
--------------------------
Patching file plugins/inputs/all/all.go using Plan A...
Hunk #1 succeeded at 40 (offset 1 line).
Hunk #2 succeeded at 77 (offset 1 line).
Hunk #3 succeeded at 85 (offset 1 line).
Hunk #4 succeeded at 92 (offset 1 line).
Hunk #5 succeeded at 127 (offset 3 lines).
Hunk #6 succeeded at 179 (offset 3 lines).
Hunk #7 succeeded at 198 with fuzz 2 (offset 4 lines).
done

The rest of your diff is fine, thanks!

Reply via email to