Bug #8425
closedtelegraf not reporting memory
0%
Description
Since installing 2.4.3, telegraf isn't reporting memory anymore. Everything else is reporting as usual.
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
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.
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
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
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
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
Updated by Chipster Cuch about 6 years ago
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.