From 08738f13de715f7dc78d4d46c54c94910d0e6e0a Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Sat, 25 Feb 2006 21:58:16 +0000 Subject: [PATCH] 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 --- etc/sensors.conf.eg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg index b4cadc81..4f3b18f8 100644 --- a/etc/sensors.conf.eg +++ b/etc/sensors.conf.eg @@ -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"