CPU温度@MRTG

http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/

% cd /usr/ports/sysutils/mbmon
% make WITHOUT_X11=yes
% make install
% rehash
% mbmon -D
Probe Request: none
>>> Testing Reg's at SMBus <<<
ioctl(smb0:open): No such file or directory
SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM available on it!!
>>> Testing Reg's at ISA-IO <<<
[ISA Port IO-Base:0x290]
Probing Winbond/Asus/LM78/79 chip:
 CR40:0x01,  CR41:0x00,  CR42:0x00,  CR43:0xFF
 CR44:0x3F,  CR45:0x00,  CR46:0x00,  CR47:0xF4
 CR48:0x2D,  CR49:0x02,  CR4A:0x01,  CR4B:0x04
 CR4C:0x48,  CR4D:0x15,  CR4E:0x00,  CR4F:0xA3
 CR56:0x00,  CR58:0x21,  CR59:0x70,  CR5D:0x09
 CR3E:0x00,  CR13:0xFF,  CR17:0xFF,  CRA1:0x72
 CR20:0x6B,  CR22:0xD2,  CR23:0xBD,  CR24:0xC6
 CR27:0x2A,  CR29:0x45,  CR2A:0xFF,  CR2B:0x7F
* Temp1 exists at Bank 1, Temp2 exists at Bank 2.
Using ISA-IO access method!!
* Winbond Chip W83627HF/THF/THF-A found.
===> Installing rc.d startup script(s)
===>   Compressing manual pages for mbmon-205_3
===>   Registering installation for mbmon-205_3
===> SECURITY REPORT:
     This port has installed the following binaries which execute with
     increased privileges.
/usr/local/bin/mbmon

     This port has installed the following files which may act as network
     servers and may therefore pose a remote security risk to the system.
/usr/local/bin/mbmon

     This port has installed the following startup scripts which may cause
     these network services to be started at boot time.
/usr/local/etc/rc.d/mbmon

     If there are vulnerabilities in these programs there may be a security
     risk to the system. FreeBSD makes no guarantee about the security of
     ports included in the Ports Collection. Please type 'make deinstall'
     to deinstall the port if this is a concern.

     For more information, and contact details about the security
     status of this software, see the following webpage:
http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html

/usr/local/etc/mrtg/cpu-temp.cfg

Target[temp]: `/usr/local/bin/mbmon -c 1 -T 4 -u -n | sed '/\.[0-9]$/s/\.//'`
MaxBytes[temp]: 1000
Title[temp]: System Temperature
PageTop[temp]: <H1>System Temperature</H1>
Options[temp]: nopercent, gauge, absolute, unknaszero
Factor[temp]: 0.1
YTicsFactor[temp]: 0.1
YLegend[temp]: Temperature
ShortLegend[temp]: degrees
Legend1[temp]: CPU Temperature
Legend2[temp]: M/B Temperature
LegendI[temp]: CPU Temp.
LegendO[temp]: M/B Temp.

Tips

MRTGのデーモンの再起動

MRTGのindex.htmlを自動生成


EditUnfreeze CPU温度@MRTG


トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-08-29 (水) 12:53:32