1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>
Image 1

WE Solutions / Our services

  • Previous
  • Next
  • Stop
  • Play

SAMBA/LDAP

Thin Client Server

Postfix Mail Server

Postfix Mail Server

HA Clustering


Warning: Parameter 3 to mb_videobot() expected to be a reference, value given in /home/www/virtual/susethailand.com/htdocs/libraries/joomla/event/dispatcher.php on line 136

NTOP

PDF Print E-mail

Written by Mr. Sontaya Photibut Saturday, 02 May 2009 15:55

การติดตั้ง NTOP (Network TOP) บน SLSE10 x86_64

NTOP (Network Top) ซึ่งเป็น open-source software สำหรับตรวจสอบปริมาณการจราจรในเครือข่าย (network traffic) และจำแนกประเภทการใช้งานตามชนิดของโพรโตคอล ชนิดของแอพพลิเคชั่น หรือเว็บไซต์ที่เข้าถึง. ซึ่งมีการใช้งานผ่าน Web interface สนับสนุนทั้ง Windows, Linux, BSD และ UNIX.

Links Download:

http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/x86_64/

http://members.home.nl/timothee/ntop/mySQLdefs.txt

http://members.home.nl/timothee/ntop/mySQLserver.pl

หรือ public/index.php?dir=sles/x86_64/

เริ่มติดตั้ง

# rpm -ivh ntop-3.2-17.x86_64.rpm

 

# ntop -A -u wwwrun

 

Please enter the password for the admin user:****

Please enter the password again:****

 

# rcntop start

 

# vi /etc/sysconfig/ntop

 


แก้ไขจาก NTOPD_PORT="localhost:3000" ไปเป็น

NTOPD_PORT="192.168.1.13:3000"

 

ไปที่ Yast | System | Runlevel (enable ntop service)

 

ทดสอบ Ntop

 

http://192.168.1.13:3000

 

เป็นอันเสร็จครับ

 



Ntop กับ Database MySQL

 

# cp mySQLdefs.txt /usr/share/ntop/

 

# cp mySQLserver.pl /usr/share/ntop/

 

# cd /usr/share/ntop

 

# mysqladmin create NTOP

 

# mysql NTOP < /usr/share/ntop/mySQLdefs.txt

 

# mysql

 

mysql> grant all on NTOP.* to NTOP@localhost identified by 'NTOP';

 

mysql> exit

 

# perl mySQLserver.pl > /dev/null &

 

# chmod 550 mySQLserver.pl

 

Note : root NO PASSWORD.

 

Host Activity เป็นการบอกว่าเครื่องนั้นเปิด หรือ ปิดในช่วงใดบ้างใน 1 วัน โดยจะดูจาก ปริมาณ traffic ถ้าไม่มีการใช้ traffic จะเป็นสีแดง


Netflows เป็นการที่ไปเพิ่ม service เพิ่มว่าเราจะดูอะไรเพิ่มบ้าง


DataSentจะเป็นการอธิบายเกี่ยวกับการส่งข้อมูล หัวข้อย่อยจะเหมือนกับ Data Rcvd


Statsในส่วนนี้จะเป็นการรายงานผลภาพโดยรวมของการใช้ traffic


Multicastแสดงค่าแพคเกตประเภท Multicast ที่ปรากฏในเครือข่าย


Traffic รายงานผลเป็นกราฟ ว่าจำนวนโฮสต์ที่ผ่านเท่าไร และโปรโตคอลอะไรใช้งานคิดเป็น


ร้อยละเท่าไรของปริมาณทั้งหมด


Host เป็นการแสดงผลเป็นเครื่อง ๆ


Network Load เป็นการรายงานผลเป็นกราฟการใช้ traffic แบ่งเป็นช่วง ๆ


Domain เป็นการบอกถึงว่าเราติดต่อกับโดเมนใดบ้าง


IP Traffic เป็นการรายงานผล


ทั้งรับและส่งในแต่ละเครื่องแล้วแต่ว่าต้องการดูจากทิศทางไหนเป็นหลัก


IP Protocol จะเป็นการบอกถึงว่าแต่ละไอพีว่าใช้โปรโตคอลอะไรบ้าง


Image

Image

แหล่งข้อมูลอ้างอิง

http://sourceforge.net/projects/ntop

http://www.ntop.org/ntop.html











Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy