• 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 33.3k 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 2, 2021, 1:21 AM Mar 2, 2021, 1:21 AM

    I have a copy of the "telegraf-1.9.0.txz" from "https://github.com/influxdata/telegraf/issues/5282" if anyone wants / needs. I upgraded my SG-3100 via the gui and telegraf still survived after the 21.02 update. Thank Google for static linking...

    S 1 Reply Last reply Mar 5, 2021, 8:03 PM Reply Quote 1
    • S
      somken
      last edited by somken Mar 2, 2021, 1:34 AM Mar 2, 2021, 1:26 AM

      https://github.com/influxdata/telegraf/issues/8922

      Someone has to be able to do this. This /can/ work, but who's going to blink?

      The code /looks/ to already be in FreeBSD. What am I missing? https://github.com/freebsd/freebsd-ports/blob/master/net-mgmt/telegraf/Makefile

      https://github.com/rickyzhang82/FreeBSDWiki/wiki / https://forums.freebsd.org/threads/how-to-cross-compile-port-in-amd64-for-armv7.71761/ , funny enough, is about the SG-3100 and how to build freebsd ports for it.

      I'm going to try and get a newer version of telegraf built and report back. Hopefully I don't get paged this week.... >_>

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

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

        telegraf-1.9.0.txz

        Yes please, I would love to give it a go

        1 Reply Last reply Reply Quote 0
        • B
          bigchimpin Banned @stephenw10
          last edited by Mar 24, 2021, 3:18 PM

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

          S 1 Reply Last reply Mar 24, 2021, 5:38 PM Reply Quote 0
          • S
            somken
            last edited by somken Mar 24, 2021, 9:41 PM Mar 24, 2021, 4:52 PM

            OK OK OK, I'm working on the build now. Going with Science....

            Edit: Dear Science the compiles take forever. An hour into building GO.... Ryzen 3900x...

            S 1 Reply Last reply Mar 25, 2021, 4:42 PM Reply Quote 3
            • S
              somken @bigchimpin
              last edited by Mar 24, 2021, 5:38 PM

              @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

              B 1 Reply Last reply Mar 25, 2021, 1:32 AM Reply Quote 0
              • B
                bigchimpin Banned @somken
                last edited by Mar 25, 2021, 1:32 AM

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

                1 Reply Last reply Reply Quote 1
                • S
                  stephenw10 Netgate Administrator
                  last edited by Mar 25, 2021, 2:03 PM

                  If it's a compiled package you can just add it: pkg add <path-to-package>

                  As long as the dependencies are met.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • S
                    somken @somken
                    last edited by somken Mar 31, 2021, 6:31 AM Mar 25, 2021, 4:42 PM

                    This post is deleted!
                    S 1 Reply Last reply Mar 25, 2021, 5:41 PM Reply Quote 1
                    • S
                      Szymon @somken
                      last edited by Mar 25, 2021, 5:41 PM

                      @somken TY for that. I've just tried to download it and it appears that request is timing out.

                      S 1 Reply Last reply Mar 25, 2021, 5:54 PM Reply Quote 0
                      • S
                        somken @Szymon
                        last edited by somken Mar 31, 2021, 6:30 AM Mar 25, 2021, 5:54 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 1
                        • S
                          somken
                          last edited by somken Mar 25, 2021, 6:37 PM Mar 25, 2021, 6:07 PM

                          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.

                          1 Reply Last reply Reply Quote 3
                          • 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
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]