CN103516555A - Network device monitoring method and system - Google Patents

Network device monitoring method and system Download PDF

Info

Publication number
CN103516555A
CN103516555A CN201310503387.8A CN201310503387A CN103516555A CN 103516555 A CN103516555 A CN 103516555A CN 201310503387 A CN201310503387 A CN 201310503387A CN 103516555 A CN103516555 A CN 103516555A
Authority
CN
China
Prior art keywords
network equipment
agreement
monitoring
monitoring project
monitored network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310503387.8A
Other languages
Chinese (zh)
Inventor
云晓春
张永铮
王曦
常鹏
王勇
臧天宁
李高超
薛晨
吴震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Information Engineering of CAS
Original Assignee
Institute of Information Engineering of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Information Engineering of CAS filed Critical Institute of Information Engineering of CAS
Priority to CN201310503387.8A priority Critical patent/CN103516555A/en
Publication of CN103516555A publication Critical patent/CN103516555A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a network device monitoring method and system. The network device monitoring method comprises the following steps: (1) according to the types of network devices, creating device model files for the network devices, wherein monitoring project protocols borne by the network devices are indicated in the device model files; the monitoring project protocols can be SNMPs (Simple Network Management Protocols) and/or Telnet protocols; if the monitoring project protocols are the SNMPs, OIDs (Object Identifiers) corresponding to monitoring projects are indicated in the device model files; if the monitoring project protocols are Telnet protocols, command statements and result analysis grammar corresponding to the monitoring projects are indicated in the device model files; (2) adding network devices to be monitored, and selecting monitoring projects for the network devices to be monitored; (3) reading the device model files of the network devices to be monitored, and acquiring protocols borne by the monitoring projects and selected for the network devices to be monitored, and related information corresponding to the protocols; (4) according to the selected monitoring projects and the protocols borne by the monitoring projects, monitoring the network devices to be monitored. The network device monitoring method and system have high expansibility and compatibility.

Description

