步驟:
使用IPKG方式:
/opt/bin/ipkg install mrtg /opt/bin/ipkg install net-snmp /opt/sbin/snmpd start
使用OPKG方式:
請安裝Cacti
**測試SNMP是否正常
/opt/bin/snmpwalk -v 2c -c public localhost
建立環境
/opt/bin/ipkg install mrtg /opt/bin/ipkg install net-snmp /opt/sbin/snmpd start echo "WorkDir: /share/Web/mrtg" >> /opt/etc/mrtg/localhost.cfg
測試
LANG=C /opt/bin/mrtg /opt/etc/mrtg/localhost.cfg
製作index.html
/opt/bin/indexmaker /opt/etc/mrtg/localhost.cfg --output /share/Web/mrtg/index.html
排程
crontab -e
**增加一行
*/5 * * * * env LANG=C /opt/bin/mrtg /opt/etc/mrtg/localhost.cfg
中文化
<span style="font-size: 16px;">vi /opt/etc/mrtg/localhost.cfg</span>
**增加一行
Language: big5