Font Size: a A A

Gathering Equipments' Information Based On SNMP Protocol

Posted on:2010-11-04Degree:MasterType:Thesis
Country:ChinaCandidate:L TianFull Text:PDF
GTID:2178360302466082Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Simple Network Management Protocol (SNMP) is defined by the InternetEngineering Task Force set of network management protocol. The protocol is basedon Simple Gateway Monitoring Protocol (SGMP). The use of SNMP, a managementstation can remotely manage all network devices support this protocol, includingmonitoring network status, modify the network device configuration, network eventsto receive warnings.The writer needs to work in the public room in a large number of servers tomaintain, due to IDC (Internet Data Center) are unique, each entry are subject to aspecial room carefully, and the hosts managed a huge amount of connecting lines ismore it is difficult to count, which caused many difficulties to management.Envisaged by the author if you use the SNMP management protocol characteristics,the establishment of a management station through the SNMP management protocolto monitor the IDC room where the host will see a prompt and effective hosts of thework.Simple Network Management Protocol architecture is designed to be thefollowing four concepts and goals: how to keep the management agent of the softwarecost as low as possible, how to maximize their remote management features to makefull use of Internet, network resources, how to make system structure, there must beroom for expansion, how to maintain the independence of SNMP, it does not dependon the specific computer, gateway and network transport protocol. In the latest version,SNMP system itself to ensuring the safety made a great improvement. An SNMPnetwork consists of three major components: managed devices, agents and networkmanagement system, a managed device is a present in the managed network nodes,where it runs on the agent managed device will collect and storage managementinformation through SNMP so that these information can be used by NMSS.In the data center hosts a lot of room inside, and the connected cable is complexclouds to protect the host's normal job is first and foremost, must work on the host check is a complex task, if we can achieve the network management and monitoring,can more enhance the security of IDC, and the staff were freed from the engine roomis also an important manifestation of the protection of client interests. Therefore, theauthor read a lot of information about the status quo of development of networkmanagement, SNMP management protocol is currently a wide range of applicationareas, but also well-suited to TCP / IP protocol, so envisaged by the author if we canuse SNMP features, the IDC room the establishment of a protocol-based SNMPnetwork device management network of information collection station, to monitor thehost CPU and memory usage, the staff to make timely judgments, to takecorresponding measures to guarantee the normal operation of the host.This article from the Simple Network Management Protocol (SNMP) to start,focusing on the Management Information Base (MIB) structure, the abstract syntaxnotation, as well as the specific protocol SNMP protocol data unit were analyzed. Onthis basis, drawing on the idea SNMP presents a Web-based SNMP applicationsoftware monitoring system concept. Based on the analysis of related technologiesdesigned to achieve an agreement based on SNMP device information collectionsoftware, windows operating system, using Java programming language to completethe four main modules: access to the device information module, data processingmodule, exception handling module, graphical modulesAccess to the device information module: SNMP protocol message by traversingthe nodes in MIB tree directory to access the network equipment. Can access thenetwork devices and their properties, by object identifiers (OID) is the onlydesignated by OID query, find the appropriate device to obtain information, user CPUtime, the user idle CPU time, system uses CPU time, system idle CPU time, idle CPUtime than, idle CPU time, the new idle CPU time, the machine total RAM, has beenused for RAM, free of RAM, shared RAM, to obtain the total storage capacity.Data processing module: first, the analysis of the data is correct, whether the loss,putting the wrong data discarded silently, and the new collection, to get into thecorrect type of uniform data, using a function type, mathematical model to calculateinformation value to be collected.Exception processing module: define an exception that might arise, such as theanomaly, network communication exceptions, access to data anomalies, data typeconversion exceptions and so on, intercepted exception, throwing a correspondingexception message, the program roll back to the previous step Graphical modules: the right to deal with good data in real time, saidtwo-dimensional coordinate system.After the establishment of the above-mentioned modules, access to the devicebeing detected CPU and memory usage, adoption and monitoring equipment has beena real-time task manager values and image comparison, the program algorithm to begenerating the image data and the error smaller, reaching operation of monitoringequipment, the effect shows through the SNMP protocol to establish an SNMPmanagement process and managed the process of the device SNMP agent, the request- response model of the device information collecting station is feasible.
Keywords/Search Tags:SNMP, IPv4, Information gathering, OID, Graph
PDF Full Text Request
Related items