°Ô½Ã¹° 1,369°Ç
   
IP Bandwidth Monitor
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2014-08-29 (±Ý) 10:18 Á¶È¸ : 6608
±ÛÁÖ¼Ò :
                                
Âü°í : 

OS : CentOS 6.X x86_64

Requirement
# yum install libpcap libpcap-devel
# yum install libpng libpng-devel
# yum install gd gd-devel

Last Update: 2013-04-24
# tar zxvf bandwidthd-2.0.1.tgz
# cd bandwidthd-2.0.1
# ./configure && make install


¼³Á¤ÆÄÀÏ ¼öÁ¤
¿øÇÏ´Â ¸ð´ÏÅ͸µ ³×Æ®¿öÅ© ´ë¿ª  ¹× ±âŸ ±â´É°ü·Ã
/usr/local/bandwidthd/etc/bandwidthd.conf
####################################################
# Bandwidthd.conf
# Commented out options are here to provide
# documentation and represent defaults

# Subnets to collect statistics on.  Traffic that 
# matches none of these subnets will be ignored.
# Syntax is either IP Subnet Mask or CIDR
:: ¸ð´ÏÅ͸µ ´ë»ó ¾ÆÀÌÇǸ®½ºÆ® -> ½Ã½ºÅÛ ·Îµå¿¡ ¿µÇâÀ» ¹ÌÄ¡±â¿¡ °üÁ¦´ë»óÀ» ÀûÀýÈ÷ ¼³Á¤...
subnet 10.0.0.0 255.0.0.0
subnet 192.168.0.0/16
subnet 172.16.0.0/12

# Device to listen on
# Bandwidthd listens on the first device it detects
# by default.  Run "bandwidthd -l" for a list of 
# devices. 
#dev "eth0"    ::¸ð´ÏÅ͸µ ´ë»ó ÀåÄ¡

###################################################
# Options that don't usually get changed

# An interval is 2.5 minutes, this is how many 
# intervals to skip before doing a graphing run
#skip_intervals 0    :: À¥ÆäÀÌÁö ¸®·Îµù °£°Ý ¼³Á¤ / ±âº»Àº 2ºÐ 30ÃÊ

# Graph cutoff is how many k must be transfered by an
# ip before we bother to graph it
#graph_cutoff 1024

#Put interface in promiscuous mode to score to traffic
#that may not be routing through the host machine.
#promiscuous true

#Log data to cdf file htdocs/log.cdf
#output_cdf false

#Read back the cdf file on startup
#recover_cdf false

#Libpcap format filter string used to control what bandwidthd see's
#Please always include "ip" in the string to avoid strange problems
#filter "ip"

#Draw Graphs - This default to true to graph the traffic bandwidthd is recording
#Usually set this to false if you only want cdf output or
#you are using the database output option.  Bandwidthd will use very little
#ram and cpu if this is set to false.
#graph true

#Set META REFRESH seconds (default 150, use 0 to disable).
#meta_refresh 150


¸ð´ÏÅ͸µ ÆäÀÌÁö ¾ÆÆÄÄ¡ ¼³Á¤Ãß°¡
¸ð´ÏÅ͸µÀ» ¿øÇÏ´Â VIrtualhost ¿¡ Ãß°¡
Alias /bandwidthd ¡°/usr/local/bandwidthd/htdocs¡±
<Directory ¡°/usr/local/bandwidthd/htdocs¡±>
Order Allow,Deny
Allow from All
</Directory>

¾ÆÆÄÄ¡¸¦ Àç½ÃÀÛÇÏ°í ÀÏÁ¤½Ã°£ÀÌ(±âº» 2.5ºÐ) Áö³ª¸é À̹ÌÁö°¡ »ý±â¸é¼­ ÆäÀÌÁö°¡ ·ÎµùµË´Ï´Ù.
ºê¶ó¿ìÀú¿¡.....




¡Ø Âü°í»çÇ×
1)  FTP¿¡ ÀÇÇØ ¹ß»ýµÇ´Â Æ®·¡ÇÈÀº ¼¼¼Ç Æ®·¡ÇÈÁ¤µµ¸¸ üũµÇ°í ³ª¸ÓÁö´Â TCP Æ®·¡ÇÈÀ¸·Î Æ÷ÇÔ
2) ÇÁ·Î¼¼¼­¸¦ ´Ù½Ã ½ÇÇàÇÏ°Ô µÇ¸é ±âÁ¸ ´©Àûµ¥ÀÌŸ ÃʱâÈ­µÊ
3) ´ë»óÀ» Æ÷°ýÀûÀ¸·ÎÇÏ¸é »ó´çÈ÷ ÁöÀúºÐÇϱ⿡ ¸ð´ÏÅ͸µ °üÁ¦´ë»ó(subnet)À» ÀûÀýÈ÷ »ç¿ë

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.