Project

General

Profile

Actions

Bug #8425

closed

telegraf not reporting memory

Added by Lucas Hereld about 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Telegraf
Target version:
-
Start date:
04/03/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.3
Affected Plus Version:
Affected Architecture:

Description

Since installing 2.4.3, telegraf isn't reporting memory anymore. Everything else is reporting as usual.

Actions #1

Updated by Chipster Cuch about 6 years ago

Can confirm this same behavior. An upstream bug was also filed: https://github.com/influxdata/telegraf/issues/3750

Actions #2

Updated by Chipster Cuch about 6 years ago

Update: I worked with an InfluxData dev on this issue and it's indeed upstream. gopsutil[1], a golang dependency for Telegraf, needed to be fixed, and a gopsutil merge request has been approved upstream.

I compiled Telegraf-1.6.0-rc4 with the patched gopsutil dependency and it works like a charm on all 3 instances. However, the gopsutil fix will not be in the Telegraf 1.6.0 final release, rather, it's been slated for inclusion for the Telegraf 1.7.0 milestone.

Also, as of Telegraf 1.6.0(rc-n), there are a host of new plugin and external golang dependencies. So I'm not sure how the pfSense Telegraf package maintainer would like to proceed.

I have the updated Telegraf Makefile and distinfo, declaring all the additional and new deps, as well as the proper GH commits etc. to make this all work for the RC and forthcoming 1.6.0 Telegraf release if the maintainer would like them.

[1] https://github.com/shirou/gopsutil

Actions #3

Updated by Chipster Cuch about 6 years ago

FWIW: Here is my port setup for the patched Telegraf fixing the memory issue and addressing the new golang deps for telegraf v. > 1.5.3

https://github.com/W0CHP/FreeBSD/tree/master/ports/net-mgmt/telegraf

Actions #4

Updated by Chipster Cuch about 6 years ago

UPDATE:
Telegraf 1.6.0 final was released today. I have updated the port accordingly, and it includes the memory plugin fix from the patched `gopsutil` golang dep.

https://github.com/W0CHP/FreeBSD/tree/master/ports/net-mgmt/telegraf

Actions #5

Updated by Chipster Cuch about 6 years ago

Telegraf 1.6.1 was released yesterday with the updated godeps that fix various issues. I have submitted my patches upstream:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227738

Actions #6

Updated by Chipster Cuch about 6 years ago

UPDATE: my changes were committed upstream (https://svnweb.freebsd.org/ports?view=revision&revision=468200).

I have a pull request in GH for my changes to the pfSense telegraf port, but I don't know where it/the pfSense package maintainer stands.
https://github.com/pfsense/FreeBSD-ports/pull/517

Actions #8

Updated by Jared Dillard about 5 years ago

  • Category set to Telegraf
Actions #9

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Resolved

PR at https://github.com/pfsense/FreeBSD-ports/pull/522 was merged a long time ago.

Actions

Also available in: Atom PDF