Network equipment method for supervising and system
Technical field
The present invention relates to networking technology area, relate in particular to a kind of network equipment method for supervising and system.
Background technology
Along with the development of network technology, computer network is all being brought into play irreplaceable effect in social every field such as business, finance, traffic, communication, service trades.The network equipment, as the infrastructure of computer network, is carrying the key service of each domain application system, and the normal operation of service is played to crucial supporting role.Along with the develop rapidly of network technology, itself also becomes network and becomes increasingly complex, and its scale, complexity and isomerism all increase greatly, and the problem of the aspects such as network connection, performance, safety occurs thereupon.If the operation of the network equipment is monitored, controlled to the efficient network apparatus management system of neither one, by being difficult to, guarantee to provide satisfied service for user.Therefore, effective enforcement of network device management has very important reality and social effect.
In view of the demand of above-mentioned network device management, a large amount of network apparatus management systems commercial and that increase income arise at the historic moment.Large commercial network monitoring platform be take HP OpenView as representative, and the conventional network device software of increasing income comprises Zenoss, Nagios, cacti etc.The manufacturer of ,Ge device fabrication simultaneously also provides the management system of oneself equipment for it, as Cisco, China three.Above-mentioned network apparatus management system is all that realize on basis with SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreement.Snmp protocol is based on MIB(Management Information Base, management information bank) ,MIB storehouse, storehouse is organized into facility information together according to tree structure, and every facility information is a node for tree.Due to the diversity of the network equipment, network equipment monitoring demand is various, in standard mib, only comprises common equipment information, as information such as network interface state, cpu busy percentage, memory usage, mode of operation of fan.When the network equipment has special function and has special monitoring demand, the standard mib storehouse based on snmp protocol is not enough.In order to address this problem ,Ge device fabrication manufacturer, DuiMIB expands in storehouse, formulates privately owned MIB storehouse, makes like this SNMP can support special monitoring demand.But when certain monitoring demand, when not supporting in snmp protocol, user just cannot pass through snmp protocol equipment information.For this reason, nagio has proposed the solution of expansion plugin, by writing self-defined plug-in unit, carrys out expanding monitoring function.But this self-defined inserter is shaped with two shortcomings: the one, user's knowledge level is had relatively high expectations, and need user to understand coding, comprise the program of carrying out shell script, return results analysis program etc.; The 2nd,, need to be by the self-defining plugin card installation of writing in the controlled network equipment, this cannot realize concerning the equipment of the non-general-purpose system platforms such as router, switch.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of network equipment method for supervising and system, improves extensibility and compatibility.
For solving the problems of the technologies described above, the present invention proposes a kind of network equipment method for supervising, comprising:
Step 1, according to the type of the network equipment, be that the network equipment creates device model file, in described device model file, indicate the agreement that this network equipment carries each monitoring project, described agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in described device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement also indicates command statement corresponding to this monitoring project and result and resolves grammer in described device model file;
Step 2, adds the monitored network equipment, and is that this monitored network equipment is selected monitoring project;
Step 3, reads the device model file of the described monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried;
Step 4, monitors the described monitored network equipment according to the monitoring project of selecting and the agreement of carrying thereof.
Further, above-mentioned network equipment method for supervising also can have following characteristics, and described monitoring project comprises acquisition state information, gathers fault message, acquisition configuration information and issue configuration information.
Further, above-mentioned network equipment method for supervising also can have following characteristics, and step 4 comprises:
The monitoring project of selecting is acquisition configuration information or acquisition state information, the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to this monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extract configuration information or state information, and store data storage center into;
The monitoring project of selecting is acquisition configuration information or acquisition state information, the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project and result and resolve grammer, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, and use described result to resolve grammer the character string of this monitored network equipment feedback is resolved, obtain configuration information or state information, and store data storage center into.
Further, above-mentioned network equipment method for supervising also can have following characteristics, and step 4 comprises:
The monitoring project of selecting, for gathering fault message, catches by creating snmp protocol trap information reception service the trap message producing when the monitored network equipment breaks down, and resolves this trap message, obtains fault message and stores data storage center into.
Further, above-mentioned network equipment method for supervising also can have following characteristics, and step 4 comprises:
The monitoring project of selecting is for issuing configuration information, the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch monitored network equipment response message and resolve, storing analysis result into data storage center;
The monitoring project of selecting is for issuing configuration information, the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.
For solving the problems of the technologies described above, the present invention proposes a kind of network equipment supervisory control system, comprise connected in turn creation module, interpolation and select module, read module and monitoring module, wherein:
Creation module, for according to the type of the network equipment being network equipment establishment device model file, in described device model file, indicate the agreement that this network equipment carries each monitoring project, described agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in described device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement, also indicates command statement corresponding to this monitoring project and result and resolves grammer in described device model file;
Adding and select module, for adding the monitored network equipment, and is that this monitored network equipment is selected monitoring project;
Read module, for reading the device model file of the described monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried;
Monitoring module, for according to described interpolation and select the agreement that the monitoring project of this selection that the monitoring project that module selects and the device model file reading from described read module obtain is carried to monitor the described monitored network equipment.
Further, above-mentioned network equipment supervisory control system also can have following characteristics, and described monitoring project comprises acquisition state information, gathers fault message, acquisition configuration information and issue configuration information.
Further, above-mentioned network equipment supervisory control system also can have following characteristics, and described monitoring module comprises:
The first monitoring unit, for the monitoring project selecting, be acquisition configuration information or acquisition state information, when the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to this monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extracting configuration information or state information, and store data storage center into;
The second monitoring unit, for the monitoring project selecting, be acquisition configuration information or acquisition state information, when the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project and result and resolve grammer, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, and use described result to resolve grammer the character string of this monitored network equipment feedback is resolved, obtain configuration information or state information, and store data storage center into.
Further, above-mentioned network equipment supervisory control system also can have following characteristics, and described monitoring module comprises:
The 3rd monitoring unit, for the monitoring project selecting, be while gathering fault message, by creating snmp protocol trap information reception service, catch the trap message producing when the monitored network equipment breaks down, resolve this trap message, obtain fault message and also store data storage center into.
Further, above-mentioned network equipment supervisory control system also can have following characteristics, and described monitoring module comprises:
The 4th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch the monitored network equipment and fly also parsing of response message, store analysis result into data storage center;
The 5th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.
Network equipment method for supervising of the present invention and system tool have the following advantages: 1) can automatically perform various script commands by Telnet Telnet and carry out expanding monitoring demand, thereby have high scalability; 2) script command of realizing for same monitoring demand ,Ruo different vendor is different, can realize by revising configuration template, thereby have highly compatible; 3) user only need write configuration template by grammer, just can manage target device, thereby have ease for use; 4) for same monitoring demand, if its snmp protocol and Telnet agreement all support, can be by writing configuration template, the good agreement of specified performance realizes, thereby has flexibility.
Accompanying drawing explanation
Fig. 1 is the flow chart of network equipment method for supervising in the embodiment of the present invention;
Fig. 2 is the acquisition process flow chart of configuration information and state information in the embodiment of the present invention;
Fig. 3 is the acquisition process flow chart of fault message in the embodiment of the present invention;
Fig. 4 be in the embodiment of the present invention configuration information issue process chart;
Fig. 5 is the structured flowchart of network equipment supervisory control system in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is the flow chart of network equipment method for supervising in the embodiment of the present invention.As shown in Figure 1, in the present embodiment, network equipment method for supervising can comprise the steps:
Step S101, according to the type of the network equipment, be that the network equipment creates device model file, in device model file, indicate the agreement that this network equipment carries each monitoring project, this agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement also indicates command statement corresponding to this monitoring project and result and resolves grammer in device model file;
The present invention can create device abstract model for the network equipment of different manufacturers.Device abstract model adopts device model file to describe.Device model file adopts XML(Extensible Markup Language, extend markup language) file.In device model file, record the device type of this equipment, the information such as agreement (SNMP or Telnet) that monitoring project name, monitoring project are carried.Telnet agreement in device model file, also needs to provide the agreement (SNMP/Telnet) that this model device is carried different monitoring project, if need provide the information such as CMD, control command character string, result parsing grammer, miscue symbol; If snmp protocol, need provide corresponding OID(Object Identifier, object identifier).Can apparatus for establishing abstract model storehouse, for preserving the device abstract model of each network equipment.
Wherein, monitoring project can comprise acquisition state information, gathers fault message, acquisition configuration information and issue configuration information etc.
Step S102, adds the monitored network equipment, and is that this monitored network equipment is selected monitoring project;
Can add the monitored network equipment by user WEB interface, and select to monitor which monitoring project.When adding, need provide ip address, the corresponding device type of the monitored network equipment, the parameters such as information of required collection.
Step S103, reads the device model file of the monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried;
Relevant information corresponding to agreement refer to the information such as said object identifier OID in step S101, command statement and result parsing grammer.
Step S104, monitors the monitored network equipment according to the monitoring project of selecting and the agreement of carrying thereof.
In other embodiments of the invention, after step S104, can also comprise the steps: the monitored results of display monitoring project.User WEB interface is responsible for building web server architecture, and graphical monitoring interface is provided.User can check by the interface of user WEB Interface realization the monitored results such as existing configuration information, state information and fault message of monitored device.
In the present invention, usage data storage center is carried out the data such as state information, configuration information of storing system information, monitored network equipment list, the monitored network equipment.
In other embodiments of the invention, step 4 can comprise: the monitoring project of selection is acquisition configuration information or acquisition state information, the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to this monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extracting configuration information or state information, and store data storage center into; The monitoring project of selecting is acquisition configuration information or acquisition state information, the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, character string to this monitored network equipment feedback is resolved, and obtains configuration information or state information, and stores data storage center into.In the present invention, the information collecting is resolved according to following rule: for snmp protocol, according to protocol specification, resolve; For the information character string obtaining by the long-range connection of Telnet, adopt the method for mode matching with relative coordinate to extract critical data.Particularly, the handling process of acquisition configuration information or acquisition state information can be as shown in Figure 2.
Fig. 2 is the acquisition process flow chart of configuration information and state information in the embodiment of the present invention.In embodiments of the present invention, referring to Fig. 2, the acquisition process flow process of configuration information and state information can comprise the steps:
Step S201, starts the information gathering of equipment j;
Step S202, i=0;
Step S203, chooses and needs Information Monitoring i;
In Fig. 2, information i may be only configuration information or state information.
Step S204, in device model file corresponding to this unit type, inquiry gathers the agreement of this informational needs;
Step S205, judges whether it is Telnet agreement, if perform step 210, otherwise performs step 206;
Step S206 obtains corresponding OID from model (being device model file);
Step S207, sends get request to controlled device;
Step S208, catches response message and resolves;
Step S209, extraction equipment information, performs step 217;
Here, facility information refers to configuration information or state information.
Step S210, reads corresponding command statement;
Step S211, whether judgement is connected and exists with the Telnet of this equipment, if perform step 213, otherwise performs step 212;
Step S212, creates Telnet with this equipment and is connected;
Step S213, utilizes and is connected with the Telnet of this equipment, automatically performs command statement;
Step S214, obtains feedback character string;
Step S215, whether judgement feedback character string is with the beginning of miscue symbol, if execution step S218, otherwise execution step S216;
Step S216, utilizes result to resolve syntax parsing feedback character string, equipment information;
Step S217, stores facility information into data storage center;
Step S218, i++, execution step S203.
In other embodiments of the invention, step 4 can also comprise: the monitoring project of selection is for gathering fault message, by creating snmp protocol trap information reception service, catch the trap message producing when the monitored network equipment breaks down, resolve this trap message, obtain fault message and store data storage center into.Particularly, the flow process of collection fault message can be as shown in Figure 3.
Fig. 3 is the acquisition process flow chart of fault message in the embodiment of the present invention.Referring to Fig. 3, the acquisition process flow process of fault message can comprise the steps:
Step S301, starts the collection of trap information;
Step S302, whether judgement is connected and exists with the Telnet of this equipment, if perform step 304, otherwise performs step 303;
Step S303, creates Telnet with this equipment and is connected;
Step S304, utilizes this to connect, and the trap server ip that equipment is set is native system ip;
Step S305, creates TRAP information and receives service;
Step S306, monitors this serve port;
Step S307, catches trap message;
Step S308, resolves trap message;
Step S309, stores fault message into data storage center.
In other embodiments of the invention, step 4 can also comprise: the monitoring project of selection is for issuing configuration information, the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch the monitored network equipment and fly also parsing of response message, store analysis result into data storage center; The monitoring project of selecting is for issuing configuration information, the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.Particularly, issuing the flow process of configuration information can be as shown in Figure 4.
Fig. 4 be in the embodiment of the present invention configuration information issue process chart.Referring to Fig. 4, the issuing handling process and can comprise the steps: of configuration information
Step S401, issues configuration information to equipment and starts;
Step S402, selects equipment, configuration item and configuration parameter at administration interface;
Step S403, in device model file corresponding to this unit type, inquiry issues the agreement that this configuration needs;
Step S404, judges whether it is Telnet agreement, if perform step 408, otherwise performs step 405;
Step S405 obtains corresponding OID from model;
Step S406, sends set request to controlled device;
Step S407, catches response message and resolves;
Step S408, reads corresponding command statement;
Step S409, whether judgement is connected and exists with the Telnet of this equipment, if perform step 411, otherwise performs step 410;
Step S410, creates Telnet with this equipment and is connected;
Step S411, utilizes and is connected with the Telnet of this equipment, automatically performs command statement;
Step S412, obtains feedback character string;
Step S413, judgement feedback character string, whether with the beginning of miscue symbol, if finish, otherwise performs step S414;
Step S414, by configuration distributing result store to data storage center.
As seen from Figure 4, in the present invention, when needs issue configuration to equipment, the equipment of configuration is selected to need to revise in user Xu interface, and the parameter that this configuration needs is revised in input.System, by reading the device model file of this model device, determines which kind of agreement this configuration needs to use afterwards.If snmp protocol is initiated configuring request based on snmp protocol to equipment; If Telnet agreement, automatically set up Telnet with equipment and be connected and carry out corresponding configuration statement.
Network equipment method for supervising tool of the present invention has the following advantages: 1) can automatically perform various script commands by Telnet Telnet and carry out expanding monitoring demand, thereby have high scalability; 2) script command of realizing for same monitoring demand ,Ruo different vendor is different, can realize by revising configuration template, thereby have highly compatible; 3) user only need write configuration template by grammer, just can manage target device, thereby have ease for use; 4) for same monitoring demand, if its snmp protocol and Telnet agreement all support, can be by writing configuration template, the good agreement of specified performance realizes, thereby has flexibility.To sum up, network equipment method for supervising favorable expandability of the present invention, compatibility is high, easy-to-use and flexibility is strong.
The invention allows for a kind of network equipment supervisory control system, in order to carry out above-mentioned network equipment method for supervising.
Fig. 5 is the structured flowchart of network equipment supervisory control system in the embodiment of the present invention.As shown in Figure 5, in the present embodiment, network equipment supervisory control system comprises connected in turn creation module 510, adds and selects module 520, read module 530 and monitoring module 540.Wherein, creation module 510 is for according to the type of the network equipment being network equipment establishment device model file, in device model file, indicate the agreement that this network equipment carries each monitoring project, this agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement also indicates command statement corresponding to this monitoring project and result and resolves grammer in device model file.Add and select module 520 for adding the monitored network equipment, and being that this monitored network equipment is selected monitoring project.Read module 530, for reading the device model file of the described monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried.Monitoring module 540 is for according to described interpolation and select the agreement that the monitoring project of this selection that the monitoring project that module 520 selects and the device model file reading from described read module 530 obtain is carried to monitor the described monitored network equipment.
Wherein, monitoring project can comprise acquisition state information, gathers fault message, acquisition configuration information and issue configuration information etc.
In embodiments of the present invention, monitoring module 540 can comprise the first monitoring unit and the second monitoring unit.The first monitoring unit is acquisition configuration information or acquisition state information for the monitoring project selecting, when the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extract configuration information or state information, and store data storage center into.The second monitoring unit, for the monitoring project selecting, be acquisition configuration information or acquisition state information, when the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, the character string of this monitored network equipment feedback is resolved, obtain configuration information or state information, and store data storage center into.
In embodiments of the present invention, monitoring module 540 can also comprise the 3rd monitoring unit.The 3rd monitoring unit, for the monitoring project selecting, be while gathering fault message, by creating snmp protocol trap information reception service, catch the trap message producing when the monitored network equipment breaks down, resolve this trap message, obtain fault message and also store data storage center into.
In embodiments of the present invention, monitoring module 540 can also comprise the 4th monitoring unit and the 5th monitoring unit.The 4th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch the monitored network equipment and fly also parsing of response message, store analysis result into data storage center.The 5th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.
Network equipment supervisory control system tool of the present invention has the following advantages: 1) can automatically perform various script commands by Telnet Telnet and carry out expanding monitoring demand, thereby have high scalability; 2) script command of realizing for same monitoring demand ,Ruo different vendor is different, can realize by revising configuration template, thereby have highly compatible; 3) user only need write configuration template by grammer, just can manage target device, thereby have ease for use; 4) for same monitoring demand, if its snmp protocol and Telnet agreement all support, can be by writing configuration template, the good agreement of specified performance realizes, thereby has flexibility.To sum up, the network equipment method for supervising favorable expandability that network equipment supervisory control system of the present invention is implemented, compatibility is high, easy-to-use and flexibility is strong.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a network equipment method for supervising, is characterized in that, comprising:
Step 1, according to the type of the network equipment, be that the network equipment creates device model file, in described device model file, indicate the agreement that this network equipment carries each monitoring project, described agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in described device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement also indicates command statement corresponding to this monitoring project and result and resolves grammer in described device model file;
Step 2, adds the monitored network equipment, and is that this monitored network equipment is selected monitoring project;
Step 3, reads the device model file of the described monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried;
Step 4, monitors the described monitored network equipment according to the monitoring project of selecting and the agreement of carrying thereof.
2. network equipment method for supervising according to claim 1, is characterized in that, described monitoring project comprises acquisition state information, gathers fault message, acquisition configuration information and issue configuration information.
3. network equipment method for supervising according to claim 2, is characterized in that, step 4 comprises:
The monitoring project of selecting is acquisition configuration information or acquisition state information, the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to this monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extract configuration information or state information, and store data storage center into;
The monitoring project of selecting is acquisition configuration information or acquisition state information, the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project and result and resolve grammer, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, and use described result to resolve grammer the character string of this monitored network equipment feedback is resolved, obtain configuration information or state information, and store data storage center into.
4. network equipment method for supervising according to claim 2, is characterized in that, step 4 comprises:
The monitoring project of selecting, for gathering fault message, catches by creating snmp protocol trap information reception service the trap message producing when the monitored network equipment breaks down, and resolves this trap message, obtains fault message and stores data storage center into.
5. network equipment method for supervising according to claim 2, is characterized in that, step 4 comprises:
The monitoring project of selecting is for issuing configuration information, the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch monitored network equipment response message and resolve, storing analysis result into data storage center;
The monitoring project of selecting is for issuing configuration information, the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.
6. a network equipment supervisory control system, is characterized in that, comprise connected in turn creation module, interpolation and select module, read module and monitoring module, wherein:
Creation module, for according to the type of the network equipment being network equipment establishment device model file, in described device model file, indicate the agreement that this network equipment carries each monitoring project, described agreement comprises snmp protocol and/or Telnet agreement, if snmp protocol, in described device model file, also indicate object identifier OID corresponding to this monitoring project, if Telnet agreement, also indicates command statement corresponding to this monitoring project and result and resolves grammer in described device model file;
Adding and select module, for adding the monitored network equipment, and is that this monitored network equipment is selected monitoring project;
Read module, for reading the device model file of the described monitored network equipment, is retrieved as agreement and relevant information corresponding to this agreement that the selected monitoring project of this monitored network equipment is carried;
Monitoring module, for according to described interpolation and select the agreement that the monitoring project of this selection that the monitoring project that module selects and the device model file reading from described read module obtain is carried to monitor the described monitored network equipment.
7. network equipment supervisory control system according to claim 6, is characterized in that, described monitoring project comprises acquisition state information, gathers fault message, acquisition configuration information and issue configuration information.
8. network equipment supervisory control system according to claim 7, is characterized in that, described monitoring module comprises:
The first monitoring unit, for the monitoring project selecting, be acquisition configuration information or acquisition state information, when the agreement of carrying is snmp protocol, from device model file, obtain object identifier OID corresponding to this monitoring project, to the monitored network equipment, send get request, catch the response message of this monitored network equipment and resolve, extracting configuration information or state information, and store data storage center into;
The second monitoring unit, for the monitoring project selecting, be acquisition configuration information or acquisition state information, when the agreement of carrying is Telnet agreement, from device model file, read command statement corresponding to this monitoring project and result and resolve grammer, utilize and be connected with the Telnet of this monitored network equipment, automatically perform described command statement, and use described result to resolve grammer the character string of this monitored network equipment feedback is resolved, obtain configuration information or state information, and store data storage center into.
9. network equipment supervisory control system according to claim 7, is characterized in that, described monitoring module comprises:
The 3rd monitoring unit, for the monitoring project selecting, be while gathering fault message, by creating snmp protocol trap information reception service, catch the trap message producing when the monitored network equipment breaks down, resolve this trap message, obtain fault message and also store data storage center into.
10. network equipment supervisory control system according to claim 7, is characterized in that, described monitoring module comprises:
The 4th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is snmp protocol, read corresponding OID, to the monitored network equipment, initiate configuring request, in configuring request, comprise the configuration that needs revise and the parameter of revising these configuration needs, catch the monitored network equipment and fly also parsing of response message, store analysis result into data storage center;
The 5th monitoring unit, be used in the monitoring project of selecting for issuing configuration information, when the agreement of carrying is Telnet agreement, obtain and issue configuration order corresponding to this monitoring project of configuration information, automatically setting up Telnet with the monitored network equipment is connected and carries out described configuration order, character string to monitored network equipment feedback is resolved, and stores the configuration order execution result parsing into data storage center.
CN201310503387.8A 2013-10-23 2013-10-23 Network device monitoring method and system Pending CN103516555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310503387.8A CN103516555A (en) 2013-10-23 2013-10-23 Network device monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310503387.8A CN103516555A (en) 2013-10-23 2013-10-23 Network device monitoring method and system

