Fedora10[ep18] ATOM330のCPU温度などをMuninで表示。

HDDの温度を追加したのでついでにCPUなども追加しちゃいましょう(^^)
muninでCPU温度などをグラフ化
http://d.hatena.ne.jp/halts/20090102/1230844335
参考ページを身ながらせっせと設定yumでlm_sensorsいれてセンサーディテクトかけてと。
# yum -y install lm_sensors
# sensors-detect

# sensors-detect
Stopping lm_sensors: [ OK ]
# sensors-detect revision 5249 (2008-05-11 22:56:25 +0200)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. 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.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters…
Use driver `i2c-i801′ for device 0000:00:1f.3: Intel 82801G ICH7
We will now try to load each adapter module in turn.
Load `i2c-i801′ (say NO if built into your kernel)? (YES/no):
Module loaded successfully.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Next adapter: SMBus I801 adapter at 2000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2d
Probing for `Myson MTP008’… No
Probing for `National Semiconductor LM78’… No
Probing for `National Semiconductor LM78-J’… No
Probing for `National Semiconductor LM79’… No
Probing for `National Semiconductor LM80’… No
Probing for `National Semiconductor LM85 or LM96000’… No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463’… No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102’… No
Probing for `Analog Devices ADT7476’… No
Probing for `Andigilog aSC7611’… No
Probing for `Andigilog aSC7621’… No
Probing for `National Semiconductor LM87’… No
Probing for `National Semiconductor LM93’… No
Probing for `Winbond W83781D’… No
Probing for `Winbond W83782D’… No
Probing for `Winbond W83783S’… No
Probing for `Winbond W83792D’… No
Probing for `Winbond W83793R/G’… No
Probing for `Winbond W83791SD’… No
Probing for `Winbond W83627HF’… No
Probing for `Winbond W83627EHF’… No
Probing for `Winbond W83627DHG’… No
Probing for `Asus AS99127F (rev.1)’… No
Probing for `Asus AS99127F (rev.2)’… No
Probing for `Asus ASB100 Bach’… No
Probing for `Winbond W83L784R/AR/G’… No
Probing for `Winbond W83L785R/G’… No
Probing for `Genesys Logic GL518SM Revision 0x00’… No
Probing for `Genesys Logic GL518SM Revision 0x80’… No
Probing for `Genesys Logic GL520SM’… No
Probing for `Genesys Logic GL525SM’… No
Probing for `Analog Devices ADM9240’… No
Probing for `Dallas Semiconductor DS1780’… No
Probing for `National Semiconductor LM81’… No
Probing for `Analog Devices ADM1026’… No
Probing for `Analog Devices ADM1025’… No
Probing for `Philips NE1619’… No
Probing for `Analog Devices ADM1029’… No
Probing for `Analog Devices ADM1030’… No
Probing for `Analog Devices ADM1031’… No
Probing for `Analog Devices ADM1022’… No
Probing for `Texas Instruments THMC50’… No
Probing for `VIA VT1211 (I2C)’… No
Probing for `ITE IT8712F’… No
Probing for `ALi M5879’… No
Probing for `SMSC LPC47M15x/192/292/997’… Success!
(confidence 6, driver `smsc47m192′)
Probing for `SMSC DME1737’… No
Probing for `SMSC SCH5027D-NW’… No
Probing for `Fintek F75373S/SG’… No
Probing for `Fintek F75375S/SP’… No
Probing for `Fintek F75387SG/RG’… No
Probing for `Analog Devices ADM1024’… No
Probing for `Winbond W83791D’… No
Client found at address 0x50
Probing for `Analog Devices ADM1033’… No
Probing for `Analog Devices ADM1034’… No
Probing for `SPD EEPROM’… Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’… No
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no):
Probing for `National Semiconductor LM78′ at 0x290… No
Probing for `National Semiconductor LM78-J’ at 0x290… No
Probing for `National Semiconductor LM79′ at 0x290… No
Probing for `Winbond W83781D’ at 0x290… No
Probing for `Winbond W83782D’ at 0x290… No
Probing for `IPMI BMC KCS’ at 0xca0… No
Probing for `IPMI BMC SMIC’ at 0xca8… No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor’… No
Trying family `SMSC’… Yes
Found `SMSC LPC47M15x/192/997 Super IO Fan Sensors’ Success!
(address 0x680, driver `smsc47m1′)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor’… No
Trying family `SMSC’… No
Trying family `VIA/Winbond/Fintek’… No
Trying family `ITE’… No
Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no):
Silicon Integrated Systems SIS5595… No
VIA VT82C686 Integrated Sensors… No
VIA VT8231 Integrated Sensors… No
AMD K8 thermal sensors… No
AMD K10 thermal sensors… No
Intel Core family thermal sensor… No
Intel AMB FB-DIMM thermal sensor… No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `smsc47m192′ (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 2000′
Busdriver `i2c-i801′, I2C address 0x2d
Chip `SMSC LPC47M15x/192/292/997′ (confidence: 6)
Driver `smsc47m1′ (should be inserted):
Detects correctly:
* ISA bus, address 0x680
Chip `SMSC LPC47M15x/192/997 Super IO Fan Sensors’ (confidence: 9)
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Starting lm_sensors: loading module i2c-i801 smsc47m192 sms[ OK ]
こんなんでましたけど~。
センサーが見つかったという事でOK^^;
Fedora11ではここがこけたので諦めましたw
# sensors
smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
+2.5V: +2.54 V (min = +0.00 V, max = +3.32 V)
VCore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.39 V (min = +0.00 V, max = +4.38 V)
+5V: +5.13 V (min = +0.00 V, max = +6.64 V)
+12V: +12.19 V (min = +0.00 V, max = +15.94 V)
VCC: +3.39 V (min = +0.00 V, max = +4.38 V)
+1.5V: +1.58 V (min = +0.00 V, max = +1.99 V)
+1.8V: +1.78 V (min = +0.00 V, max = +2.39 V)
Chip Temp: +36.0°C (low = -127.0°C, high = +127.0°C)
CPU Temp: +47.0°C (low = +43.0°C, high = +50.0°C)
Sys Temp: +40.0°C (low = -127.0°C, high = +127.0°C)
cpu0_vid: +2.050 V
smsc47m1-isa-0680
Adapter: ISA adapter
fan1: 999 RPM (min = 1280 RPM, div = 4) ALARM
fan2: 4636 RPM (min = 1280 RPM, div = 4)

sensorsコマンドではこんな値が出ております。
4cmVGAファン12cmケースファンは静音タイプに換装済みっす。
夏モードでファンの回転数は少し高くしてあります^^;
こやつをグラフにって事ですね。
とりあえず全部のデータを残しておくべきか・・・
電源の様子も後で必要になりそうだからとりあえず入れておこう^^;
# ln -s /usr/share/munin/plugins/sensors_ /etc/munin/plugins/sensors_temp
# ln -s /usr/share/munin/plugins/sensors_ /etc/munin/plugins/sensors_fan
# ln -s /usr/share/munin/plugins/sensors_ /etc/munin/plugins/sensors_volt

“/etc/munin/plugin-conf.d/munin-node”に追加[sensors_*]
user root
リスタートservice munin-node restartで、5分待つと。
項目は出た。後はグラフですなぁ^^;
更に5分。出ましたヽ(*^。^*)ノ
(実はHDDも10分待てば出たのかも?w)

Fedora10
スポンサーリンク
極彩色のハテナ?