telegraf not reporting memory
Since installing 2.4.3, telegraf isn't reporting memory anymore. Everything else is reporting as usual.
#1 Updated by Chipster Cuch almost 2 years ago
Can confirm this same behavior. An upstream bug was also filed: https://github.com/influxdata/telegraf/issues/3750
#2 Updated by Chipster Cuch almost 2 years ago
Update: I worked with an InfluxData dev on this issue and it's indeed upstream.
gopsutil, 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
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.
#3 Updated by Chipster Cuch almost 2 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
#4 Updated by Chipster Cuch almost 2 years ago
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.
#5 Updated by Chipster Cuch almost 2 years ago
Telegraf 1.6.1 was released yesterday with the updated godeps that fix various issues. I have submitted my patches upstream:
#6 Updated by Chipster Cuch almost 2 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.