Menu

lm-sensors output not being 'found' by Webmin

Webmin
2021-11-29
2021-11-30
  • Simon Wilson

    Simon Wilson - 2021-11-29

    Hi Webmin team,

    This server has the following lm-sensors output (note "raw output" switch so it shows actual input names, and note that there are a heap of hidden non-sensible or zero values):

    [root@emp80 ~]# sensors -u
    asus-isa-0000
    Adapter: ISA adapter
    
    asuswmisensors-isa-0000
    Adapter: ISA adapter
    CPU Core Voltage:
      in0_input: 1.417
    CPU Fan:
      fan1_input: 2014.000
    Chassis Fan (rear):
      fan2_input: 909.000
    Chassis Fan (bottom):
      fan3_input: 766.000
    Chassis Fan (front):
      fan4_input: 948.000
    CPU Temperature:
      temp1_input: 57.000
    CPU Socket Temperature:
      temp2_input: 37.000
    Motherboard Temperature:
      temp3_input: 37.000
    Chipset Temperature:
      temp4_input: 47.000
    
    nouveau-pci-0800
    Adapter: PCI adapter
    GPU core:
      in0_input: 0.925
      in0_min: 0.800
      in0_max: 1.187
    temp1:
      temp1_input: 45.000
      temp1_max: 95.000
      temp1_max_hyst: 3.000
      temp1_crit: 105.000
      temp1_crit_hyst: 5.000
      temp1_emergency: 135.000
      temp1_emergency_hyst: 5.000
    

    Those CPU temps are read from a WMI driver ("asus-wmi-sensors") by lm-sensors. They all show when viewed through the "Historic System Statistics" plugin for Webmin, but none of them are "seen" as usable values in Webmin - i.e. nothing shows on the Dashboard, and the only lm-sensors values available to add as an "LM Sensor Status" monitor in the "System and Server Status" are the nouveau-pci-0800 values of GPU Core voltage and GPU temp1. None of the WMI-driver-sourced values are available.

    How do I get Webmin using the sensors output to add in a monitor?

     
  • Ilia

    Ilia - 2021-11-29

    Hi, Simon.

    So the problem is that it has never been displayed on Dashboard, correct? Or the problem is something that's started happening with the latest Webmin 1.982 release?

    Also, what is the plain sensors command output (without -u flag) and what is the CPU temperature (and FAN speed if any) in it?

     
  • Simon Wilson

    Simon Wilson - 2021-11-29

    Correct, Webmin Dashboard has nevershown the lm-sensors CPU output on this system, and the asus-wmi-sensors have never been available to select in a "System and Server Status" monitor.

    sensors output is as follows, note that the output is highly customised with a .conf file, including ignoring a lot of irrelevant data - which was why I posted the raw output above. The CPU Fan (fan1) and CPU Temperature (temp1) are clearly marked:

    [root@emp80 log]# sensors
    asus-isa-0000
    Adapter: ISA adapter
    
    asuswmisensors-isa-0000
    Adapter: ISA adapter
    CPU Core Voltage:          1.41 V
    CPU Fan:                 2070 RPM
    Chassis Fan (rear):       945 RPM
    Chassis Fan (bottom):     774 RPM
    Chassis Fan (front):      968 RPM
    CPU Temperature:          +59.0°C
    CPU Socket Temperature:   +38.0°C
    Motherboard Temperature:  +38.0°C
    Chipset Temperature:      +48.0°C
    
    nouveau-pci-0800
    Adapter: PCI adapter
    GPU core:    925.00 mV (min =  +0.80 V, max =  +1.19 V)
    temp1:        +45.0°C  (high = +95.0°C, hyst =  +3.0°C)
                           (crit = +105.0°C, hyst =  +5.0°C)
                           (emerg = +135.0°C, hyst =  +5.0°C)
    

    The full output without the config file is:

    [root@emp80 log]# sensors
    asus-isa-0000
    Adapter: ISA adapter
    cpu_fan:        0 RPM
    
    asuswmisensors-isa-0000
    Adapter: ISA adapter
    CPU Core Voltage:          1.45 V
    VPP MEM Voltage:           2.51 V
    +12V Voltage:             10.03 V
    +5V Voltage:               5.01 V
    3VSB Voltage:              3.33 V
    VBAT Voltage:              3.25 V
    AVCC3 Voltage:             3.36 V
    SB 1.05V Voltage:          1.05 V
    CPU Core Voltage:          0.00 V
    CPU SOC Voltage:           0.00 V
    CPU Fan:                 1901 RPM
    Chassis Fan 1:            870 RPM
    Chassis Fan 2:            755 RPM
    Chassis Fan 3:            903 RPM
    AIO Pump:                   0 RPM
    Water Pump:                 0 RPM
    CPU OPT:                    0 RPM
    CPU Temperature:          +53.0°C
    CPU Socket Temperature:   +39.0°C
    Motherboard Temperature:  +37.0°C
    Chipset Temperature:      +48.0°C
    Tsensor 1 Temperature:   +216.0°C
    CPU VRM Temperature:       +0.0°C
    CPU VRM Output Current:    0.00 A
    
    nouveau-pci-0800
    Adapter: PCI adapter
    GPU core:    925.00 mV (min =  +0.80 V, max =  +1.19 V)
    temp1:        +45.0°C  (high = +95.0°C, hyst =  +3.0°C)
                           (crit = +105.0°C, hyst =  +5.0°C)
                           (emerg = +135.0°C, hyst =  +5.0°C)
    
     
  • Ilia

    Ilia - 2021-11-29

    sensors command output is not consistent across vendors.

    So, asuswmisensors is what? A motherboard, I assume?

     
    • Simon Wilson

      Simon Wilson - 2021-11-30

      asus-wmi-sensors is an open source driver to access Asus-provided WMI sensor data on certain motherboards. See https://github.com/electrified/asus-wmi-sensors

      asus-isa-0000 is found by stock sensors-detect, but does not read anything useful or accurate (all it tells me is CPU Fan 0rpm, which is wrong).

       
  • Ilia

    Ilia - 2021-11-29

    What is asus-isa-0000?

     
  • Ilia

    Ilia - 2021-11-29

    Okay, this commit will add support for the motherboards of your kind.

    If you're running latest Webmin 1.982 you can simply update this file and refresh system information to see your CPU temperature and fan status on the Dashboard.

     

    Last edit: Ilia 2021-11-29
  • Ilia

    Ilia - 2021-11-29

    This commit will also add more monitors to System and Server Status module.

     
  • Simon Wilson

    Simon Wilson - 2021-11-30

    Can confirm that both commits work as expected.
    First commit adds CPU temp and fan to dashboard; second commit exposes full set of data when adding a new system monitor.

    Thank you @iliajie - awesome.

     

    Last edit: Ilia 2022-05-07

Log in to post a comment.

MongoDB Logo MongoDB