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.1k 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 @somken
      last edited by somken

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • S
        somken
        last edited by

        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
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

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

          Steve

          S S 2 Replies Last reply Reply Quote 2
          • S
            somken @stephenw10
            last edited by

            @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

              @stephenw10 Any update?

              S 1 Reply Last reply Reply Quote 1
              • S
                somken @Szymon
                last edited by

                @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 Reply Quote 1
                • S
                  Szymon @somken
                  last edited by

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    somken @Szymon
                    last edited by

                    @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

                      @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
                      • S
                        somken
                        last edited by

                        Just got a PR merged in to add URLs for FreeBSD armv7 links to the nightly list.

                        https://github.com/influxdata/telegraf/pull/9268

                        Hopefully the SG-3100 can have official support soon...

                        1 Reply Last reply Reply Quote 0
                        • R
                          router
                          last edited by

                          Hello, is there an update on official support of telegraf for armv7?

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Szymon @router
                            last edited by

                            @router yeah! plenty, so many updates that I'm struggling to follow ;)

                            1 Reply Last reply Reply Quote 0
                            • S
                              somken
                              last edited by somken

                              https://docs.influxdata.com/telegraf/v1.18/about_the_project/release-notes-changelog/

                              Oh look, 1.18.3 officially supports ARMv7. Wonder who did that... >_>

                              This thread is becoming a meme, isn't it?

                              1 Reply Last reply Reply Quote 0
                              • S
                                somken
                                last edited by

                                I'm going to go rattle more cages...

                                T 1 Reply Last reply Reply Quote 1
                                • T
                                  toda @somken
                                  last edited by

                                  @somken Hi - have you managed to make any progress rattling those cages?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    We have made some pretty significant changes to our build system over the last few months. You may have noticed we now have Suricata 5 available in 21.09 and that was not possible previously because of the Rust dependency. The restriction here is very similar so with any luck we may be able to re-enable this soon. 🤞

                                    Steve

                                    T 1 Reply Last reply Reply Quote 1
                                    • T
                                      toda @stephenw10
                                      last edited by

                                      @stephenw10 👍 Many thanks - looking forward to it.

                                      1 Reply Last reply Reply Quote 0
                                      • rbgargaR
                                        rbgarga Developer Netgate Administrator
                                        last edited by

                                        As @stephenw10 mentioned, we now have a native builder for armv7 packages and it was the first step.

                                        Now in order to make Telegraf available we need to have some fixes committed to FreeBSD to make golang to work as expected on arm32 jails running on aarch64 hosts and after it happens we will be able to enable Telegraf building.

                                        You can follow needed changes being reviewed at https://reviews.freebsd.org/D31175

                                        Renato Botelho

                                        S 1 Reply Last reply Reply Quote 4
                                        • S
                                          somken @rbgarga
                                          last edited by

                                          @rbgarga https://redmine.pfsense.org/issues/12201

                                          omgomgomg

                                          https://docs.netgate.com/pfsense/en/latest/releases/21-05-1.html

                                          omgomgogm

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            somken @somken
                                            last edited by

                                            @somken

                                            Finally had the time. Guess we wait another day.. At least the build system is "fixed?"

                                            e6c02aa6-e18b-4ca3-9336-1b45d9792704-image.png

                                            S S 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.