有些人使用比較差的機器配備如 pentium II or pentium III 來當公司或家中的小型 NAT and Firewall 的話,
想必很難找到一套輕巧的流量監控軟體吧!因為一般人都用 CACTI or MRTG, 但這兩套的 loading 卻沒有想像中的小,
如果只是單純想看到所有人流量,而當有異常才去 server 端操作管控的話,這套 bandwidthd 就是您的不二選擇!

Environment
CPU:
PIII 500
Memory:
256M
OS:
FreeBSD 6.3-STABLE
Network:
WAN — rl0 xxx.xxx.xxx.xx
LAN — em0 192.168.2.1

Setup Procedure

#cd /usr/ports/net-mgmt/bandwidthd/
#make install clean
#cd /usr/local/www/apache22/data/
#ln -s /usr/local/bandwidthd/htdocs bandwidthd
#cd /usr/local/bandwidthd/etc/

#vi bandwidthd.conf —> 只須更改對內的網卡即可

dev “em0″

#/usr/local/etc/rc.d/bandwidthd start — 安裝完成啟動服務

再來只需要到您的瀏覽器上瀏覽這個網址 http://localhost/bandwidthd/ 即可看到監控的流量如下面兩張圖:

band1

band2

 

arrow
arrow
    全站熱搜

    bubble727 發表在 痞客邦 留言(0) 人氣()