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@bozemanpass.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3262 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Rudolf Marek committed 2006-02-25 21:58:16 +00:00
1 parent 70bb3c495e
commit 08738f13de
1 file changed
+5 -5
+5 -5
View File
@@ -1802,8 +1802,8 @@ chip "pcf8591-*"
chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
label temp "Board"
label remote_temp "CPU"
label temp "Board Temp"
label remote_temp "CPU Temp"
# set temp_low 40
# set temp_over 70
# set remote_temp_low 40
@@ -2234,9 +2234,9 @@ chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
label in4 "V12"
# Temperature inputs
label temp1 "CPU"
label temp2 "Board"
label temp3 "Remote"
label temp1 "CPU Temp"
label temp2 "Board Temp"
label temp3 "Remote Temp"
# Fan inputs
label fan1 "CPU_Fan"