暑いので Lenny の HDD 温度をチェックしてみた
最近の暑さで Debian Lenny のサーバの HDD は大丈夫なの?とちょっと心配になったので、lm-sensors と munin で確認してみた。
基本的に手順はココと同じ。lm-sensors 入れて、smartmontools 入れて、munin 入れて。ちょこちょこ細かい設定をしながら進む。
でも HDD の温度が出ないな〜と思ってたら、最後に munin で HDD の温度を見る部分がちょこっと違ってた。
hddtemp_smartctl に付け足す内容は、/etc/munin/plugin-conf.d/munin-node の中に直接書く。
paraches@debian:~$ cat /etc/munin/plugin-conf.d/munin-node # This file is used to configure how the plugins are invoked. # Place in /etc/munin/plugin-conf.d/ or corresponding directory. # # PLEASE NOTE: Changes in the plugin-conf.d directory are only # read at munin-node startup, so restart at any changes. # # user <user> # Set the user to run the plugin as. # group <group> # Set the group to run the plugin as. # command <command> # Run <command> instead of the plugin. %c expands to # what would normally be run. # env.<variable> <value> # Sets <variable> in the plugin's environment, see the # individual plugins to find out which variables they # care about. <省略> [hddtemp_smartctl] user root env.drives sda env.type_sda ata <省略> paraches@debian:~$
これで HDD の温度がグラフになった。
温度は 44.0℃でした!
ちなみに CPU は25℃。