MRTG for Debian
shian | 14 十二月, 2004 00:381.app-get install snmp snmpd
2.編輯snmpd.conf
3.重新啟動 server
4.cfgmaker --global 'WorkDir: /var/www/mrtgms1' --global 'Options[_]: bits,growright' --global 'Language: big5' --output /etc/mrtg/mrtg.cfg.ms1 public@163.22.69.129
5. mrtg /etc/mrtg/mrtg.cfg.ms1 執行3次
大功告成
cfgmaker --global 'WorkDir: /var/www/mrtgms5' --global 'Options[_]: bits,growright' --global 'Language: big5' --output /etc/mrtg/mrtg.cfg.ms5 netadmin@163.22.69.134
mrtg /etc/mrtg/mrtg.cfg.ms5
indexmaker --columns=1 --output=/var/www/mrtgms2/index.html --title='ms2 Traffic Info' /etc/mrtg/mrtg.cfg.ms2
indexmaker --columns=1 --output=/var/www/mrtgms1/index.html --title='ms1 Traffic Info' /etc/mrtg/mrtg.cfg.ms1
cfgmaker --global 'WorkDir: /var/www/mrtgms1' --global 'Options[_]: bits,growright' --global 'Language: big5' --output /etc/mrtg/mrtg.cfg.ms1 netadmin@163.22.69.129
mrtg /etc/mrtg/mrtg.cfg.ms1
cfgmaker --global "WorkDir: /var/www/mrtgms1" --global "Refresh: 600" --global "Interval: 5" --global "WriteExpires: Yes" --global "Language: big5" --global "options[_]: bits" --ifdesc=descr --ifref=descr public@163.22.69.129 > /etc/mrtg/mrtg.cfg.ms1
cfgmaker --global 'WorkDir: /var/www/mrtgms1' --global 'Options[_]: bits,growright' --global 'Language: big5' --output /etc/mrtg/mrtg.cfg.ms1 public@163.22.69.129
mrtg /etc/mrtg/mrtg.cfg.ms1
Posted in
網管工作 .
迴響: (0).
引用:(0).
靜態連結網址
«Next post |
Previous post»