CN102801569A - Data driven Agent end Trap alarming method - Google Patents

Data driven Agent end Trap alarming method Download PDF

Info

Publication number
CN102801569A
CN102801569A CN2012103348135A CN201210334813A CN102801569A CN 102801569 A CN102801569 A CN 102801569A CN 2012103348135 A CN2012103348135 A CN 2012103348135A CN 201210334813 A CN201210334813 A CN 201210334813A CN 102801569 A CN102801569 A CN 102801569A
Authority
CN
China
Prior art keywords
trap
index
alarm
node variable
agent
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.)
Granted
Application number
CN2012103348135A
Other languages
Chinese (zh)
Other versions
CN102801569B (en
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210334813.5A priority Critical patent/CN102801569B/en
Publication of CN102801569A publication Critical patent/CN102801569A/en
Application granted granted Critical
Publication of CN102801569B publication Critical patent/CN102801569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data driven Agent end Trap alarming method and belongs to a Trap alarming method in a simple network management protocol (SNMP). The alarming method comprises the following steps of: step 1, binding MIB (management information base) node variable information and a configuration information group which contains an alarm ID (identity) in an SNMP agent module; step 2, enabling a Trap submodule to receive alarm information from an alarm detection module, wherein the alarm information comprises the alarm ID and indexing information of the bound MIB node variable information; step 3, utilizing the Trap submodule to search the Trap submodule for the configuration information group corresponding to the alarm ID through the alarm ID; step 4, utilizing the Trap submodule to find out the bound MIB node variable digit group through the configuration information group and the data information corresponding to an MIB node; and step 5, utilizing the seeking data information to construct a Trap data packet and sending the Trap data packet to a server by the Trap submodule. The alarming method provided by the invention solves the problem that the Trap information is indeterminate, and the Trap function is managed in an MIB manner as required.

Description

A kind of Agent end Trap alarm method of data-driven
Technical field
The present invention relates to the Trap alarm method in a kind of Simple Network Management Protocol, relate in particular to a kind of Agent end Trap alarm method of data-driven.
Background technology
The management of SNMP depends on mutual between management station and the agency (Agent), and when monitored when bringing out existing particular event, like system performance problems, perhaps equipment interface is unusual etc., and agent side sends a warning message to network management workstation through the mode of Trap alarm.Through alarm event, management station can the good method of application definition handle alarm.
Network design often needs to change, and client's demand also may change at any time, therefore, requires in the process of tissue T rap information, is open, and is adaptable.In some environment of reality; Agent side remove the management it be positioned at outside the host network management equipment wherein, also can manage on behalf of another other the network equipment that is attached thereto, in the PON connecting system; The agency is arranged in OLT; Can not be directly and network management workstation when mutual as the ONU that manages on behalf of another, the agency who is arranged in OLT understands proxy management ONU equipment, and can cause the uncertainty of Trap warning information in the case.
Summary of the invention
To the problems referred to above that existing SNMP Trap warning information exists, a kind of Agent end Trap alarm method of data-driven is provided at present, concrete technical scheme is following:
A kind of Agent end Trap alarm method of data-driven comprises agent side equipment that has SNMP Agent module and the server that has snmp protocol, and snmp protocol comprises the trap submodule, wherein, specifically comprises the steps:
Step 1, in SNMP agent module with management information base (hereinafter to be referred as MIB) node variable information sets with comprise the configuration information group binding of Alarm ID, MIB node variable array comprises the network equipment mib information that said managed devices is managed on behalf of another;
Step 2, Trap submodule receive the warning information from the alarm detection module, comprise Alarm ID and the index information of binding MIB node variable array in the warning information;
Step 3, Trap submodule are searched configuration information group corresponding with Alarm ID in the Trap submodule through Alarm ID;
Step 4, Trap submodule find the MIB node variable array of binding through the configuration information group, and combine index information, find the corresponding data message of MIB node variable array;
Step 5, Trap submodule are assembled the data format of the data message that finds according to Trap packet in the snmp protocol packet, and are sent to server.
The Agent of above-mentioned data-driven end Trap alarm method, wherein, said step 1 in SNMP agent module static with MIB node variable array with comprise the configuration information group binding of warning ID.
The Agent end Trap alarm method of above-mentioned data-driven, wherein, said step 1 is for controlling MIB node variable array through MIB in SNMP agent module and comprising the configuration information group binding of warning ID.
The Agent end Trap alarm method of above-mentioned data-driven, wherein, said index information comprises index item, subindex item and alarm-sessionID; Said index item is used to indicate the index of agent side equipment, and said subindex item is used to indicate the index of the equipment of managing on behalf of another of agent side equipment, and said alarm-sessionID is used to expand index.
The Agent end Trap alarm method of above-mentioned data-driven wherein, also comprises in the said step 4,
Step 4.1, index item, subindex item and alarm-sessionID are combined into the index variables array;
Step 4.2, confirm the index number of needs according to the index variables array;
Whether step 4.3, detection exist the MIB node variable array of binding, if exist, get into step 4.4, if do not exist, index finishes;
Step 4.4, obtain index value, reach the index number that needs up to the index number according to the pairing index variables type of index variables array;
Whether step 4.5, detection exist next MIB node variable array of binding, if exist, get into step 4.4, if do not exist, and the index end;
Step 4.6, obtain the corresponding data message of MIB node variable array according to MIB node variable array of binding and the index value that obtains.
The beneficial effect of technique scheme is:
Mode through the tabulation of Trap alarm binding variable; Solved the uncertain problem of Trap information; And can carry out the management (as adding, delete and revising) of MIBization as required to this function of Trap; Both kept the simple efficient of SNMP Trap mechanism, supported to have very high opening and adaptability again by new Trap.
Description of drawings
Fig. 1 is the Data Control operational flow diagram of the Agent end Trap alarm method specific embodiment of a kind of data-driven of the present invention;
Fig. 2 is the module relation diagram of the Agent end Trap alarm method specific embodiment of a kind of data-driven of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is described further, but not as qualification of the present invention.
In conjunction with illustrated in figures 1 and 2; Data Control operational flow diagram and the module relation diagram of the embodiment of the Agent end Trap alarm method of a kind of data-driven of the present invention; Wherein, Comprise agent side equipment that has SNMP Agent module and the server that has snmp protocol, snmp protocol comprises the trap submodule, specifically includes following steps: at first; In SNMP agent module, can control MIB node variable array and the configuration information group binding that comprises Alarm ID through static binding or MIB, MIB node variable array comprises the network equipment mib information that managed devices is managed on behalf of another.When network occurs when unusual; The Trap submodule can receive the warning information from the alarm detection module; Comprise Alarm ID and the index information of binding MIB node variable array in this warning information, index information comprises index item, subindex item and alarm-sessionID; The index item is used to indicate the index of agent side equipment, and the subindex item is used to indicate the index of the equipment of managing on behalf of another of agent side equipment, and alarm-sessionID can be used for particular content expansion index, like interface message etc.Pass through Alarm ID; The Trap submodule can find and the pairing configuration information group of Alarm ID; And, can determine the index number that needs according to the index variables array that the data item of the index item in the index information, subindex item and alarm-sessionID is formed.In concrete retrieval, the trap submodule at first can detect the MIB node variable array that whether has binding, if do not exist; Index finishes; If exist, the types of variables of then confirming according to the index variables array is obtained index value, reaches the index number that needs up to the index number.The Trap submodule can detect and whether have next MIB node variable array of binding afterwards, if exist, returns detection, if do not exist, index finishes, and obtains the pairing data message of MIB node according to index value that obtains and MIB node variable array.
The Trap submodule is assembled the data format of the data message that finds according to Trap packet in the snmp protocol packet, and is sent to server; Server carries out decapsulation, read data information according to snmp protocol to packet.
When Trap runs into change request (as the variation of managing on behalf of another equipment), only need change (add, delete and revise) configuration to get final product.For example when the MIB node variable dope vector of binding is not enough to describe this alert situation, can alarms this and bind the MIB node variable dope vector that more is enough to explain this alarm event situation in pairing Trap item.And if need to increase new alarm Trap information, the mode that then can take to increase new alarm configuration information realizes.Technical scheme of the present invention can be carried out the management of MIBization to this function of Trap very easily, therefore can not do rigid program coding with concrete alarm, conveniently is transplanted in other equipment that need the Trap function, has very high applicability and autgmentability.
The present invention can be used for OLT equipment, and has among the ONU or other network equipments of webmaster Agent function.
The above is merely preferred embodiment of the present invention; Be not so limit execution mode of the present invention and protection range; To those skilled in the art; That should recognize that all utilizations specification of the present invention and diagramatic content done is equal to replacement and the resulting scheme of conspicuous variation, all should be included in protection scope of the present invention.

Claims (5)

1. the Agent of data-driven end Trap alarm method comprises the agent side equipment of SNMP Agent module and the server that has snmp protocol, and snmp protocol comprises the trap submodule, it is characterized in that, specifically comprises the steps:
Step 1, in SNMP agent module with MIB node variable array with comprise the configuration information group binding of Alarm ID;
Step 2, Trap submodule receive the warning information from the alarm detection module, comprise Alarm ID and the index information of binding MIB node variable array in the warning information;
Step 3, Trap submodule are searched configuration information group corresponding with Alarm ID in the Trap submodule through Alarm ID;
Step 4, Trap submodule find the MIB node variable array of binding through the configuration information group, and combine index information, find the corresponding data message of MIB node variable array;
Step 5, Trap submodule are assembled the data format of the data message that finds according to Trap packet in the snmp protocol packet, and are sent to the SNMP server.
2. the Agent of data-driven as claimed in claim 1 end Trap alarm method is characterized in that, said step 1 in SNMP agent module static with MIB node variable array with comprise the configuration information group binding of warning ID.
3. the Agent of data-driven as claimed in claim 1 end Trap alarm method is characterized in that, said step 1 is for controlling MIB node variable array through MIB in SNMP agent module and comprising the configuration information group binding of warning ID.
4. the Agent of data-driven as claimed in claim 1 end Trap alarm method is characterized in that said index information comprises index item, subindex item and alarm-sessionID; Said index item is used to indicate the index of agent side equipment, and said subindex item is used to indicate the index of the equipment of managing on behalf of another of agent side equipment, and said alarm-sessionID is used to expand index.
5. the Agent of data-driven as claimed in claim 1 end Trap alarm method is characterized in that, also comprise in the said step 4,
Step 4.1, index item, subindex item and alarm-sessionID are combined into the index variables array;
Step 4.2, confirm the index number of needs according to the index variables array;
Whether step 4.3, detection exist the MIB node variable array of binding, if exist, get into step 4.4, if do not exist, index finishes;
Step 4.4, obtain index value, reach the index number that needs up to the index number according to the pairing index variables type of index variables array;
Whether step 4.5, detection exist next MIB node variable array of binding, if exist, get into step 4.4, if do not exist, and the index end;
Step 4.6, obtain the corresponding data message of MIB node variable array according to MIB node variable array of binding and the index value that obtains.
CN201210334813.5A 2012-09-12 2012-09-12 Data driven Agent end Trap alarming method Active CN102801569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210334813.5A CN102801569B (en) 2012-09-12 2012-09-12 Data driven Agent end Trap alarming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210334813.5A CN102801569B (en) 2012-09-12 2012-09-12 Data driven Agent end Trap alarming method

Publications (2)

Publication Number Publication Date
CN102801569A true CN102801569A (en) 2012-11-28
CN102801569B CN102801569B (en) 2015-04-22

Family

ID=47200542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210334813.5A Active CN102801569B (en) 2012-09-12 2012-09-12 Data driven Agent end Trap alarming method

Country Status (1)

Country Link
CN (1) CN102801569B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414596A (en) * 2013-08-28 2013-11-27 上海斐讯数据通信技术有限公司 Method for recognizing and processing all manufacturer Traps based on simple network management protocol
CN103997420A (en) * 2014-04-22 2014-08-20 上海斐讯数据通信技术有限公司 Trap information processing method and device
CN104519017A (en) * 2013-09-29 2015-04-15 上海斐讯数据通信技术有限公司 Simulation SNMP (Simple Network Management Protocol) agent end system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445671A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Monitoring method for remote alarming information in real time and with accuracy position
KR20050080839A (en) * 2004-02-11 2005-08-18 주식회사 대우일렉트로닉스 The remote warning system by using simple network management protocol trap
CN101616022A (en) * 2008-06-26 2009-12-30 艾默生网络能源系统北美公司 A kind of intelligent device management method and system based on snmp protocol
CN102075351A (en) * 2010-12-22 2011-05-25 瑞斯康达科技发展股份有限公司 Network management remote control method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445671A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Monitoring method for remote alarming information in real time and with accuracy position
KR20050080839A (en) * 2004-02-11 2005-08-18 주식회사 대우일렉트로닉스 The remote warning system by using simple network management protocol trap
CN101616022A (en) * 2008-06-26 2009-12-30 艾默生网络能源系统北美公司 A kind of intelligent device management method and system based on snmp protocol
CN102075351A (en) * 2010-12-22 2011-05-25 瑞斯康达科技发展股份有限公司 Network management remote control method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414596A (en) * 2013-08-28 2013-11-27 上海斐讯数据通信技术有限公司 Method for recognizing and processing all manufacturer Traps based on simple network management protocol
CN103414596B (en) * 2013-08-28 2017-07-14 上海斐讯数据通信技术有限公司 The method that all manufacturer Trap and processing are recognized based on simple management procotol
CN104519017A (en) * 2013-09-29 2015-04-15 上海斐讯数据通信技术有限公司 Simulation SNMP (Simple Network Management Protocol) agent end system
CN103997420A (en) * 2014-04-22 2014-08-20 上海斐讯数据通信技术有限公司 Trap information processing method and device
CN103997420B (en) * 2014-04-22 2018-05-01 上海斐讯数据通信技术有限公司 The processing method and processing unit of Trap information

Also Published As

Publication number Publication date
CN102801569B (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN101083557B (en) SNMP based IP network cluster managerial approach
KR20170053175A (en) Device application software management service method, device, and system for internet of things
CN102196373A (en) Short message alarm system and short message alarm method
CN102404326B (en) Method, system and device for validating safety of messages
JP7081658B2 (en) Information processing equipment, data management system, data management method and data management program
CN102136924A (en) Alarming information filtering and delivery processing method and server
CN103595569A (en) Method for handling database storage of alarm information of network management system
CN105052076A (en) Interface management service entity, functional service entity and network element management method
CN102801569B (en) Data driven Agent end Trap alarming method
CN101494561A (en) Network management method and system based on simple network management protocol
US8266277B2 (en) Method and system for resource management in a computing environment
CN102131205A (en) Network management method and system used for multimode system
CN100401684C (en) Method for implementing network management layer to information managing by element management layer
CN102457395B (en) Method and equipment for managing terminal in equipment management system
Cao et al. ITIL Incident management process reengineering in industry 4.0 environments
CN103036715B (en) Device management method, device and corresponding network management system
CN101409632B (en) Transmission method, system and apparatus for remote procedure call command
CN105139599A (en) Community alarm method and system
CN112822209A (en) Industrial network system for unidirectional data transmission
KR102398134B1 (en) Device troubleshooting service method, device, and system for internet of things
CN108574592B (en) Resource management method and device based on telecommunication cloud
CN100479577C (en) Method for operating resource in device management
CN105337781A (en) Network management system and method and network system
Geetanjali et al. IoTexpert: Interconnection, interoperability and integration of IoT platforms
US8775615B2 (en) SNMP-based management of service oriented architecture environments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20150422

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20150422

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20150422