ハード状態監視のための設定
##############################################################################
● smart デーモン起動設定(HDDの状態を定期的にチェックするため)
1) smartmontool がインストールされているか確認
[root@localhost ~]# rpm -qa | grep smartmontools
smartmontools-5.41-2.fc15.i686
入っていなければインストールする
[root@localhost ~]# yum -y install smartmontools
2) /etc/smartd.conf に以下の行を追加
/dev/sda -H -m root <--- IDE の場合
/dev/sda -H -d sat -m root <--- Serial ATA の場合
3) 起動してみる
[root@localhost ~]# service smartd start
4) 自動起動設定
[root@localhost ~]# chkconfig smartd on
##############################################################################
● hddtemp コマンドをインストール(HDDの温度をチェックするため)
[root@localhost ~]# yum -y install hddtemp
##############################################################################
● lm_sensors の設定(FAN回転数とCPUの温度などをチェックできる)
1) インストールされているかチェックする(なければインストールする)
[root@localhost ~]# rpm -qa | grep lm_sensors
lm_sensors-libs-3.3.1-1.fc15.i686
[root@localhost ~]# yum -y install lm_sensors
[root@localhost ~]# rpm -qa | grep lm_sensors
lm_sensors-libs-3.3.1-1.fc15.i686
lm_sensors-3.3.1-1.fc15.i686
2) 初期設定用のコマンドを実行する(質問には全て Enter で応答する)
[root@localhost ~]# sensors-detect
# sensors-detect revision 5984 (2011-07-10 21:22:53 +0200)
# System: Supermicro X6DA8
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.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
:
:
:
:
Note: there is no driver for IPMI BMC Unknown yet.
Check http://www.lm-sensors.org/wiki/Devices for updates.
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
ln -s '/lib/systemd/system/lm_sensors.service' '/etc/systemd/system/multi-user.target.wants/lm_sensors.service'
Unloading i2c-dev... OK
3)チェックしてみる
[root@localhost ~]# sensors
nouveau-pci-0500
Adapter: PCI adapter
temp1: +69.0°C (high = +100.0°C, crit = +110.0°C)
w83627hf-isa-0290
Adapter: ISA adapter
in0: +4.08 V (min = +0.00 V, max = +4.08 V)
in1: +4.08 V (min = +0.00 V, max = +4.08 V)
in2: +4.08 V (min = +2.82 V, max = +3.79 V) ALARM
in3: +2.96 V (min = +3.06 V, max = +1.36 V) ALARM
in4: +3.02 V (min = +3.63 V, max = +1.52 V) ALARM
in5: +3.09 V (min = +2.03 V, max = +3.04 V) ALARM
in6: +3.14 V (min = +2.96 V, max = +0.62 V) ALARM
in7: +3.31 V (min = +3.86 V, max = +4.00 V) ALARM
in8: +3.25 V (min = +0.45 V, max = +3.66 V)
fan1: 5818 RPM (min = 712 RPM, div = 8)
fan2: 3245 RPM (min = 712 RPM, div = 8)
fan3: 0 RPM (min = 0 RPM, div = 8)
temp1: -48.0°C (high = +102.0°C, hyst = -37.0°C) sensor = thermistor
temp2: -48.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
temp3: -48.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
cpu0_vid: +0.000 V
beep_enable: enabled
w83792d-i2c-3-2f
Adapter: SMBus I801 adapter at 1100
VcoreA: +1.33 V (min = +0.00 V, max = +2.04 V)
VcoreB: +1.34 V (min = +0.00 V, max = +2.04 V)
in2: +3.33 V (min = +2.96 V, max = +3.62 V)
in3: +3.00 V (min = +2.69 V, max = +3.30 V)
in4: +0.52 V (min = +0.30 V, max = +0.75 V)
in5: +3.14 V (min = +2.83 V, max = +3.47 V)
+5V: +5.01 V (min = +4.49 V, max = +5.50 V)
5VSB: +4.97 V (min = +4.49 V, max = +5.50 V)
Vbat: +3.25 V (min = +2.69 V, max = +3.30 V)
fan1: 1670 RPM (min = 712 RPM, div = 8)
fan2: 0 RPM (min = 712 RPM, div = 8) ALARM
fan3: 0 RPM (min = 712 RPM, div = 8) ALARM
fan4: 1670 RPM (min = 712 RPM, div = 8)
fan5: 0 RPM (min = 712 RPM, div = 8) ALARM
fan6: 1188 RPM (min = 712 RPM, div = 8)
temp1: +34.0°C (high = +80.0°C, hyst = +75.0°C)
temp2: +36.5°C (high = +80.0°C, hyst = +75.0°C)
temp3: +41.5°C (high = +80.0°C, hyst = +75.0°C)
intrusion0: OK
戻る