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

    NetGate 6100 (23.09.1) - can I access the system temperature sensor(s) values via the command line?

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    8 Posts 2 Posters 374 Views 2 Watching
    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.
    • C Online
      ChrisJenk
      last edited by

      Is there a way to get the values of the system's temperature sensor(s) via a command line tool? I want to send myself an alert if the temperature exceeds a particular value.

      Thanks.

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

        You can see the coretemp values via their sysctl:

        [24.03-BETA][root@6100-3.stevew.lan]/root: sysctl -a | grep temperature
        hw.acpi.thermal.tz0.temperature: 26.9C
        dev.cpu.3.temperature: 49.0C
        dev.cpu.2.temperature: 47.0C
        dev.cpu.1.temperature: 48.0C
        dev.cpu.0.temperature: 50.0C
        

        Steve

        C 1 Reply Last reply Reply Quote 1
        • C Online
          ChrisJenk @stephenw10
          last edited by

          @stephenw10 Thanks. On my unit I only see the ACPI temperature but no CPU core temperatures, any idea why that is?

          .../root: sysctl -a | grep temperature
          hw.acpi.thermal.tz0.temperature: 26.9C
          

          Just curious as the ACPI temp will likely do for my purposes.

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

            If you don't see the CPU core temperatures it's because the coretemp driver isn't loaded. It's loaded by default so you probably imported a config? It's a setting in Sys > Adv > Misc.

            C 2 Replies Last reply Reply Quote 1
            • C Online
              ChrisJenk @stephenw10
              last edited by

              @stephenw10 Thanks again. That was indeed it. All sorted.

              1 Reply Last reply Reply Quote 1
              • C Online
                ChrisJenk @stephenw10
                last edited by

                @stephenw10 I did import a migrated Config (from an SG-3100). Is there anything else system or hardware wise that might not be set optimally for a 6100 as a result?

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

                  You can enable QAT and/or IIMB on that same page. If you're not running a VPN that won't make any significant difference though.

                  C 1 Reply Last reply Reply Quote 1
                  • C Online
                    ChrisJenk @stephenw10
                    last edited by

                    @stephenw10 Thanks. I use WireGuard extensively so I will turn those on.

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