CN103618624B - Method for automatically discovering equipment with SNMP alarm - Google Patents
Method for automatically discovering equipment with SNMP alarm Download PDFInfo
- Publication number
- CN103618624B CN103618624B CN201310619448.7A CN201310619448A CN103618624B CN 103618624 B CN103618624 B CN 103618624B CN 201310619448 A CN201310619448 A CN 201310619448A CN 103618624 B CN103618624 B CN 103618624B
- Authority
- CN
- China
- Prior art keywords
- network
- management object
- network equipment
- management system
- address
- 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.)
- Active
Links
Abstract
The invention discloses a method for automatically discovering equipment with an SNMP alarm. The method comprises the steps that A, a network management system receives the SNMP alarm which is used for automatically discovering the equipment and sent by network equipment, and alarm information carried by the SNMP alarm is obtained; B, whether a management object the same as the network equipment exits or not is searched for and judged in the network management system, the related information of an original management object is replaced according to the alarm information if the management object the same as the network equipment exits, and a new management object is created according to the alarm information otherwise. The network equipment can be automatically discovered and added through the network management system, the operation process is simplified, and meanwhile the network management system can timely and automatically update the IP address, the MAC address, the equipment type, the equipment name and other related attributes of the equipment, corresponding to the application management object, in the system.
Description
Technical field
The present invention relates to technical field of network management, it is specifically a kind of using Simple Network Management Protocol (SNMP,
Simple Network Management Protocol) alert the method for realizing automatic device discovery.
Background technology
Network management system needs to find the network equipment and to become a management during the network equipment to be added to the system of oneself right
As could effectively be managed to the network equipment.How to find that the network equipment is a critical function of network management system.
The function of traditional discovery network equipment is initiated by network management system, that is, take the mode of " webmaster looks for equipment ", or
Person's manual addition network equipment in network management system by user, on condition that require user know in advance the IP address of the network equipment or
MAC Address;Or scanned for by IP address or MAC Address section in network management system by user, this also requires that user is prior
Know the address field residing for equipment, and the method may search out the equipment that a large amount of network management systems are not intended to manage, user needs
Equipment to be managed is can determine that just after choosing is deleted.
The content of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of alarm using SNMP to realize that equipment is sent out automatically
Existing method, can make network management system find automatically and add the network equipment, streamline operation.
Another object of the present invention is to provide a kind of method that automatic device discovery is realized in utilization SNMP alarms, can set
After standby address changes, the attribute information of the corresponding management object in the network management system of renewal that can be timely automated.
To solve above-mentioned technical problem, the technical scheme is that what is be achieved in that:
A kind of method that automatic device discovery is realized in utilization SNMP alarms, which includes:
A, network management system receive Simple Network Management Protocol SNMP for automatic device discovery sent by the network equipment
Alarm, and obtain the warning information that the SNMP alarms are carried;
B, retrieve in network management system and judge whether and the network equipment identical manages object, if there is then
The relevant information of former management object is replaced according to warning information;New management object is created according to the warning information otherwise.
Preferably, the warning information at least including the IP address of the network equipment, MAC Address, device type with
And device name.
Preferably, retrieve in network management system in step B and judge whether and the network equipment phase
The method of same management object includes:
B1, network management system are retrieved in the management Object table of oneself according to the IP address of the network equipment, if there is with
The network equipment has the management object of identical IP address, then replace the MAC Address of former management object, set according to warning information
Standby type and device name;Otherwise execution step B2;
B2, network management system are retrieved in the management Object table of oneself according to the MAC Address of the network equipment, if there is with this
The network equipment has the management object of identical MAC Address, then IP address, the equipment of former management object are replaced according to warning information
Type and device name;Otherwise execution step B3;
B3, create a new management object, and according to warning information arrange the IP address of the management object, MAC Address,
Device type and device name.
Preferably, in network management system retrieve and judged whether identical with the network equipment in step B
Management object method include:
B1, network management system are retrieved in the management Object table of oneself according to the MAC Address of the network equipment, if there is with this
The network equipment has the management object of identical MAC Address, then IP address, the equipment of former management object are replaced according to warning information
Type and device name;Otherwise execution step B2;
B2, network management system are inquired about in the management Object table of oneself according to the IP address of the network equipment, if there is with this
The network equipment has the management object of identical IP address, then MAC Address, the equipment of former management object are replaced according to warning information
Type and device name;Otherwise execution step B3;
B3, create a new management object, and according to warning information arrange the IP address of the management object, MAC Address,
Device type and device name.
Preferably, step should also be included before step A:
A0, the IP address for determining network management system, and set the reception that the network management system is alerted as the SNMP of the network equipment
Object, and guarantee that network management system can have correctly received the SNMP alarms that the network equipment sends.
Preferably, the SNMP alarms are sent to the webmaster by the network equipment by the way of timing cycle sends
System.
Preferably, the time interval for sending SNMP alarms is 5 minutes..
The technique effect that the present invention reaches is as follows:
1st, for the technology of traditional " network management system looks for equipment ", the present invention takes the side of " equipment informs webmaster "
Realizing the automatic discovery of the network equipment, the wherein network equipment " can notice " presence of oneself to formula to network management system.
2nd, NMS user is not required to the IP or MAC Address for knowing the network equipment in advance, is also not required to manual operation and adds in systems
Plus the network equipment, operating process is simplified, work efficiency is improve.
3rd, due to SNMP alert as network management standard alarm treatment mechanism be the overwhelming majority network management systems and
The network equipment is supported that selection SNMP alarms are had little to no effect to legacy network as the carrier of " notice ", therefore at this
The mode of SNMP alarms is employed in bright, it is simple and convenient, it is easy to operate.
4th, NMS user only need to receive object for its SNMP alarm for device configuration network management system in deploying network devices,
Network management system discovering device can be added in the management system of oneself automatically, and the degree of Automated condtrol and management is carried
It is high.
If the 5, device address changes, network management system timely can find to change and modify automatically, it is ensured that phase
Pass information upgrades in time.
Description of the drawings
Fig. 1 is the logic chart that the present invention realizes automatic device discovery using SNMP alarms;
Fig. 2 is the logical flow chart that network management system processes that the SNMP for automatic device discovery is alerted in the present invention;
Fig. 3 is another automatic logical flow chart for finding the network equipment of the present invention.
Specific embodiment
Simple Network Management Protocol (SNMP, Simple Network Management Protocol) is based on TCP/
The standard agreement of the Internet management of IP.Using SNMP, the management data on remote equipment can be collected and configure long-range
Equipment, realizes that the synthesis to remote equipment is managed collectively.As its realization is simple, way to manage succinctly efficiently, has been obtained at present
The support and extremely wide application of numerous network device manufacturers are arrived.
As SNMP alarms have been most network management systems and have set as the standard alarm treatment mechanism of network management
It is standby to be supported, select SNMP alarms to have little to no effect to legacy network as the carrier of " notice ".Employ in the present invention
SNMP alerts this mode, and the network equipment can be made only the relevant information of oneself to be sent to network management system, streamline operation.
As shown in figure 1, the network management system of the present invention receive and process that multiple network equipments are sent for finding each
The network equipment SNMP alarm, find and add each network equipment.Wherein, multiple network equipments can send SNMP announcements respectively
It is alert, and do not affect each other.In the present embodiment, 3 network equipments are set altogether, but be not limited thereto.
As shown in Fig. 2 using SNMP alarms, the present invention realizes that the method for automatic device discovery includes:
Step 101:Network guard system receives the SNMP alarms for automatic device discovery that the network equipment sends.
Wherein, it then follows the definition rule of SNMP alarms, SNMP alarms include specific object identifier(OID,
Object Identifier), and warning information, the warning information should at least include the IP address of the network equipment, MAC Address,
Device type and device name, other information according to circumstances can be added.
Before this, it is thus necessary to determine that the IP address of network management system, and the network management system is set as the SNMP of the network equipment
Alarm receives object, it is ensured that the network equipment can correctly send SNMP alarms and the network management system can be correctly received the net
The alarm that network equipment sends.
Arrange the SNMP alarms for being used for automatic device discovery of having any different to send out because of equipment fault with other in network management system
The processing method of the common alarm for going out, after the SNMP alarms that network management system receives that the network equipment sends, as the network
Equipment is processed to " there is notice " of network management system, carries out warning analysis to the SNMP alarms.
Step 102, acquisition send IP address, MAC Address, device type and device name of the network equipment of alarm etc.
Information.
Network management system is according to the warning information retrieval and inquisition for obtaining and judges whether and the network equipment identical pipe
Reason object, if there is the relevant information that former management object is then replaced according to warning information;Otherwise, created according to the warning information
New management object.
Wherein retrieve and judge whether the method bag of object is managed with the network equipment identical in network management system
Include:
Step 103:Network management system is according to the IP address of the network equipment for sending SNMP alarms in the management Object table of oneself
Middle retrieval and inquisition.
Step 104:Judge whether the management object that there is identical IP address in network management system, if there is then basis
Warning information replaces MAC Address, device type and the device name of former management object;Otherwise execution step 105.
Step 105:Network management system is according to the MAC Address of the network equipment for sending SNMP alarms in the management Object table of oneself
Middle retrieval and inquisition.
Step 106:Judge whether the management object that there is identical MAC Address in network management system, if there is then root
IP address, device type and the device name of former management object are replaced according to warning information;Otherwise execution step 107.
Step 107:Create a new management object in network management system, the IP address of the management object, MAC Address,
The warning information that device type and device name are obtained using the warning analysis.
Step 108:Automatically hair style and addition equipment are completed.
As shown in figure 3, retrieving in network management system and judging whether and the network equipment identical management object
Retrieval and inquisition can also carried out according to IP address then first according to the MAC Address retrieval obtained in warning information in method.I.e.
Including:
Step 103`:Network management system is according to the MAC Address of the network equipment for sending SNMP alarms in the management object of oneself
Retrieval and inquisition in table.
Step 104`:Judge whether the management object that there is identical MAC Address in network management system, if there is then root
IP address, device type and the device name of former management object are replaced according to warning information;Otherwise execution step 105`.
Step 105`:Network management system is according to the IP address of the network equipment for sending SNMP alarms in the management Object table of oneself
Middle retrieval and inquisition.
Step 106`:Judge whether the management object that there is identical IP address in network management system, if there is then root
MAC Address, device type and the device name of former management object are replaced according to warning information;Otherwise execution step 107.
Step 107:Create a new management object in network management system, the IP address of the management object, MAC Address,
The warning information that device type and device name are obtained using the warning analysis.
During network management system finds automatically and adds the network equipment, it is automatic as equipment that the network equipment sends
It was found that the switch of SNMP alarms be typically defaulted as open mode, but send switch and can be configured as needed.
The SNMP alarms for being used for automatic device discovery are sent to this by the network equipment by the way of timing cycle sends
In network management system.The general time interval for set as 5 minutes, so both can with timely automated discovery and add manage object or
Person's more attribute information of new management object is simultaneously preserved, and can avoid again excessively frequently processing this alarm and affecting network management system
Operation.But it is not limited thereto, freely can sets interval according to actual needs.
The present invention realizes the advantage of the method for automatic device discovery using SNMP alarms:
1st, for " webmaster looks for equipment " or the manually prior art of the addition network equipment, the IP of network management system
Address is more fixed and quantity is few, and the addition of the network equipment only need to be automatically performed by once being configured in deployment facility,
Operating process is simplified, work efficiency is improve.
2nd, NMS user only need to receive object for its SNMP alarm for device configuration network management system in deploying network devices,
Network management system discovering device can be added in the management system of oneself automatically, and the degree of Automated condtrol and management is carried
It is high.
If the 3, device address changes, network management system timely can find to change and modify automatically, it is ensured that phase
Pass information upgrades in time.
The above, only presently preferred embodiments of the present invention is not intended to limit protection scope of the present invention.
Claims (5)
1. a kind of method that automatic device discovery is realized in utilization SNMP alarms, it is characterised in which includes
A, network management system are received and are alerted by Simple Network Management Protocol SNMP for automatic device discovery that the network equipment sends,
And obtain the warning information that the SNMP alarms are carried;
B, retrieve in network management system and judge whether and the network equipment identical manages object, if there is then basis
Warning information replaces the relevant information of former management object;New management object is created according to the warning information otherwise;
IP address of the warning information at least including the network equipment, MAC Address, device type and device name;
Also include step before step A:
A0, the IP address for determining network management system, and the reception object that the network management system is alerted as the SNMP of the network equipment is set,
And guarantee that network management system can have correctly received the SNMP alarms that the network equipment sends.
2. the method that automatic device discovery is realized in utilization SNMP alarms according to claim 1, it is characterised in that the step
Retrieve and judge whether to include with the method for the network equipment identical management object in rapid B in network management system:
B1, network management system are retrieved in the management Object table of oneself according to the IP address of the network equipment, if there is with the net
Network equipment has the management object of identical IP address, then MAC Address, the equipment class of former management object are replaced according to warning information
Type and device name;Otherwise execution step B2;
B2, network management system are retrieved in the management Object table of oneself according to the MAC Address of the network equipment, if there is with the network
Equipment has the management object of identical MAC Address, then IP address, the device type of former management object are replaced according to warning information
And device name;Otherwise execution step B3;
B3, a new management object is created, and the IP address of the management object, MAC Address, equipment are arranged according to warning information
Type and device name.
3. the method that automatic device discovery is realized in utilization SNMP alarms according to claim 1, it is characterised in that step B
In retrieve in network management system and judge whether to include with the method for network equipment identical management object:
B1, network management system are retrieved in the management Object table of oneself according to the MAC Address of the network equipment, if there is with the network
Equipment has the management object of identical MAC Address, then IP address, the device type of former management object are replaced according to warning information
And device name;Otherwise execution step B2;
B2, network management system are inquired about in the management Object table of oneself according to the IP address of the network equipment, if there is with the network
Equipment has the management object of identical IP address, then MAC Address, the device type of former management object are replaced according to warning information
And device name;Otherwise execution step B3;
B3, a new management object is created, and the IP address of the management object, MAC Address, equipment are arranged according to warning information
Type and device name.
4. the method that automatic device discovery is realized in utilization SNMP alarms according to claim 1, it is characterised in that described
SNMP alarms are sent to the network management system by the network equipment by the way of timing cycle sends.
5. the method that automatic device discovery is realized in utilization SNMP alarms according to claim 4, it is characterised in that send
The time interval of SNMP alarms is 5 minutes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310619448.7A CN103618624B (en) | 2013-11-29 | 2013-11-29 | Method for automatically discovering equipment with SNMP alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310619448.7A CN103618624B (en) | 2013-11-29 | 2013-11-29 | Method for automatically discovering equipment with SNMP alarm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103618624A CN103618624A (en) | 2014-03-05 |
CN103618624B true CN103618624B (en) | 2017-04-12 |
Family
ID=50169328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310619448.7A Active CN103618624B (en) | 2013-11-29 | 2013-11-29 | Method for automatically discovering equipment with SNMP alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103618624B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986598A (en) * | 2014-05-09 | 2014-08-13 | 湖南蚁坊软件有限公司 | Manual-maintenance-free processing method during device IP modification |
CN113395179B (en) * | 2021-06-11 | 2022-04-19 | 中国科学技术大学 | Method for improving readability of BGP peer jitter alarm information in IP network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043357A (en) * | 2006-05-19 | 2007-09-26 | 华为技术有限公司 | Automatic discovery method for equipment |
CN101217403A (en) * | 2008-01-16 | 2008-07-09 | 中兴通讯股份有限公司 | A realization method of alarming based on SNMP |
CN101621455A (en) * | 2008-07-02 | 2010-01-06 | 华为技术有限公司 | Method for managing network equipment, network management station and network management equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7515546B2 (en) * | 2001-12-19 | 2009-04-07 | Alcatel-Lucent Canada Inc. | Method and apparatus for automatic discovery of network devices with data forwarding capabilities |
-
2013
- 2013-11-29 CN CN201310619448.7A patent/CN103618624B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043357A (en) * | 2006-05-19 | 2007-09-26 | 华为技术有限公司 | Automatic discovery method for equipment |
CN101217403A (en) * | 2008-01-16 | 2008-07-09 | 中兴通讯股份有限公司 | A realization method of alarming based on SNMP |
CN101621455A (en) * | 2008-07-02 | 2010-01-06 | 华为技术有限公司 | Method for managing network equipment, network management station and network management equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103618624A (en) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10733245B2 (en) | Methods and apparatus to track changes to a network topology | |
CN101631053B (en) | EAPS ring-network topology monitoring method and system | |
US10587475B2 (en) | Network discovery optimization using supplemental information published by devices | |
CN108259215B (en) | Equipment management method and device | |
JP5287402B2 (en) | Network monitoring and control device | |
CN108055144A (en) | The monitoring method and system of a kind of network equipment | |
US11509552B2 (en) | Application aware device monitoring correlation and visualization | |
WO2014056344A1 (en) | Method and device for monitoring | |
CN108900421A (en) | A kind of Topological Structure Generation of distributed memory system, apparatus and system | |
US11463327B2 (en) | Commerce characteristic data reporting method and device, network slice arrangement method and device | |
CN109672562B (en) | Data processing method and device, electronic equipment and storage medium | |
WO2018045901A1 (en) | Interface generation system, drilling service layer device, data transmission method | |
WO2014056345A1 (en) | Management method and apparatus for monitoring task | |
EP3051750B1 (en) | Collection adaptor management method and system | |
CN110430265A (en) | A kind of method and device obtaining server and inter-exchange corresponding relationship | |
CN103973484A (en) | Operation and maintenance management system based on network topological structure | |
CN103618624B (en) | Method for automatically discovering equipment with SNMP alarm | |
US11032124B1 (en) | Application aware device monitoring | |
CN104219100A (en) | Information acquiring method and device | |
CN109547257B (en) | Network flow control method, device, equipment, system and storage medium | |
CN117751567A (en) | Dynamic process distribution for utility communication networks | |
CN109710676A (en) | Data capture method, device and the electronic equipment of CMDB model | |
CN101635732B (en) | Network management system integrated with IP network and cluster network as well as method thereof | |
CN108933707B (en) | Safety monitoring system and method for industrial network | |
CN110995483A (en) | Network topology discovery method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190125 Address after: 430074 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province Patentee after: Fenghuo Communication Science &. Technology Co., Ltd. Address before: 430074 3rd Floor of Optical Communication Building No. 5 Dongxin Road, Wuhan City, Hubei Province Patentee before: Wuhan Fenghuo Network Co., Ltd. |