[myn:2006122702] の続き.
# apt-get install snmpd # vi /etc/snmp/snmpd.conf com2sec readonly default xxxx (←コミュニティー名)
外の計算機から,
% snmpwalk -c xxxx -v2c 10.0.0.5 laload
とかで check.MRTG も外で動かす.
% cfgmaker xxxx@10.0.0.5 xxxx@10.0.0.6 > /etc/mrtg.cfg
とかで mrtg.cfg の雛型をつくって編集(上記は2台の例になってる).
% indexmaker --columns=1 /etc/mrtg.cfg > index.html
とかで index.html の雛型をつくって編集.あとは cron を仕込む.
Last-modified: Wed May 06 00:14:17 +0900 2009