Network Traffic Monitoring System Based on SNMP and JAVA

Author
ChenJun
Advisor
GuoQingPing
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP393.06 Computer networks, test , run
Degree
Master's thesis
Year
2005
Downloads
435
Citations
1

Request the full text

Abstract

Network management is related to lots of aspects in running of networks, and has become one of the most important contents in the current information networks. Of the network management, traffic monitor, statistically analyzing are the most fundamental parts. They are the basis of network management, which can effectively help administrators make performance management, accounting management, fault management and make proper decisions. WBM (Web based management) is a combination of network management technology and web technology. It offers greater power than traditional tools in management. Administrators can detect and control their networks from any places and from any Web browsers. Management is not limited to the network management stations as usual. Java plays an important role in WBM, which is an object-oriented interpretive language with a famous slogan "compile once, run everywhere" and is very suitable to write distributed network management software.This thesis brings forward a method to monitor the traffic load on network-links. Firstly, network traffic data are acquired through SNMP protocols. Then the traffic data are stored in the RRD (Round Robin Database) files and GIF graphs are made in the end (PNG and JPEG formats are supported). Besides the daily traffic graphs, it also creates visual representations of the traffic during the last seven days, the last four weeks and the last twelve months. These graphs can be embedded in the HTML files which are present to administrators visually.Following the method mentioned above, I implement a network traffic monitor system. Its two prior advantages over other systems are "free of configuration" and cross-platform. "Free of configuration" means that without writing or modifying any configuration files, just through web pages, administrators can add or delete devices under management. Through web pages, administrators can freely select or adjust the interfaces to be monitored. In addition, the system is written in Java, acquiring the cross-platform ability. It can run under Unix/Linux. Without any change, it can also run under Windows NT/2000, Windows XP.Applying the MVC model, the system has a clear architecture. Servlet plays apart as controller, Jsp as View and Javabean as model. The business logic is implemented completely in Javabeans, so these codes can be exported to non-web based network management easily. In order to make up for the defect of web technology - weak in real time reactions, Applet is used in client’s part. Applet makes a connection to the server actively, so mutual communications are established. The server applies NIO (the new I/O). Only one thread is needed to keep connections with all the clients. In this way, the server is relieved notably and efficiency is improved.Facts prove that the traffic monitor system making use of SNMP and Java is easy to use and portable. And the good architecture ensures the code is reusable and extensible. So, it possesses great practical value for application.

Table of contents

