질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

bandwidthd 설치후

작성자 정보

  • 고동원 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요. 리눅스~실무 책으로 서버관리에 여러가지 도움이 되고 있습니다.

다름이 아니라 책에 기재된 bandwidthd를 운영하는 서버에 설치하였습니다.

정상적으로 설치를 하였는데 마지막 실행시 ./bandwidthd 를 실행하면 책에서 나온 내용같이 출력이 안되고 실행만 됩니다.

물론 http://서버아이피/ 해서 보면 bandwidthd 로고만 나오고 일별,주별,월별 내용은

나오지 않습니다.

참고로 bandwidthd.conf 파일 내용을 첨부합니다.

=================================================================

# 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

# 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 true

#Read back the cdf file on startup
recover_cdf true

#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 50

=================================================================

참고로 저의 subnet은 255.255.255.128 인데 conf 파일에는 자동으로 인식한다고 하는데

다른 subnet이 들어가있는데 상관이 없는지요?

 

감사합니다.

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,288 명
  • 현재 강좌수 :  36,943 개
  • 현재 접속자 :  392 명