這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
service:mrtg [2007/05/11 23:17] wenpei |
service:mrtg [2011/04/28 11:31] (目前版本) wenpei |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== mrtg-reference ====== | + | ===== mrtg-reference ===== |
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html | http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html | ||
- | ====== indexmaker ====== | + | ===== SNMP Reference ===== |
+ | http://www.debianhelp.co.uk/snmp.htm | ||
+ | |||
+ | http://blog.miniasp.com/post/2009/02/Ubuntu-804-snmpd-installation-and-configuration-notes.aspx | ||
+ | |||
+ | http://dieabsorb.wordpress.com/2011/04/05/snmp-%E5%B0%8F%E8%A8%98/ | ||
+ | |||
+ | ===== indexmaker ===== | ||
http://oss.oetiker.ch/mrtg/doc/indexmaker.en.html | http://oss.oetiker.ch/mrtg/doc/indexmaker.en.html | ||
行 64: | 行 71: | ||
====== FreeBSD MRTG 簡易設定 ====== | ====== FreeBSD MRTG 簡易設定 ====== | ||
+ | ===== 使用 bsnmpd ===== | ||
+ | 參考:http://blog.gslin.org/archives/2007/08/19/1275/ | ||
+ | |||
===== Install SNMP and MRTG ===== | ===== Install SNMP and MRTG ===== | ||
cd /usr/ports/net-mgmt/net-snmp; make install clean | cd /usr/ports/net-mgmt/net-snmp; make install clean | ||
行 116: | 行 126: | ||
*/5 * * * * root /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg # Every five minutes | */5 * * * * root /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg # Every five minutes | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | |||
===== Create MRTG's index file ===== | ===== Create MRTG's index file ===== | ||
- | indexmaker --title='MRTG - 網路流量分析' --addhead='' \ | + | indexmaker --title='MRTG - 網路流量分析' --addhead=' \ |
+ | <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">' \ | ||
--output /usr/local/www/apache22/data/mrtg/index.htm --columns=1 \ | --output /usr/local/www/apache22/data/mrtg/index.htm --columns=1 \ | ||
--nolegend /usr/local/etc/mrtg/mrtg.cfg | --nolegend /usr/local/etc/mrtg/mrtg.cfg | ||
行 156: | 行 170: | ||
圖案資料放在 http://your.website/smokeping/ | 圖案資料放在 http://your.website/smokeping/ | ||
+ | |||
+ | ====== Cacti ====== | ||
+ | http://www.cacti.net/ | ||
+ | |||
+ | Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. |