Publications (1)

Publication Number Publication Date
CN103516555A true CN103516555A (en) 2014-01-15

Family

ID=49898633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310503387.8A Pending CN103516555A (en) 2013-10-23 2013-10-23 Network device monitoring method and system

Country Status (1)

Country Link
CN (1) CN103516555A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986620A (en) * 2014-05-14 2014-08-13 上海上讯信息技术股份有限公司 Monitoring item management method and system based on XML mode
CN104539463A (en) * 2015-01-15 2015-04-22 北京随方信息技术有限公司 Network device configuration file online attribute cross checking method and system
CN104579836A (en) * 2015-01-06 2015-04-29 浪潮电子信息产业股份有限公司 Method for monitoring state of storage server through receiving and transmitting of trap data packet
CN106301926A (en) * 2016-08-19 2017-01-04 北京北信源软件股份有限公司 A kind of method shown based on WEB environment machine room lower various dimensions and monitor in real time
CN106547848A (en) * 2016-10-18 2017-03-29 广州酷狗计算机科技有限公司 Date storage method and device
CN106657409A (en) * 2017-02-27 2017-05-10 郑州云海信息技术有限公司 Method and device for acquiring information of monitoring item in cloud environment
CN107483272A (en) * 2017-09-21 2017-12-15 郑州云海信息技术有限公司 A kind of resource monitoring method and device
CN108880867A (en) * 2018-05-31 2018-11-23 腾讯科技(深圳)有限公司 A kind of network equipment collecting method and system
CN108932184A (en) * 2018-06-21 2018-12-04 新华三云计算技术有限公司 monitoring device and method
CN109495335A (en) * 2017-09-12 2019-03-19 阿里巴巴集团控股有限公司 Business monitoring method, device, system and electronic equipment
CN109525433A (en) * 2018-12-12 2019-03-26 国网辽宁省电力有限公司信息通信分公司 A kind of router bgp status information batch monitoring method
CN110362296A (en) * 2019-07-12 2019-10-22 无锡锐泰节能系统科学有限公司 Device data monitoring system based on javascript
CN111343033A (en) * 2020-05-22 2020-06-26 中国人民解放军国防科技大学 Network management system for multi-layer difference
CN112152824A (en) * 2019-06-26 2020-12-29 北京神州泰岳软件股份有限公司 Performance index data acquisition method and device
CN113726587A (en) * 2021-11-04 2021-11-30 海尔数字科技(青岛)有限公司 Network security management method and equipment
CN113726813A (en) * 2021-09-09 2021-11-30 海尔数字科技(青岛)有限公司 Network security configuration method, equipment and storage medium
CN114040149A (en) * 2021-09-26 2022-02-11 中国卫通集团股份有限公司 Service digital intelligent evolution equipment monitoring method
CN115623046A (en) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 Sensing equipment monitoring method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051962A (en) * 2007-05-22 2007-10-10 网御神州科技(北京)有限公司 Expandable dynamic network monitor system and its monitor method
US7313613B1 (en) * 2002-01-03 2007-12-25 Microsoft Corporation System and method facilitating network diagnostics and self-healing
CN101478445A (en) * 2008-10-09 2009-07-08 卞旭东 General monitoring model technique used for information system monitoring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7313613B1 (en) * 2002-01-03 2007-12-25 Microsoft Corporation System and method facilitating network diagnostics and self-healing
CN101051962A (en) * 2007-05-22 2007-10-10 网御神州科技(北京)有限公司 Expandable dynamic network monitor system and its monitor method
CN101478445A (en) * 2008-10-09 2009-07-08 卞旭东 General monitoring model technique used for information system monitoring

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁黎颖: "《中国优秀硕士学位论文全文数据库信息科技辑》", 31 July 2011, article "基于有限自动机的网络设备远程配置的研究与实现" *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986620A (en) * 2014-05-14 2014-08-13 上海上讯信息技术股份有限公司 Monitoring item management method and system based on XML mode
CN104579836A (en) * 2015-01-06 2015-04-29 浪潮电子信息产业股份有限公司 Method for monitoring state of storage server through receiving and transmitting of trap data packet
CN104539463B (en) * 2015-01-15 2019-09-20 北京随方信息技术有限公司 A kind of network equipments configuration file on-line attribute cross-check method and system
CN104539463A (en) * 2015-01-15 2015-04-22 北京随方信息技术有限公司 Network device configuration file online attribute cross checking method and system
CN106301926A (en) * 2016-08-19 2017-01-04 北京北信源软件股份有限公司 A kind of method shown based on WEB environment machine room lower various dimensions and monitor in real time
CN106547848A (en) * 2016-10-18 2017-03-29 广州酷狗计算机科技有限公司 Date storage method and device
CN106657409A (en) * 2017-02-27 2017-05-10 郑州云海信息技术有限公司 Method and device for acquiring information of monitoring item in cloud environment
CN109495335A (en) * 2017-09-12 2019-03-19 阿里巴巴集团控股有限公司 Business monitoring method, device, system and electronic equipment
CN107483272A (en) * 2017-09-21 2017-12-15 郑州云海信息技术有限公司 A kind of resource monitoring method and device
CN108880867A (en) * 2018-05-31 2018-11-23 腾讯科技(深圳)有限公司 A kind of network equipment collecting method and system
CN108932184A (en) * 2018-06-21 2018-12-04 新华三云计算技术有限公司 monitoring device and method
CN108932184B (en) * 2018-06-21 2022-05-17 新华三云计算技术有限公司 Monitoring device and method
CN109525433A (en) * 2018-12-12 2019-03-26 国网辽宁省电力有限公司信息通信分公司 A kind of router bgp status information batch monitoring method
CN112152824A (en) * 2019-06-26 2020-12-29 北京神州泰岳软件股份有限公司 Performance index data acquisition method and device
CN112152824B (en) * 2019-06-26 2023-07-11 北京神州泰岳软件股份有限公司 Performance index data acquisition method and device
CN110362296A (en) * 2019-07-12 2019-10-22 无锡锐泰节能系统科学有限公司 Device data monitoring system based on javascript
CN111343033B (en) * 2020-05-22 2020-08-11 中国人民解放军国防科技大学 Network management system for multi-layer difference
CN111343033A (en) * 2020-05-22 2020-06-26 中国人民解放军国防科技大学 Network management system for multi-layer difference
CN113726813A (en) * 2021-09-09 2021-11-30 海尔数字科技(青岛)有限公司 Network security configuration method, equipment and storage medium
CN113726813B (en) * 2021-09-09 2023-08-15 海尔数字科技(青岛)有限公司 Network security configuration method, device and storage medium
CN114040149A (en) * 2021-09-26 2022-02-11 中国卫通集团股份有限公司 Service digital intelligent evolution equipment monitoring method
CN113726587A (en) * 2021-11-04 2021-11-30 海尔数字科技(青岛)有限公司 Network security management method and equipment
CN113726587B (en) * 2021-11-04 2022-02-08 海尔数字科技(青岛)有限公司 Network security management method and equipment
CN115623046A (en) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 Sensing equipment monitoring method and system
CN115623046B (en) * 2022-12-19 2023-03-10 思创数码科技股份有限公司 Sensing equipment monitoring method and system

