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

      Telegraf is now available on the SG-1100. Please test it if you can.

      We are working on what we can do on armv6.

      Steve

      Z 1 Reply Last reply Reply Quote 0
      • P
        phoxmeh
        last edited by

        I just installed the package on my SG-1100 and in the System Log I get

        Apr 1 00:30:46 kernel pid 72858 (telegraf), jid 0, uid 0: exited on signal 4 (core dumped)

        and when I try and run telegraf from the console I get

        Illegal instruction (core dumped)

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

          Thanks for the report, we are investigating.

          Steve

          1 Reply Last reply Reply Quote 0
          • J
            jlw52761
            last edited by

            I have a SG-1100 and getting the same results, signal 4 (core dump).

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

              It is still being looked at but is much lower priority than some other things right now.

              1 Reply Last reply Reply Quote 0
              • K
                kamushadenes
                last edited by kamushadenes

                I can confirm it compiles and runs on SG-3100 with the following flags when using telegraf's master and go 1.14.1:

                CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=7 go build ./cmd/telegraf

                I'm downloading the ports repository now to try and make the package.

                1 Reply Last reply Reply Quote 2
                • Z
                  zaxxon @stephenw10
                  last edited by

                  @stephenw10 I installed the latest Telegraf 0.9_3 package on my SG-1100 today. I'm on pfSense 2.4.5. When I try to start the service I get a continuous stream of core dumps in the system log.

                  Apr 19 19:36:18 kernel pid 29205 (telegraf), jid 0, uid 0: exited on signal 4 (core dumped)
                  Apr 19 19:36:21 kernel pid 29379 (telegraf), jid 0, uid 0: exited on signal 4 (core dumped)
                  Apr 19 19:36:25 kernel pid 29647 (telegraf), jid 0, uid 0: exited on signal 4 (core dumped)

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

                    Thanks for the feedback.
                    We are are aware of the problems and are looking at it. We are very busy right now though so no ETA I'm afraid.

                    Steve

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jlw52761 @stephenw10
                      last edited by

                      @stephenw10 Is there anyway to assist in the progress? I've done lot's of compiling on Linux systems, never on a BSD system, but should be similar after learning the file structure and lib locations.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jlw52761
                        last edited by

                        Updated to the 0.9_4 package version, still no joy.

                        1 Reply Last reply Reply Quote 1
                        • styxlS
                          styxl
                          last edited by

                          i am also waiting for this official release

                          1 Reply Last reply Reply Quote 0
                          • G
                            g0nz0uk
                            last edited by

                            We were going to buy a batch of the 3100's for home users and offices, but knowing it won't support Telegraf is a deal breaker for us and we may have to look at other options now.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jd0x7c5
                              last edited by

                              While we wait for the official plugin. Is there any community documentation I can follow to get telegraf up and running on a SG-3100 without going via the official plugin system?

                              V 1 Reply Last reply Reply Quote 0
                              • V
                                victorhooi @jd0x7c5
                                last edited by

                                I believe @kamushadenes was trying to make a package before (https://forum.netgate.com/post/904312), I wonder how that went.

                                That being said - it would be awesome if the Netgate team was able to get this working again .
                                I'm in the same boat as @g0nz0uk - looking to get a couple more SG-3100's - but I want to make sure it's still a support platform.

                                Is there a replacement for the SG-3100 (similar pricepoint and capacity) coming out? I'd rather get whatever you have new than buy the SG-3100 and find out it's deprecated.

                                1 Reply Last reply Reply Quote 1
                                • Z
                                  zaxxon
                                  last edited by

                                  Hi everyone. So the last post in this thread got me thinking. I have a raspberry pi 3b+ laying around it has a A53 (ARMv8) 64-bit processor. I'm wondering if I install FreeBSD on the Pi and then run a clean build of telegraf will it port over? Does anyone see any reason why this wouldn't work? This may get us running on the SG-1100. I'd really like to hear your thoughts before I attempt this.

                                  1 Reply Last reply Reply Quote 1
                                  • J
                                    jlw52761
                                    last edited by

                                    I’ve looked only a little for the FreeBSD source for telegraf with the intention of compiling directly on the SG-1100 then making the binary available for others. Didn’t think about a Pi, or about 7 other SBCs laying around. Not sure how a cross compile on FreeBSD would look, but could be interesting.

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

                                      I seem to recall suggesting that, or something similar, to our developers when we first saw this issue and it was dismissed as impractical due to the time it would require.
                                      But if you've got the device and the time then give it a whirl.

                                      Cross compiling is problem for the dependencies here. I believe GO will not compile using our current setup which is the root of the problem here.

                                      Steve

                                      J 1 Reply Last reply Reply Quote 1
                                      • J
                                        jlw52761 @stephenw10
                                        last edited by

                                        @stephenw10 Honestly this may be something that, if the community could help, may provide beneficial to everyone. I can go out and grab the source and compile it myself, but that doesn't really help the community as a whole unless everyone compiles it themselves.
                                        Sounds like there are a couple of us willing to throw our hats in the ring to help in some way with this.

                                        1 Reply Last reply Reply Quote 2
                                        • I
                                          iconic
                                          last edited by

                                          I'd just like to add one more vote for getting Telegraf running on the SG-1100

                                          1 Reply Last reply Reply Quote 3
                                          • J
                                            jlw52761
                                            last edited by

                                            Well, I upgraded my SG-1100 to 2.4.5 p1 and out of the blue Telegraf started working. I didn't even notice it at first until I was looking at my Grafana dashboard and saw more than one pfSense host reporting data. So not sure what changed with the p1 release, but that seems to have been the puzzle piece to getting this working.

                                            1 Reply Last reply Reply Quote 3
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.