• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Telegraf for ARM systems? (e.g. Netgate SG-3100).

Scheduled Pinned Locked Moved Official Netgate® Hardware
126 Posts 32 Posters 32.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    somken
    last edited by somken Mar 30, 2021, 10:26 PM Mar 25, 2021, 7:48 PM

    This post is deleted!
    B 1 Reply Last reply Mar 26, 2021, 12:44 AM Reply Quote 1
    • B
      bigchimpin Banned @somken
      last edited by Mar 26, 2021, 12:44 AM

      This post is deleted!
      S 1 Reply Last reply Mar 26, 2021, 2:10 AM Reply Quote 2
      • S
        somken @bigchimpin
        last edited by Mar 26, 2021, 2:10 AM

        @bigchimpin 🤣 🤣 🤣 🤣 🤣 🤣

        S 1 Reply Last reply Mar 26, 2021, 4:38 PM Reply Quote 1
        • S
          Szymon @somken
          last edited by Mar 26, 2021, 4:38 PM

          Just tried to install that package on SG-3100 running 21.05 and ... 1fc2b48b-d6ca-4742-baac-61efb5a590bf-image.png 😞

          S 1 Reply Last reply Mar 26, 2021, 5:37 PM Reply Quote 0
          • S
            somken @Szymon
            last edited by somken Mar 26, 2021, 5:41 PM Mar 26, 2021, 5:37 PM

            @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 ... 1fc2b48b-d6ca-4742-baac-61efb5a590bf-image.png 😞

            Can you extract the file and run telegraf --version?

            Screenshot for proof of life

            614d5150-37c6-4552-bc08-69a9e951d1a6-image.png

            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.

            S 1 Reply Last reply Mar 26, 2021, 6:41 PM Reply Quote 0
            • S
              Szymon @somken
              last edited by Mar 26, 2021, 6:41 PM

              @somken I've placed files, will be playing with it next few days. TY
              9c1e7b2f-1a5b-4751-9e2b-9701e63f3a10-image.png
              Hopefuly Netgate will finally release official pkg @stephenw10

              S 1 Reply Last reply Mar 26, 2021, 6:47 PM Reply Quote 1
              • S
                somken @Szymon
                last edited by Mar 26, 2021, 6:47 PM

                @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
                9c1e7b2f-1a5b-4751-9e2b-9701e63f3a10-image.png
                Hopefuly Netgate will finally release official pkg @stephenw10

                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.

                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.... >_>

                S 2 Replies Last reply Mar 26, 2021, 7:02 PM Reply Quote 0
                • S
                  Szymon @somken
                  last edited by Mar 26, 2021, 7:02 PM

                  @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 ...

                  S 1 Reply Last reply Mar 26, 2021, 11:26 PM Reply Quote 0
                  • S
                    Szymon @somken
                    last edited by Szymon Mar 26, 2021, 7:10 PM Mar 26, 2021, 7:08 PM

                    @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).

                    S 1 Reply Last reply Mar 26, 2021, 11:28 PM Reply Quote 2
                    • S
                      somken @Szymon
                      last edited by somken Mar 30, 2021, 10:25 PM Mar 26, 2021, 11:26 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 1
                      • S
                        somken @Szymon
                        last edited by somken Mar 26, 2021, 11:28 PM Mar 26, 2021, 11:28 PM

                        This post is deleted!
                        S 1 Reply Last reply Mar 27, 2021, 12:42 AM Reply Quote 0
                        • S
                          somken @somken
                          last edited by somken Mar 27, 2021, 12:50 AM Mar 27, 2021, 12:42 AM

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • S
                            somken
                            last edited by Mar 30, 2021, 10:24 PM

                            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
                            
                            1 Reply Last reply Reply Quote 1
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Mar 31, 2021, 2:30 PM

                              Hmm, interesting. Let me see what's preventing us doing that.

                              Steve

                              S S 2 Replies Last reply Mar 31, 2021, 6:10 PM Reply Quote 2
                              • S
                                somken @stephenw10
                                last edited by Mar 31, 2021, 6:10 PM

                                @stephenw10 said in Telegraf for ARM systems? (e.g. Netgate SG-3100).:

                                Hmm, interesting. Let me see what's preventing us doing that.

                                Steve

                                Awesome. If Netgate feels compelled to bug bounty this (I doubt it), donate to Doctors Without Boarders for me.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Szymon @stephenw10
                                  last edited by Apr 6, 2021, 11:30 PM

                                  @stephenw10 Any update?

                                  S 1 Reply Last reply Apr 20, 2021, 5:26 PM Reply Quote 1
                                  • S
                                    somken @Szymon
                                    last edited by Apr 20, 2021, 5:26 PM

                                    @szymon Not that I have any updates, but Influxdb might(?) be moving forward to build an ARM package for Freebsd - https://github.com/influxdata/telegraf/pull/9100. They just created a page to list everything they support and Freebsd is listed :)

                                    S 1 Reply Last reply Apr 20, 2021, 5:34 PM Reply Quote 1
                                    • S
                                      Szymon @somken
                                      last edited by Apr 20, 2021, 5:34 PM

                                      @somken it’s good sign. Hopefully pfSense will address it as well.

                                      S 1 Reply Last reply Apr 28, 2021, 2:59 AM Reply Quote 0
                                      • S
                                        somken @Szymon
                                        last edited by Apr 28, 2021, 2:59 AM

                                        @szymon https://github.com/influxdata/telegraf/pull/9200

                                        Telegraf now is building Arm v7 freebsd!

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          somken
                                          last edited by somken May 3, 2021, 4:45 PM May 3, 2021, 4:30 PM

                                          @stephenw10 https://github.com/influxdata/telegraf/pull/9200

                                          Telegraf just closed the PR needed to build Telegraf upstream for ARM on FreeBSD. The provided example compile, which is just my steps in their workflow, successfully built a working package. Having used it since I got asked a few days ago, zero issues.

                                          https://github.com/influxdata/telegraf/commit/279dda21ef6163fdce1b9365fc8931cb8213d474

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]