sntop 은 fping을 이용하여 네트워크를 모니터링 할 수 있다.
ntop의 복잡한 기능을 최소화 시켰다.
일단 아래의 사이트에서 sntop 을 다운 받자
http://sourceforge.net/projects/sntop
ntop을 설치하기전에 fping 이 설치되어 있지 않으면 설치하기 바랍니다.
# rpm -qa | grep fping
# rpm -ivh fping-2.4b2-5.i686.rpm
준비 중... ########################################### [100%]
그럼 sntop을 설치하겠습니다. 소스를 컴파일 하겠습니다..
# tar xvfz tar xvfz sntop-1.4.3.tar.gz
# ./configure
# make
# make install
컴파일이 끝났으면 이제 각자 환경에 맞게 설정파일을 수정하면 된다
자세한 사항은 맨페이지를 참조하길 바랍니다.
# cp /etc/sntoprd ~/.sntoprc
# vi ~/.sntoprc
# simple network top - a top-like console network status tool
# robert m love
# chris m rivera
#
# http://sntop.sourceforge.net - homepage
# ftp://sntop.sourceforge.net/pub/sntop/ - anon ftp
#
# 07.20.2000
#
# EXAMPLE sntoprc
Gator # display name
192.168.23.1 # IP or host
local linux/alpha server # display comments
Yahoo
www.yahoo.com
something on the outside
localhost
127.0.0.1
does loopback even work?
# EOF
각자 환경에 맞게 수정 하였으면 실행하여 실시간으로 모티터링을 해보자.
# sntop --help
sntop v1.4.3: Robert M. Love , Chris M. Rivera
Usage: sntop [FLAG(S)...]
-d, --daemon allow use as a daemon
-o, --once poll and display once, then exit
-c, --nocolor disable use of ncurses' color
-p, --ping use 'ping' in lieu of 'fping'. MUCH SLOWER!
-w, --html generate html output of results
-s, --secure secure mode: interactive commands are disabled
-e, --wfile=file output html to instead of sntop.html
-f, --conf=file read conf data from instead of ~/.sntoprc.
note, sntop will still try to read from
/usr/local/etc/sntoprc if fails
-r, --refresh=time refresh every