Changeset 3262

Show
Ignore:
Timestamp:
02/25/06 22:58:16 (9 years ago)
Author:
ruik
Message:

Add the "Temp" into temps label

chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
and chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*"
"lm84-*" "gl523sm-*" "mc1066-*"

The reason for the patch is that the net-snmp lm_sensors extension uses
the label name when determining what type of sensor it is reading, and
as a result, which OID to use as the parent. It uses "V" for volt,
"fan" or "Fan" for fans, and "temp" or "Temp" for temperature. All
other sensors get placed under the "misc" sensors category. Since these
sensors lack "temp" in their labels, they are erroneously placed in the
"misc" category.

Patch provided by: telackey@…

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/etc/sensors.conf.eg

    r3250 r3262  
    18031803chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*" 
    18041804 
    1805    label temp           "Board" 
    1806    label remote_temp    "CPU" 
     1805   label temp           "Board Temp" 
     1806   label remote_temp    "CPU Temp" 
    18071807#   set temp_low                40 
    18081808#   set temp_over               70 
     
    22352235 
    22362236# Temperature inputs 
    2237    label temp1  "CPU" 
    2238    label temp2  "Board" 
    2239    label temp3  "Remote" 
     2237   label temp1  "CPU Temp" 
     2238   label temp2  "Board Temp" 
     2239   label temp3  "Remote Temp" 
    22402240 
    22412241# Fan inputs