Coretemp SNMP Configuration

  • 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

  • Rebel Alliance Developer Netgate

    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.

Log in to reply