TShopping

標題: bandwidthd 流量監控 [打印本頁]

作者: woff    時間: 2008-5-30 18:09
標題: bandwidthd 流量監控
這是一套安裝方便的流量監控軟體
讓管理者可以簡單監控內部網路的使用狀況

安裝平台:CentOS 4.4

1.下載套件
原始下載點:
ftp://ftp.pbone.net/mirror/rebus ... hd-2.0.1-1.i386.rpm
備用下載點:
http://www.ihao.org/php/web/rpm/bandwidthd-2.0.1-1.i386.rpm

2.安裝bandwidthd
  1. rpm  -ivh  bandwidthd-2.0.1-1.i386.rpm
複製代碼

3.設定參數
  1. vi /etc/bandwidthd.conf
複製代碼

設定監控的網段
  1. subnet 192.168.0.0/24
複製代碼

設定監控的網卡
  1. dev "eth0"
複製代碼

4.設定開機自動啟用
  1. chkconfig  bandwidthd on
複製代碼

5.啟動 bandwidthd
  1. service bandwidthd  start

  2. /etc/init.d/bandwidthd start
複製代碼

6.將網頁資料拉到可以看到的地方
  1. ln -s /usr/share/bandwidthd/htdocs /var/www/html/bandwidthd
複製代碼

網頁路徑
http://your website/bandwidthd/

7.大公告成!
DEMO :
  1. P.S.安裝的結構
  2. /etc/bandwidthd.conf
  3. /etc/rc.d/init.d/bandwidthd
  4. /usr/sbin/bandwidthd
  5. /usr/share/bandwidthd
  6. /usr/share/bandwidthd/htdocs
  7. /usr/share/bandwidthd/htdocs/legend.gif
  8. /usr/share/bandwidthd/htdocs/logo.gif
  9. /usr/share/doc/bandwidthd-2.0.1
  10. /usr/share/doc/bandwidthd-2.0.1/CHANGELOG
  11. /usr/share/doc/bandwidthd-2.0.1/README
  12. /usr/share/doc/bandwidthd-2.0.1/TODO
複製代碼

作者: tpdiy    時間: 2013-11-7 01:14
頂你一下,好帖要頂!  
作者: kjhg3243    時間: 2013-11-7 01:14
不错,支持下  
作者: chy00031    時間: 2013-11-7 01:14
初來乍到,請多多關照。。。  




歡迎光臨 TShopping (http://www.tshopping.com.tw/) Powered by Discuz! X3.2