All of lore.kernel.org
 help / color / mirror / Atom feed
From: telackey@bozemanpass.com (Thomas E Lackey)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Proposed Patch for default sensors.conf
Date: Fri, 27 Jan 2006 20:34:32 +0000	[thread overview]
Message-ID: <43DA83D8.3060802@bozemanpass.com> (raw)

When working with lm_sensors and net-snmp lately, we found that the 
default sensors.conf file does not include "temp" in the labels for all 
chipset groups.  Specifically, there are two chipset groups where it is 
not in the 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.

Attached is a patch against CVS HEAD with the corrected names.

Regards,

-- 
Thomas E Lackey
Bozeman Pass, Inc.


Index: sensors.conf.eg
=================================RCS file: /home/cvs/lm_sensors2/etc/sensors.conf.eg,v
retrieving revision 1.179
diff -U3 -r1.179 sensors.conf.eg
--- sensors.conf.eg     7 Dec 2005 20:45:38 -0000       1.179
+++ sensors.conf.eg     27 Jan 2006 20:45:42 -0000
@@ -1802,8 +1802,8 @@

 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
@@ -2231,9 +2231,9 @@
    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"



             reply	other threads:[~2006-01-27 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 20:34 Thomas E Lackey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-25 21:02 [lm-sensors] Proposed Patch for default sensors.conf Rudolf Marek
2006-03-01 21:01 Thomas E Lackey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43DA83D8.3060802@bozemanpass.com \
    --to=telackey@bozemanpass.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.