Summary 3-4 Abstract 4-6 directory 6-9 Chapter 1 Introduction 9-18 <br / > 1.1 defines network management 9-10 1.2 network management functions . . 10-11 1.3 nbsp status of network management ; 11-14 <br / > 1.4 network traffic detection and network management . . 14-15 1.5 thesis work . 15-18 1.5.1 performance Management implementations 16 . 1.5.2 fault Management implementations 16 1.5.3 data analysis of long-term nature . . 16-17 1.5.4 other Considerations 17-18 Chapter 2 SNMP SNMP 18-36 2.1.SNMP Overview 18-19 2.2 network management architecture . 19-20 2.3 network Management Protocol architecture . 20-21 2.4 pitfall guide polling (Trap-directed polling) . 21-22 2.5 escrow agent who (proxy agent) 22 2.6 MIB . 22-26 2.6.1 Management Information Base (MIB) . 22-25 2.6.2.MIB object nbsp 25-26 2.7.SNMP supported operating ; 26-27 2.8.SNMP protocol data unit (PDU) format 27 2.9.SNMP packet transmission format 27-28 2.10.SNMP authentication mechanisms and access policy 28-29 2.11.SNMP communication process 29-30 2.12.SNMP application in practice 30-31 achieve 2.13.SNMP of 31-32 achieve 2.13.1.SNMP server achieve 31-32 2.13.2.SNMP client 32 2.14.SNMP development 32 . -35 2.15 Summary 35-36 Chapter 3 network traffic detection 36-42 3.1 network traffic classification . 36-38 < . br /> 3.1.1 background traffic 37 3.1.2 prospects flow . 37 3.1.3 comparison of background traffic flow and prospects . 37-38 . 3.2 network traffic detection method 38-39 3.2.1 network listener . 38 3.2.2 directly read the flow of information . 38-39 3.3 to get through the SNMP protocol network traffic . 39-40 3.3.1 input traffic statistics ifinOctets . 39-40 3.3.2 output. traffic statistics ifoutOctets 40 3.4.MRTG (MultiRouter Traffic Grapher) software 40-42 Chapter 4, WEB-based network management 42-48 4.1 basic Concepts 42-43 4.2 present two implementations 43-45 4.2.1 nbsp agent-based solutions ; 43 -.. . 44 4.2.2 embedded solutions 44-45 4.3 key technology . 45-48 4.3.1.HTML 45 4.3.2.CGI 45-48 Chapter 5 JAVA application in network management systems 48-63 5.1.JDMK 48-52 5.1.1.SnmpPeer 49 5.1.2.SnmpParameters 49-50 5.1.3.SnmpSession 50 5.1.4 . SnmpReauest . 50-51 5.1.5 to read the device description information sysDescr 51-52 5.2.Javabean, Servlet, Jsp 52-53 5.3.Applet . 53-54 5.4 asynchronous I / O nbsp 54-56 5.4.1 comparison of two kinds of I / O mode ;. 54 5.4.2.select tool 54-55 5.4.3 nonblocking architecture sockets . 55-56 5.5.JRobin 56-59 5.5.1.RRD (Round Robin Database) database 56-57 5.5.2.DS (Data Source) 57-58 5.5.3.RRA (Round Robin Archive) 58-59 5.5.4.JRobin About 59 5.6.Log4J 59-61 5.6.1.Logger 60 5.6.2.Appender 60 5.6.3.Layout 60-61 5.7.JUnit . 61-62 5.8 Summary design and implementation of Chapter 6 62-63 network traffic detection system 63-76 6.1 design goals and principles. . 63 6.2 development platform and development tools . 63-64 6.3 overall system design 64-66 6.3.1 system architecture. . 64-65 6.3.2 use Case Diagram 65 6.3.3 database table design . . 65-66 6.4 function module divided 66-75 6.4.1 user Authentication module . . 66-67 6.4.2 device Management module 67-69 6.4. 3 interface management module 69-70 6.4.4 flow detection module . 70-74 6.4.5 instant alarm module . 74-75 6.5 Summary 75-76 Chapter 7 Conclusion 76-77 References 77-80 Thanks 80 -81 Appendix 81

Related dissertations

  1. Research and Implementation on Network Performance Management System Based on SNMP Business Network
  2. Improvement and Implementation of Network Topology Structure System Based on SNMP Protocol
  3. Design and Implement of School Network Monitoring and Managing System
    YangXinCun ·Lanzhou University of Technology ·2012 ·Master's thesis
  4. Network Communications and Management of Distributed Fiber Sensor System
  5. The Research and Implementation of the Management Side of the Network Energy Consumption Monitoring System
  6. Design and Implementation of Web Network Management System Based on SNMP
    LiuLiSheng ·Northeastern University ·2010 ·Master's thesis
  7. Research on Network Topology Discovery Method Based on OSPF and SNMP
  8. Agent Alarm Software Development and Implementation Based on SNMP
    LiuHuiFang ·Chengdu University of Technology ·2012 ·Master's thesis
  9. Research and Implementation of Network Management Platform Based on SNMP
    ZhengXiaoPing ·Shanghai Jiaotong University ·2012 ·Master's thesis
  10. Merchant Vocational and Technical College Network Performance Management System Design and Implementation
  11. Planning and Designing of Network Administrative System Based on SNMP
    XiaoHanZhou ·Anhui University ·2012 ·Master's thesis
  12. The Design and Implementation of Active Network Management System
  13. Design and Implementation of Failure Tracking-supported Network Management System
    WangYiWu ·Southwest Jiaotong University ·2011 ·Master's thesis
  14. Design and Implement of Enterprise Network Management System Based on SNMP
    XingHai ·Shanghai Jiaotong University ·2012 ·Master's thesis
  15. Research and Design Network Monitor System Based on SNMP
    LiJing ·Hebei University of Engineering ·2012 ·Master's thesis
  16. The Design and Implementation of Asi Monitoring Equipment Management System
    HanXue ·Dalian Maritime University ·2012 ·Master's thesis
  17. Research and Implementation of Asset Management Program Based on the SNMP Protocol of Electronic Tags
    LuoZuo ·Wuhan University of Technology ·2012 ·Master's thesis
  18. The Realization of Dynamic Load Balancing of Distributed System in Java
  19. The Construction of Bank Branth Network Management Platform Based on SNMP
    LiuXin ·Shandong University ·2012 ·Master's thesis
  20. Design and Implementation of Network Management System Based on SNMP