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

    Coretemp SNMP Configuration

    SNMP
    2
    2
    3.0k
    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.
    • N
      nihplod
      last edited by

      Hi

      I am trying to grab my temperature from pfsense via snmp so i can use it in NetXMS for monitoring.

      Problem is that i am only getting strings without any numbers for the thermals. It seems that it just cuts of the string.
      I am using Coretemp with a Dell R200-machine and this is the data i am getting.

      Any way to actually get the numbers propberly?

      HOST-RESOURCES-MIB::hrDeviceDescr.10 = STRING: p4tcc0: CPU Frequency Thermal Control
      HOST-RESOURCES-MIB::hrDeviceDescr.11 = STRING: cpufreq0: 
      HOST-RESOURCES-MIB::hrDeviceDescr.12 = STRING: coretemp0: CPU On-Die Thermal Sensors
      HOST-RESOURCES-MIB::hrDeviceDescr.13 = STRING: cpu1: ACPI CPU
      HOST-RESOURCES-MIB::hrDeviceDescr.14 = STRING: acpi_perf1: 
      HOST-RESOURCES-MIB::hrDeviceDescr.15 = STRING: est1: Enhanced SpeedStep Frequency Co
      HOST-RESOURCES-MIB::hrDeviceDescr.16 = STRING: p4tcc1: CPU Frequency Thermal Control
      HOST-RESOURCES-MIB::hrDeviceDescr.17 = STRING: cpufreq1: 
      HOST-RESOURCES-MIB::hrDeviceDescr.18 = STRING: coretemp1: CPU On-Die Thermal Sensors
      HOST-RESOURCES-MIB::hrDeviceDescr.19 = STRING: cpu2: ACPI CPU
      HOST-RESOURCES-MIB::hrDeviceDescr.20 = STRING: acpi_perf2: 
      HOST-RESOURCES-MIB::hrDeviceDescr.21 = STRING: est2: Enhanced SpeedStep Frequency Co
      HOST-RESOURCES-MIB::hrDeviceDescr.22 = STRING: p4tcc2: CPU Frequency Thermal Control
      HOST-RESOURCES-MIB::hrDeviceDescr.23 = STRING: cpufreq2: 
      HOST-RESOURCES-MIB::hrDeviceDescr.24 = STRING: coretemp2: CPU On-Die Thermal Sensors
      HOST-RESOURCES-MIB::hrDeviceDescr.25 = STRING: cpu3: ACPI CPU
      HOST-RESOURCES-MIB::hrDeviceDescr.26 = STRING: acpi_perf3: 
      HOST-RESOURCES-MIB::hrDeviceDescr.27 = STRING: est3: Enhanced SpeedStep Frequency Co
      HOST-RESOURCES-MIB::hrDeviceDescr.28 = STRING: p4tcc3: CPU Frequency Thermal Control
      HOST-RESOURCES-MIB::hrDeviceDescr.29 = STRING: cpufreq3: 
      HOST-RESOURCES-MIB::hrDeviceDescr.30 = STRING: coretemp3: CPU On-Die Thermal Sensors
      
      
      sysctl -a|grep dev.cpu|grep temperature
      dev.cpu.0.temperature: 44.0C
      dev.cpu.1.temperature: 44.0C
      dev.cpu.2.temperature: 40.0C
      dev.cpu.3.temperature: 40.0C
      
      
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I think the first output may just be entries from dmesg that describe the drivers.

        I don't believe bsnmpd knows about coretemp enough to expose its actual temperature values.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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