Similar Documents

Publication Publication Date Title
CN103516555A (en) Network device monitoring method and system
KR101458401B1 (en) Physical infrastructure management system
CN101282237B (en) Synthetic network management system based on SNMP
CN103108294B (en) Data transmission disposal method, gateway device and communication system
CN101997725A (en) System and device for bearing data over cable service interface specification (DOCSIS) service based on passive optical network (PON)
KR20080037668A (en) Method, system and terminal for maintaining capability management object and for managing capability
CN103138978B (en) Network management and system
CN104618147A (en) Longitudinally stacked system management method and system
CN102663162A (en) Method and device for constructing topology model of power grid
CN104883266A (en) Network configuration accessing method and device thereof
CN105245371A (en) Automatic deployment system and method based on ansable
CN101102226A (en) A general configuration method and device based on SNMP
CN105678359A (en) WoT based fixed asset management system and method
CN109347689A (en) A kind of apparatus monitoring method and system
CN100361121C (en) A universal object modeling method and universal object management system
CN102131205B (en) Network management method and system used for multimode system
CN104363122A (en) Pre-configuration method and system of network element
CN104333468A (en) Web NMS-based (Network Management System) topology discovery and management method in EPON (Ethernet Passive Optical Network)
CN102761443A (en) Collocation method and device of command lines
CN104468172A (en) Acquisition adapter management method and system
CN107800556B (en) Interface generation system, drilling service layer device and data transmission method
KR100995198B1 (en) Network management system capable of editing and managing objects graphically, and supporting various network appratuses
EP2907032A2 (en) Model-based configuration capture and replay in a converged infrastructure system to support remote troubleshooting
CN105071965A (en) Management system of network equipment
KR20160103110A (en) Network element data access method and apparatus, and network management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140115