MRTG (8) HDDの 温度変化
MRTGを使ってhddtemp(HDDの温度変化を表示)をグラフ化する。
--MRTGのコンフィグファイルに追加する
# vi /usr/local/mrtg-2/data/local_mrtg.cfg
-----
####################
### Disk Temperature
Target[hddtemp]: `/usr/local/sbin/hddtemp /dev/hda | awk '{print $3}'`
MaxBytes[hddtemp]: 100
Title[hddtemp]: HDD Temperature
PageTop[hddtemp]: HDD Temperature
Options[hddtemp]: growright,absolute,gauge,nopercent,noinfo
WithPeak[hddtemp]: ymw
YLegend[hddtemp]: Temperature
ShortLegend[hddtemp]: C
LegendI[hddtemp]: Temp:
LegendO[hddtemp]:
Legend1[hddtemp]: HDD Temperature in Degrees Celcius
Legend2[hddtemp]:
-----
注意:hddtempのpathを確認するように
--index.htmlファイルを作成する
#/usr/local/mrtg-2/bin/indexmaker /usr/local/mrtg-2/data/local_mrtg.cfg >
/home/httpd/html/mrtg/local/index.html
--参考ページ
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/782hddtmpmrtg.html
「MRTG」カテゴリの記事
- MRTG (10) M/B,CPU temperature(2005.11.09)
- MRTG(9) DNSクエリー(2005.10.01)
- MRTG (8) HDDの 温度変化(2005.09.04)
- MRTG additional config for VAIO(2)(2005.08.22)
- MRTG additional config for VAIO(2005.08.21)
Comments