Telegraf for ARM systems? (e.g. Netgate SG-3100).
-
@somken said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
@bigchimpin said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
@stephenw10 said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
Telegraf is now available again for arm64 systems, SG-1100 and SG-2100 systems.
Please test and let us know if you see any issues there.The same problems still exist for arm32(v6/7) but there is potential solution in the pipeline.
Steve
I was excited to setup a TIG stack with my SG-3100 but very surprised to see that Telegraf wasn't available from the package manager. However, after learning about pfSense's uPnP performance, I wasn't very surprised to see that this has been an issue for over a year without any resolution. @stephenw10 you mentioned last March that you do not have any armv6 build hardware... do you guys still need an SG-3100?
Isn't the SG-3100 armv7? https://en.wikipedia.org/wiki/ARM_Cortex-A9
Looks like it. So any ideas what version of Telegraf is worth installing on the SG-3100? And looking around, there doesn't seem to be up to date documentation on how to install a package outside of what's available from the package manager... do you have a guide you'd recommend for installation?
-
If it's a compiled package you can just add it:
pkg add <path-to-package>
As long as the dependencies are met.
Steve
-
This post is deleted! -
@somken TY for that. I've just tried to download it and it appears that request is timing out.
-
This post is deleted! -
Please @stephenw10. Please get this pushed forward. There is no real reason this can't work as it does work with an older version. I'll be figuring out the build process tonight, but the FreeBSD's ports tree already supports Telegraf on ARMv7 https://github.com/freebsd/freebsd-ports/blob/master/net-mgmt/telegraf/Makefile#L14
Anyone want to take bets on how long it takes to compile on the SG-3100? I say 3 hours.
-
This post is deleted! -
This post is deleted! -
-
Just tried to install that package on SG-3100 running 21.05 and ...
-
@szymon said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
Just tried to install that package on SG-3100 running 21.05 and ...
Can you extract the file and run telegraf --version?
Screenshot for proof of life
As mentioned before, I remember having to extract the .txz and manually placing the files where they needed to go (as this is a one-off build and may of not been fully packaged correctly) Thankfully the package retained the directory structure so it should be a simple scp after extracting. Because telegraf is static linked, it has all of its dependencies inside of the binary.
-
@somken I've placed files, will be playing with it next few days. TY
Hopefuly Netgate will finally release official pkg @stephenw10 -
@szymon said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
@somken I've placed files, will be playing with it next few days. TY
Hopefuly Netgate will finally release official pkg @stephenw10Woot! Looks like you got it working too; Nice.
I'll offer any help I can. I can share my telegraf.conf if you want a reference, but it's just telegraf at this point.
I reached out to a dev directly, not throwing anyone under the bus, and they believe it would take days to compile everything to get this working. Now to figure out what boards are out there that are armv7.... >_>
-
@somken said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
Woot! Looks like you got it working too; Nice.
I'll offer any help I can. I can share my telegraf.conf if you want a reference, but it's just telegraf at this point.That would be fab! telegraf.conf will deffinately help. I've been playing with grafana/influx and have it running on different box to monitor my network gear, openHAB, Docker and few Synology, but haven't been playing with telegraf yet. I'm no dev nor linux expert but I get by. Still need to more reading on telegraf, plugins ...
-
@somken said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:
I reached out to a dev directly, not throwing anyone under the bus, and they believe it would take days to compile everything to get this working. Now to figure out what boards are out there that are armv7.... >_>
I can't elaborate on how long it will take to get it compiled, but there is a lot of ppl waiting to have this sorted. It's been going for a while (just this threat since April 2020).
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
https://www.youtube.com/watch?v=Cfr-tDnG5oA
How to build your own version of Telegraf from source. The magic is to build it on another machine.
The magic:
GOARM=7 GOOS=freebsd GOARCH=arm go build ./cmd/telegraf
-
Hmm, interesting. Let me see what's preventing us doing that.
Steve