2011-07-07から1日間の記事一覧

munin で smartctl の値を見るための設定

munin には smartctl 用のプラグインが最初から入っているので、それを表示するようにする。 [paraches@localhost ~]$ cd /etc/munin/plugins [paraches@localhost plugins]$ sudo ln -s /usr/share/munin/plugins/hddtemp_smartctl ./etc/munin/plugin-conf…

munin の設定と起動

まずは設定を確認。 /etc/munin/munin.conf に設定が書いてあって、コメントが多くて長いけど結局はこんだけ。 dbdir /var/lib/munin htmldir /var/www/munin logdir /var/log/munin rundir /var/run/munin tmpldir /etc/munin/templates [localhost] addres…

munin をインストール

これも yum で一発!と思ったら、今度は標準リポジトリに無かった…。 [paraches@localhost ~]$ sudo yum install munin munin-node Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: rsync.atworks.co.jp * extras: rsync…

smartctl をインストール

yum で一発!と思ったら…最初から入ってた! [paraches@localhost ~]$ sudo yum install smartmontools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: rsync.atworks.co.jp * extras: rsync.atworks.co.jp * updates: …

CentOS 5.6 で HDD の温度を munin を使って監視する

暑い夏に心配になるのは PC 環境の熱問題。今年は節電ってことでエアコンの温度設定を高めにしたり切ったりしている人も多いと思うので余計に心配。そんな訳で熱に弱い HDD が大変なことにならないように munin で監視してみたのでメモ。やっていることは以…