マザーボード & CPU温度

本日一日の温度変化(五分間隔リアルタイム)マザーボードのセンサチップから各種データを取得するために
lm_sensors というツールを使用する
センサチップにより、取得できる各種データは限定されるため
現サーバとして稼働中の懐かしのM/B ASUS P3B-F を例に挙げる
[ lm_sensors のインストール ][root@linux ~]# yum install lm_sensors
[ マザーボードのセンサチップを探り設定 ] (ずらっとデータが出てきたが全て [Enter] で切り抜けた)
[root@linux ~]# sensors-detect
# sensors-detect revision 1.413 (2006/01/19 20:28:00)
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.
It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
← [ Enter ] = Yes の意味〜〜〜
何項目も出てくる
〜〜〜
[root@linux ~]#
[ lm_sensors の起動 ][root@linux ~]# service lm_sensors start
[root@linux ~]# chkconfig lm_sensors on
[root@linux ~]# chkconfig --list lm_sensors
lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off
← ラン・レベルの確認[ 取得データの確認 ]
[root@linux ~]# sensors
as99127f-i2c-0-2d
Adapter: SMBus PIIX4 adapter at e800
VCore 1: +1.66 V (min = +1.57 V, max = +1.73 V)
VCore 2: +2.56 V (min = +1.57 V, max = +1.73 V) ALARM ← 不要データ
+3.3V: +3.65 V (min = +3.14 V, max = +3.46 V) ALARM ← ALARM "喝"入れ過ぎ?
+5V: +5.03 V (min = +4.73 V, max = +5.24 V)
+12V: +11.73 V (min = +10.82 V, max = +13.19 V)
-12V: -11.95 V (min = -13.22 V, max = -10.74 V)
-5V: -5.03 V (min = -5.25 V, max = -4.74 V)
fan1: 0 RPM (min = 0 RPM, div = 4) ← ※1 何の回転数?
fan2: 0 RPM (min = 0 RPM, div = 4) ← ※1 何の回転数?
fan3: 0 RPM (min = 0 RPM, div = 4) ← ※1 何の回転数?
M/B Temp: +26°C (high = +40°C, hyst = -10°C)
CPU Temp: +31.0°C (high = +66°C, hyst = -10°C)
temp3: -31.5°C (high = +122°C, hyst = +121°C) ← 不要データ ※2 何の温度?
vid: +1.650 V (VRM Version 8.2)
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled
※1 静穏化PCの為ファンレス仕様
実はケース・ファンを回しているが回転センサが付いてないので測定不可!
※2 "JTPWR"="電源装置温度センサコネクタ" でした
[ 不要データの削除と許容範囲(ALARMと判定するまでの)を修正 ]/etc/sensors.conf のセンサチップ as99127f 項
[root@linux ~]# vi /etc/sensors.conf
〜〜〜
chip "as99127f-*"
# Asus won't release a datasheet so this is guesswork.
# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
# Victor G. Marimon and others for their feedback.
# Dual power plane
# label in0 "VCore 1"
# label in1 "VCore 2"
# ignore in1
# Single power plane (A7V133, A7M266, CUV4X)
label in0 "VCore"
ignore in1
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
# These last two may not make sense on all motherboards.
label in5 "-12V"
label in6 "-5V"
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((28/10)+1)*@ , @/((28/10)+1)
# AS99127F rev.1 (same as w83781d)
compute in5 -(240/60.4)*@ , -@/(240/60.4)
compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4)
# Depending on your motherboard, you may have to use any of two formulae
# for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
# to the driver):
# "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
# for those Asus motherboards, which get CPU temperature from internal
# thermal diode (Pentium Coppermine, and above), while no formula is needed
# for Athlon/Duron boards, which use a thermistor in the socket."
# An alternative formula was then found and reported by Victor G. Marimon.
# See comments above if temp3 looks bad. What works for temp2 is likely
# to work for temp3 for dual-CPU boards, such as the CUV4X-D.
# Most Asus boards have temperatures settled like that:
label temp1 "M/B Temp"
label temp2 "CPU Temp"
# However, some boards have them swapped (A7N8X Deluxe rev.2,
# A7N8X-E Deluxe rev.2, A7N8X-X, CUV4X):
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# Most boards have no temp3 by default, except for dual-CPU boards.
# label temp3 "CPU 2 Temp"
ignore temp3
# adjust this if your vid is wrong; see doc/vid
# set vrm 9.0
# set limits to 5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage
set in0_min vid*0.95
set in0_max vid*1.05
set in1_min vid*0.95
set in1_max vid*1.05
set in2_min 3.3 * 0.95
set in2_max 3.3 * 1.11
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12 * 0.90
set in4_max 12 * 1.10
set in5_max -12 * 0.90
set in5_min -12 * 1.10
set in6_max -5 * 0.95
set in6_min -5 * 1.05
# examples for temperature limits
set temp1_over 40
set temp1_hyst -10
set temp2_over 66
set temp2_hyst -10
# set temp3_over 52
# set temp3_hyst 47
# The A7N8X-X board is known to need this:
# (reported by Roberto Sebastiano <robs@multiplayer.it>)
# compute fan1 @/2, 2*@</pre>
[ 改めて取得データの確認 ]
[root@linux ~]# sensors
as99127f-i2c-0-2d
Adapter: SMBus PIIX4 adapter at e800
VCore: +1.66 V (min = +1.57 V, max = +1.73 V)
+3.3V: +3.65 V (min = +3.14 V, max = +3.66 V)
+5V: +5.03 V (min = +4.73 V, max = +5.24 V)
+12V: +11.80 V (min = +10.82 V, max = +13.19 V)
-12V: -12.14 V (min = -13.22 V, max = -10.74 V)
-5V: -5.03 V (min = -5.25 V, max = -4.74 V)
fan1: 0 RPM (min = 0 RPM, div = 4)
fan2: 0 RPM (min = 0 RPM, div = 4)
fan3: 0 RPM (min = 0 RPM, div = 4)
M/B Temp: +26°C (high = +40°C, hyst = -10°C)
CPU Temp: +28.0°C (high = +66°C, hyst = -10°C)
vid: +1.650 V (VRM Version 8.2)
alarms: Chassis intrusion detection ALARM
beep_enable:
Sound alarm enabled
[ 次に MRTG に反映させる ][root@linux ~]# vi /etc/mrtg.cfg
〜〜〜
### CPU & M/B Temperatures ###
Target[cputemp]: `/usr/bin/sensors | grep Temp | awk '{print $3}' | sed -e 's/+//' -e 's/[^0-9+\.].*//'`
MaxBytes1[cputemp]: 60
MaxBytes2[cputemp]: 60
Unscaled[cputemp]: dwmy
Options[cputemp]: gauge, absolute, growright, noinfo, nopercent
YLegend[cputemp]: Temperatures
ShortLegend[cputemp]: deg
Legend1[cputemp]: M/B Temperature (deg)
Legend2[cputemp]: CPU Temperature (deg)
LegendI[cputemp]: M/B:
LegendO[cputemp]: CPU :
Title[cputemp]: CPU & M/B 温度
PageTop[cputemp]: <H1>CPU & M/B 温度</H1>
〜〜〜
[ マザーボード & CPU温度 ]

本日一日の温度変化(五分間隔リアルタイム)
☆ HDD温度をブラウザで確認する smartctl + mrtg は こちら ☆