Index | Thread | Search

From:
Atanas Vladimirov <vlado@bsdbg.net>
Subject:
Re: [UPDATE] sysutils/telegraf 1.38.3 -> 1.39.0
To:
Lucas Raab <tuftedocelot@fastmail.fm>
Cc:
ports@openbsd.org
Date:
Sat, 13 Jun 2026 12:13:30 +0300

Download raw body.

Thread
On 2026-06-13 10:35, Atanas Vladimirov wrote:
> On 2026-06-13 06:09, Lucas Raab wrote:
>> On Fri, Jun 12, 2026 at 03:29:21PM +0300, Atanas Vladimirov wrote:
>>> On 2026-06-12 04:05, Lucas Raab wrote:
>>> > On Thu, Jun 11, 2026 at 12:23:56PM +0300, Atanas Vladimirov wrote:
>>> > > On 2026-06-11 04:30, Lucas Raab wrote:
>>> > > > On Wed, Jun 10, 2026 at 03:33:58PM +0300, Atanas Vladimirov wrote:
>>> > > > > On 2026-06-10 13:24, Atanas Vladimirov wrote:
>>> > > > > > Hey Team,
>>> > > > > >
>>> > > > > > Here is a patch to update the Telegraf to the recently released 1.39.0.
>>> > > > > >
>>> > > > > > This version includes and improvement to OpenNTPd input plugin.
>>> > > > > > It now collects all stats, including the sensors, if any.
>>> > > > > > [PR] - https://github.com/influxdata/telegraf/pull/18468
>>> > > > > >
>>> > > > > > I've been running this version for the last couple of hours and no problems so far.
>>> > > > > > Let me know what do you think.
>>> > > > > >
>>> > > > > > Please add me in CC because I'm not subscribed to the list.
>>> > > > > > Best wishes,
>>> > > > > > Atanas
>>> > > > >
>>> > > > > Resending because something went wrong with the formatting.
>>> > > > >
>>> > > > I came up with the same diff, but inputs.mem no longer works. I haven't
>>> > > > dived in too deeply yet, but I suspect something changed in gopsutil.
>>> > >
>>> > > Hmm, what do you mean by "inputs.mem no longer works"? It works for
>>> > > me, here
>>> > > is the output from my machine
>>> >
>>> > 2026-06-12T01:04:02Z E! [inputs.mem] Error in plugin: error getting
>>> > virtual memory info: short syscall ret 104 bytes
>>> 
>>> Hi,
>>> 
>>> I suppose that you're running -current, or not?
>>> The server I'm testing runs Jun  1 snapshot if it matters at all.
>>> 
>>> ```
>>> OpenBSD 7.9-current (GENERIC.MP) #543: Mon Jun  1 11:45:38 MDT 2026
>>>     
>>> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>>> real mem = 34154913792 (32572MB)
>>> avail mem = 33091518464 (31558MB)
>>> ```
>> 
>> Yep, I'm on -current. Example machine:
>> OpenBSD 7.9-current (GENERIC.MP) #0: Thu Jun 11 14:39:21 MDT 2026
>>     
>> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> Okay, I just upgraded my machine to - Build date: 1781288383 - Fri Jun 
> 12 18:19:43 UTC 2026
> and got the same error like you :)
> 
> So something has changed between Jun 1 - Jun 11.

I think I found it - 
https://marc.info/?l=openbsd-cvs&m=178104984860610&w=2

Now I wonder if the following commit is the right fix for the gopsutil:
https://github.com/shirou/gopsutil/commit/1d3af56f58e7ddcf3438bbcf09b632c3e7296b4f

I'll create a gopsutil PR if you confirm that.