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.
    • 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
                    • G
                      g0nz0uk
                      last edited by

                      This is interesting! I wonder if others are also working after the upgrade.

                      1 Reply Last reply Reply Quote 0
                      • P
                        parithosh
                        last edited by parithosh

                        I experienced the same thing, Telegraf seems to work on my SG-1100 since the 2.4.5 p1 update.

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

                          is it back on the package manager? i cant seem to find it anymore, i also upgraded to p1

                          1 Reply Last reply Reply Quote 0
                          • O
                            OldManNiko
                            last edited by OldManNiko

                            The SG-3100 is a different architecture than the SG-1100. Hence why telegraf is available for some (SG-1100) users and not the rest of. Note: the thread is about Telegraf on ARM devices including the SG-3100, my understanding is that Go complied cleanly on the SG-1100 so they can build for that. This leave those of us who paid for a beefier system from Netgate in a bind. If I'd have went with a cheaper Intel Potectli or Qotom, I'd have x86_64 architecture and the ability to run just about anything, while saving money. I can't see a reason to buy the SG-3100 going forward, Telegraf being just one example of how this architecture is a second-class citizen for Netgate.

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

                              I wouldn't say Netgate is to blame in this particular instance. The A57 in the SG-3100 is a newer, more advanced processor than the A9 that is in the SG-1100, so there's going to be some compiler challenges there.

                              But more so, this whole ARM journey fundamentally is a FreeBSD problem of being way behind the bar in this area. Until using pfSense and FreeNAS, I wouldn't touch BSD or any variant with a 10 foot pole, and outside of these two uses I still won't as there's jsut too many quarks with it in my humble opinion.

                              Anyway, Go is being distributed separately from anything Netgate has control over, so can't blame them for those shortcomings.

                              Now with that, I have my little SG-1100 which does not impress me in the least, and I have my larger Protectcli device, the FW2 to be exact, and going forward I will stay with my instincts and not go with the ARM based platforms for running freeBSD on to avoid the quarks. I will continue to have my assortment of ARM based systems mind you, just running Linux instead.

                              I do feel that the release of the ARM hardware for pfSense was a mistake on Netgate's part, it just created very bad feedback for them unfortunately without more support and maturity on the part of the freeBSD foundation.

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

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

                                I wouldn't say Netgate is to blame in this particular instance. The A57 in the SG-3100 is a newer, more advanced processor than the A9 that is in the SG-1100, so there's going to be some compiler challenges there.

                                But more so, this whole ARM journey fundamentally is a FreeBSD problem of being way behind the bar in this area. Until using pfSense and FreeNAS, I wouldn't touch BSD or any variant with a 10 foot pole, and outside of these two uses I still won't as there's jsut too many quarks with it in my humble opinion.

                                Anyway, Go is being distributed separately from anything Netgate has control over, so can't blame them for those shortcomings.

                                Now with that, I have my little SG-1100 which does not impress me in the least, and I have my larger Protectcli device, the FW2 to be exact, and going forward I will stay with my instincts and not go with the ARM based platforms for running freeBSD on to avoid the quarks. I will continue to have my assortment of ARM based systems mind you, just running Linux instead.

                                I do feel that the release of the ARM hardware for pfSense was a mistake on Netgate's part, it just created very bad feedback for them unfortunately without more support and maturity on the part of the freeBSD foundation.

                                The funny thing is... the package from github has worked on my sg3100 since being released. Even after updates.

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

                                  Hi,

                                  Which package from Github is this please?

                                  How did you set it up?

                                  Thanks,
                                  Victor

                                  1 Reply Last reply Reply Quote 1
                                  • E
                                    endotronic
                                    last edited by

                                    +1 I'd love to know about how you got it working on your SG-3100. I'm guessing you mean this package from github? If anyone has any resources to share on this, please post here. I would love to have monitoring for the SG-3100 but it's not worth hours of tinkering for me.

                                    1 Reply Last reply Reply Quote 1
                                    • V
                                      victorhooi
                                      last edited by

                                      @jlw52761 - Well, what you say would make sense, if any Netgate pages actually mentioned that the SG-3100 doesn't support all software, or was a bit more open about the limitations when pushing it.

                                      I love Netgate - and have bought > 10+ devices from them myself, but this lack of clarity/commitment really irks me:

                                      I subscribe to the Netgate newsletter - today I get this email:

                                      alt text

                                      They're still pushing the SG-3100 as a great device - but fail to mention that various packages don't work with it, but will on x86 based hardware =(.

                                      @stephenw10 - Do you know if fixing Golang/Rust packages is still on the roadmap for Netgate developers? Just having a clear answer would be good, so we know whether to keep buying the SG-3100, or if an x86-based option is a better choice.

                                      1 Reply Last reply Reply Quote 2
                                      • V
                                        victorhooi
                                        last edited by

                                        I just saw the announcement of a new ARM-based device, the Netgate SG-2100.

                                        Any chance that means Telegraf (and other Go/Rust packages) will be working on the Netgate ARM boxes soon?

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

                                          @victorhooi telegraf is in the package manager on the SG-1100 and has been running pretty reliably.
                                          As for the SG-2100, I’m still underwhelmed by FreeBSD on ARM in general and honestly for the same money I can get an x86 based Protectli FW2 with more horsepower and much more disk in the form of NVMe. I just can’t see justifying the SG-2100 purchase unless you don’t want to run Community Edition.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z
                                            zaxxon @jlw52761
                                            last edited by

                                            @jlw52761

                                            I’m thinking about upgrading from the 1100 to the 2100 as it offers 4x the Ram and additional physical ports. The 1100 has been very stable and reliable for me but not really enough memory for running additional plugins. I would by the Netgate over the Protectli to support the company, their mission and their values.

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