CN102394773A - Trap message submission method and equipment - Google Patents
Trap message submission method and equipment Download PDFInfo
- Publication number
- CN102394773A CN102394773A CN2011103390161A CN201110339016A CN102394773A CN 102394773 A CN102394773 A CN 102394773A CN 2011103390161 A CN2011103390161 A CN 2011103390161A CN 201110339016 A CN201110339016 A CN 201110339016A CN 102394773 A CN102394773 A CN 102394773A
- Authority
- CN
- China
- Prior art keywords
- snmp
- trap
- message
- server
- trap message
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses Trap message submission method and equipment, which can be applied to a system including an SNMP (Simple Network Management Protocol) server and an SNMP agency, and a special MIB (Management Information Base) node is arranged in the SNMP agency. The method comprises the following steps: the SNMP agency sends a Trap message to the SNMP server, and sets the special MIB node according to a Trap mark carried in a Set message and an SNMP server mark of a sender after receiving the Set message returned by the SNMP server; and the SNMP agency judges whether the sent Trap message is received by the corresponding target SNMP server or not according to the Trap mark of the sent Trap message and the target SNMP server mark, as well as the Trap mark and the SNMP server mark, which are set in the special MIB node, and conducts corresponding treatment according to the judgment result. By adopting the invention, the submission reliability of the Trap message is ensured, and the influence on the performance of both the SNMP agency and the SNMP server, as well as the consumption of network resources, is less.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of Trap message reporting.
Background technology
SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreement is based on the NMP of UDP (User Datagram Protocol, User Datagram Protocol) agreement, and this agreement is not based on connecting.For Trap, after SNMP agency (generally being played the part of by the network equipment) reports Trap, can't guarantee its real transmission success, and receive by SNMP server (generally playing the part of) by network management system.If message dropping takes place, SNMP agency and SNMP server can't know that all therefore, Trap is insecure in existing snmp management.
Yet Trap is that SNMP acts on behalf of the unique channel that initiatively reports its state and problem to the SNMP server, also is the important means of webmaster personnel to network equipment condition monitoring.When serious problem takes place,,, and then cause the erroneous judgement of webmaster personnel, incur loss through delay the solution of problem network state then because the SNMP server can't be known this problem if report the Trap of this problem to send failure because of reasons such as packet losses.
In order to address the above problem, in the prior art,, regularly carry out poll, active probe SNMP agency's state by the SNMP server for state parameter important on the SNMP agency.
But owing to, can influence SNMP server and SNMP agency's performance, and take the network bandwidth through SNMP server active poll SNMP state; And SNMP agency's state is normal generally speaking; Therefore by the mode of SNMP server active poll SNMP Agent Status, influenced SNMP server and SNMP agency's performance, and caused waste of network resources; And polling cycle is more little, and influence and waste are serious more.In addition, with SNMP agency initiatively uploaded state compare, the SNMP server is the promptness can't the assurance problem found of the mode of poll SNMP Agent Status initiatively.
Summary of the invention
The invention provides a kind of method and equipment thereof of Trap message reporting, in order to improve the reliability of Trap message reporting.
In order to reach above purpose, the present invention provides a kind of method of Trap message reporting, is applied to comprise Simple Network Management Protocol SNMP server and SNMP agency's system, is provided with dedicated management information bank MIB node among the said SNMP agency, and this method comprises:
SNMP agency sends the Trap message to the SNMP server, and after receiving the Set message that said SNMP server returns, according to the Trap sign and the transmit leg SNMP server identification that carry in the said Set message said special-purpose MIB node is provided with;
SNMP acts on behalf of Trap sign and the SNMP server identification that is provided with according in the Trap sign of the Trap message that it sent and purpose SNMP server identification and the said special-purpose MIB node; Judge whether its Trap message that sends is received by corresponding purpose SNMP server, and carry out handled according to judged result.
Said SNMP agency judges that whether its Trap message that sends is received by corresponding purpose SNMP server, is specially:
The Trap sign and the SNMP server identification that are provided with in the Trap sign of the Trap message that it sent that said SNMP agency relatively self stores and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that this Trap message is received by corresponding purpose SNMP server.
Saidly carry out handled, specifically comprise according to judged result:
When said SNMP agency judged that the Trap message is not received by corresponding purpose SNMP server, said SNMP agency resend the Trap message to said SNMP server, and writes down the transmission number of times of this Trap message;
When the transmission number of times of this Trap message equals preset maximum number of times of transmission, and the Trap message is when being received by corresponding purpose SNMP server yet, and said SNMP agency carries out message and sends failure and handle.
All specified the specific T rap message that needs response in said SNMP agency and the SNMP server; Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical;
Said SNMP agency judges that whether its Trap message that sends is received by corresponding purpose SNMP server, is specially:
When said SNMP agency confirms that the Trap message that is sent need respond, judge whether the Trap message that is sent is received by corresponding purpose SNMP server; Wherein, when the SNMP server confirms that the Trap message that receives need respond, return the Set message to the SNMP agency who sends this Trap message.
The embodiment of the invention provides a kind of SNMP agent equipment, is applied to comprise SNMP server and SNMP agency's system, is provided with dedicated management information bank MIB node among the said SNMP agency, and said SNMP agency comprises:
Sending module is used for sending the Trap message to the SNMP server;
Receiver module is used to receive the Set message that the SNMP server returns;
Module is set, is used for after said receiver module receives the Set message that the SNMP server returns, according to the Trap sign of carrying in the said Set message and transmit leg SNMP server identification to being provided with in the said special-purpose MIB node;
Judge module; Be used for the Trap sign and the SNMP server identification that are provided with according to the Trap of the Trap message that is sent sign and purpose SNMP server identification and said special-purpose MIB node, judge that whether the Trap message that is sent is by corresponding purpose SNMP server reception;
Processing module is used for carrying out handled according to the judged result of said judge module.
Said judge module specifically is used for:
The Trap sign and the SNMP server identification that are provided with in the Trap sign of the Trap message of relatively self storing that is sent and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that this Trap message is received by corresponding purpose SNMP server.
Said processing module specifically is used for:
When judge module judges that the Trap message is not received by corresponding purpose SNMP server, indicate said sending module to resend the Trap message, and write down the transmission number of times of this Trap message to said SNMP server; When the transmission number of times of this Trap message equals preset maximum number of times of transmission, and the Trap message is when being received by corresponding purpose SNMP server yet, carries out message and sends failure and handle.
All specified the specific T rap message that needs response in said SNMP agency and the SNMP server; Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical;
Said judge module specifically is used for, and when confirming that the Trap message that is sent need respond, judges whether the Trap message that is sent is received by corresponding purpose SNMP server; Wherein, when the SNMP server confirms that the Trap message that receives need respond, return the Set message to the SNMP agency who sends this Trap message.
Useful technique effect of the present invention comprises:
Among the present invention,, be used for confirming the transmission result of Trap message through in the SNMP agency, special-purpose MIB node being set.The SNMP agency is after the SNMP server sends the Trap message; Trap according to being provided with in the Trap of the Trap message that it sent sign and purpose SNMP server identification and the said special-purpose MIB node identifies and the SNMP server identification; Judge whether its Trap message that sends is received by corresponding purpose SNMP server; When guaranteeing Trap message reporting reliability, to the influence of SNMP agency and SNMP server performance and all lower to the consumption of Internet resources.
Description of drawings
The schematic flow sheet of the Trap message reporting method that Fig. 1 provides for the embodiment of the invention;
The structural representation of the SNMP agent equipment that Fig. 2 provides for the embodiment of the invention.
Embodiment
In order to understand the technical scheme that the embodiment of the invention provides better; Down in the face of snmp protocol data cell (Protocol Data Unit; Hereinafter to be referred as PDU) type and SNMP MIB (Management Information Base, management information bank) simply describe.
5 kinds of PDU types have been defined in the snmp protocol, the type of message of corresponding respectively 5 kinds of SNMP operation: Get-Request, Get-Response, Get-Next-Request, Set-Request, Trap.Wherein, The SNMP server is through Get-Request message retrieving information from the network equipment that has the SNMP agency; The SNMP agency then uses the Get-Response message response; Mutual information can comprise: the name of system, the time of normal operation after system's self-starting, the network interface number in the system etc.Get-Next-Request is used for the combine column element of the specific table object of inquiry with Get-Request.Set-Request message (hereinafter to be referred as the Set message) then is used for the network equipment is carried out Remote configuration, can comprise: implementor name is set, device attribute is set, sweep equipment or make some device attributes effectively/invalid etc.The SNMP agency uses Trap to send unsolicited message to the SNMP server, generally is used to describe the generation of a certain incident, like port down, too high, the new user's login of packet loss etc.
SNMP MIB has indicated variable that network element is kept (promptly can by managing process inquiry and the information that is provided with).MIB has provided the data structure of the set of all possible managed object in the network.
In the prior art, the SNMP agency is non-closed loop through the mechanism of Trap message reporting state and problem, and after promptly the SNMP agency sent the Trap message, no matter whether the SNMP server received this Trap message, all can not return response message.Therefore, the SNMP agency can't know whether the Trap message that is sent sends success; When this Trap message sent failure, SNMP agency and SNMP server all can't be known.And since generally speaking SNMP agency's state should be normally, therefore the mode through important state parameter on the SNMP server automatic regular polling SNMP agency can cause waste of network resources, and to SNMP act on behalf of and the influence of SNMP server performance bigger.Simultaneously, the promptness also can't the assurance problem found of this mode.
To the above-mentioned defective that exists in the prior art, the embodiment of the invention provides a kind of technical scheme of Trap message reporting, through in the SNMP agency, special-purpose MIB node being set, is used for confirming the transmission result of Trap message.When the SNMP server received the Trap message that SNMP agency sends, this SNMP server returned the Set message to the SNMP agency, with in the special-purpose MIB node among the SNMP agency variable that should Trap being provided with.SNMP agency confirms that according in the special-purpose MIB node whether variable that should Trap being set up the Trap message sends whether success after sending the Trap message.In embodiments of the present invention, when guaranteeing Trap message reporting reliability, to the influence of SNMP agency and SNMP server performance and all lower to the consumption of Internet resources.
In the technical scheme that the embodiment of the invention provides, the variable that writes down in the special-purpose MIB node can include but not limited to: Trap sign (can uniquely confirm a Trap message through this Trap sign) and SNMP server identification.The information of carrying in the Set message that correspondingly, the SNMP server returns can include but not limited to: Trap sign and SNMP server identification.SNMP agency is provided with variable corresponding in the special-purpose MIB node according to the information of wherein carrying after receiving the Set message that the SNMP server returns.The SNMP agency judges the Trap message according to this special use MIB node, and whether designated SNMP server receives, and can judge that the not designated SNMP server of Trap message carries out handled when receiving.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described in detail.
The embodiment of the invention has proposed a kind of method of Trap message reporting; This method is applied to comprise in the system of SNMP agency and SNMP server; Be provided with special-purpose MIB node among this SNMP agency, the variable that writes down in this MIB node comprises: Trap sign and SNMP server identification.
As shown in Figure 1, the schematic flow sheet of the Trap message reporting method that provides for the embodiment of the invention can may further comprise the steps:
Concrete; When originating port down or packet loss are crossed high fault in the network equipment; The SNMP that is provided with in network equipment agency can report the SNMP server with fault through the Trap message, so that the webmaster personnel are known the fault that this network equipment takes place, and then takes the measure of being correlated with.Wherein, after SNMP agency sends the Trap message, can write down the relevant information of this Trap message, like the sign of the destination server of Trap sign, this Trap message, Trap message transmitting time stamp etc.
Concrete, in order to guarantee the reliability of Trap message reporting, the SNMP server is acted on behalf of message to this SNMP and is returned the Set message after receiving the Trap message of SNMP agency transmission, so that the SNMP agency knows that this Trap message has sent success.
After step 103, SNMP agency receive the Set message of SNMP server response, special-purpose MIB node is provided with according to the Set message that receives.
Concrete, after the SNMP agency receives the Set message that the SNMP server returns, obtain information such as the Trap sign of wherein carrying, SNMP server identification, and special-purpose MIB node is provided with according to the information that gets access to.
Concrete, after the SNMP agency sends the Trap message, in relevant information that can be through the Trap message of self storage relatively and the special-purpose MIB node situation that is provided with of dependent variable is confirmed whether corresponding Trap message sends success.Concrete, the Trap sign and the SNMP server identification that write down in the Trap sign of the Trap message that is sent that the SNMP agency relatively self stores and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that the unappropriated SNMP server of this Trap message receives.
It should be noted that in the technical scheme that the embodiment of the invention provides, can also write down its dependent variables such as timestamp that the SNMP server receives the Trap message in the special-purpose MIB node.Correspondingly, the SNMP server returns in SNMP agency's the Set message and also can carry the timestamp that receives the Trap message.The SNMP server can obtain that this SNMP agency sends the Trap message in a period of time of SNMP proxy records transmitting time is stabbed and special-purpose MIB node in the SNMP server that writes down receive the timestamp of corresponding Trap message, and the situation of current network conditions and/or corresponding SNMP server is analyzed according to the information that gets access to.
Further; In order to improve reliability; After SNMP agency sends the Trap message,, think that then the Trap message that is sent is not successfully sent to this appointment SNMP server if in Preset Time, in the special-purpose MIB node the still unappropriated SNMP server of variable that should the Trap message is provided with.This moment, SNMP agency can send this Trap message to the SNMP server of Trap message of receiving unconfirmed again, in special-purpose MIB node, variable that should the Trap message was set up.
Further,, cause the unlimited re-transmission storm of Trap message for fear of going wrong, in embodiments of the present invention, the maximum number of times of transmission of Trap message can be set in the SNMP agency in advance owing to network to the situation that allows to retransmit the Trap message.The SNMP agency is after the SNMP server sends the Trap message; Write down the transmission number of times of this Trap message; If the maximum number of times of transmission that the transmission number of times of this Trap message equals to preset; And in Preset Time, in the dedicated node variable that should the Trap message is not set up yet, then the SNMP agency confirms to be difficult to accomplish reporting of Trap message for some reason, carries out message and sends failure and handle.
Wherein, this message transmission failure processing can comprise abandons sending this Trap message, and report to the police (as send buzzing and report to the police), trial rebulids with this SNMP server and is connected, and triggering is sent Trap message etc. to subsequent use SNMP server.
In order to promote the efficient of Trap message reporting, and reduce the consumption of Internet resources, in embodiments of the present invention, all can specify in SNMP agency and the SNMP server needs the specific T rap message that responds.On the one hand, when SNMP agency sends the Trap message, can judge whether this Trap message needs response, and when being judged as when being, judge the whether designated SNMP server reception of Trap message according to the information in the special-purpose MIB node.On the other hand, after the SNMP server receives the Trap message, need to judge whether this Trap message of response.Be then to return the Set message if be judged as to the SNMP agency who sends this Trap message; Otherwise, do not respond.For example, can specify the Trap message that reports port down, packet loss to cross high fault is specific T rap message (important Trap message), need respond; And report the Trap message of new user's login, the configuration of newer command row is general T rap message, need not respond.Then receive when reporting port down, packet loss to cross the Trap message of high fault when the SNMP server, return the Set message to the SNMP agency who sends this Trap message; When receiving the Trap message that reports new user's login, the configuration of newer command row, then do not respond.Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical
It should be noted that in the technical scheme that the embodiment of the invention provides that for distinct device, the special packet of SNMP server appointment can be different.Promptly to the Trap message (as the Trap message that reports the newer command row to dispose) of same type, can determine whether to specify it according to the equipment that sends the Trap message is specific T rap message.For example, for the Trap message that reports the configuration of newer command row that SNMP agency in the core network device sends, the SNMP server can think that it is specific T rap message (an important Trap message), need respond; And act on behalf of the Trap message that reports the configuration of newer command row that sends for SNMP in common (non-core) network equipment, the SNMP server can think that it is a general T rap message, need not respond.Correspondingly, also need carry the identification information of the network equipment in the Trap message that the SNMP agency sends.
Can find out through above flow process, in embodiments of the present invention,, be used for confirming the transmission result of Trap message through in the SNMP agency, special-purpose MIB node being set.The SNMP agency is after the SNMP server sends the Trap message; Trap according to being provided with in the Trap of the Trap message that it sent sign and purpose SNMP server identification and the said special-purpose MIB node identifies and the SNMP server identification; Judge whether its Trap message that sends is received by corresponding purpose SNMP server; When guaranteeing Trap message reporting reliability, to the influence of SNMP agency and SNMP server performance and all lower to the consumption of Internet resources.
Based on identical technical conceive, the embodiment of the invention also provides a kind of SNMP agent equipment, is applied to comprise SNMP server and SNMP agency's system, is provided with dedicated management information bank MIB node among the said SNMP agency.
As shown in Figure 2, the structural representation of the SNMP agent equipment that provides for the embodiment of the invention can comprise:
Sending module 201 is used for sending the Trap message to the SNMP server;
Receiver module 202 is used to receive the Set message that the SNMP server returns;
Module 203 is set, is used for after receiver module 202 receives the Set message that the SNMP server returns, according to the Trap sign of carrying in the said Set message and transmit leg SNMP server identification to being provided with in the said special-purpose MIB node;
Judge module 204; Be used for the Trap sign and the SNMP server identification that are provided with according to the Trap of the Trap message that is sent sign and purpose SNMP server identification and said special-purpose MIB node, judge that whether the Trap message that is sent is by corresponding purpose SNMP server reception;
Processing module 205 is used for carrying out handled according to the judged result of judge module 204.
Wherein, judge module 204 can specifically be used for, the Trap sign and the SNMP server identification that are provided with in the Trap sign of the Trap message of relatively self storing that is sent and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that this Trap message is received by corresponding purpose SNMP server.
In order to improve reliability; After the SNMP agency sends the Trap message; If in Preset Time, in the special-purpose MIB node the still unappropriated SNMP server of variable that should the Trap message is provided with, thinks that then the Trap message that is sent is not successfully sent to this appointment SNMP server.This moment, SNMP agency can send this Trap message to the SNMP server of Trap message of receiving unconfirmed again, in special-purpose MIB node, variable that should the Trap message was set up.
To the situation that allows to retransmit the Trap message; The unlimited re-transmission storm that causes the Trap message for fear of going wrong owing to network; In embodiments of the present invention, processing module 205 can specifically be used for, when judge module 204 judges that the Trap message is not received by corresponding purpose SNMP server; Indication sending module 201 resends the Trap message to said SNMP server, and writes down the transmission number of times of this Trap message; When the transmission number of times of this Trap message equals preset maximum number of times of transmission, and the Trap message is when being received by corresponding purpose SNMP server yet, carries out message and sends failure and handle.
Wherein, this message transmission failure processing can comprise abandons sending this Trap message, and report to the police (as send buzzing and report to the police), trial rebulids with this SNMP server and is connected, and triggering is sent Trap message etc. to subsequent use SNMP server.
In order to promote the efficient of Trap message reporting, and reduce the consumption of Internet resources, all having specified in said SNMP agency and the SNMP server needs the specific T rap message that responds; Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical;
Correspondingly, 204 of judge modules can specifically be used for, and when confirming that the Trap message that is sent need respond, judge whether the Trap message that is sent is received by corresponding purpose SNMP server; Wherein, when the SNMP server confirms that the Trap message that receives need respond, return the Set message to the SNMP agency who sends this Trap message.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.
Claims (8)
1. the method for a Trap message reporting is applied to comprise Simple Network Management Protocol SNMP server and SNMP agency's system it is characterized in that be provided with dedicated management information bank MIB node among the said SNMP agency, this method comprises:
SNMP agency sends the Trap message to the SNMP server, and after receiving the Set message that said SNMP server returns, according to the Trap sign and the transmit leg SNMP server identification that carry in the said Set message said special-purpose MIB node is provided with;
SNMP acts on behalf of Trap sign and the SNMP server identification that is provided with according in the Trap sign of the Trap message that it sent and purpose SNMP server identification and the said special-purpose MIB node; Judge whether its Trap message that sends is received by corresponding purpose SNMP server, and carry out handled according to judged result.
2. the method for claim 1 is characterized in that, said SNMP agency judges that whether its Trap message that sends is received by corresponding purpose SNMP server, is specially:
The Trap sign and the SNMP server identification that are provided with in the Trap sign of the Trap message that it sent that said SNMP agency relatively self stores and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that this Trap message is received by corresponding purpose SNMP server.
3. the method for claim 1 is characterized in that, saidly carries out handled according to judged result, specifically comprises:
When said SNMP agency judged that the Trap message is not received by corresponding purpose SNMP server, said SNMP agency resend the Trap message to said SNMP server, and writes down the transmission number of times of this Trap message;
When the transmission number of times of this Trap message equals preset maximum number of times of transmission, and the Trap message is when being received by corresponding purpose SNMP server yet, and said SNMP agency carries out message and sends failure and handle.
4. the method for claim 1 is characterized in that, has all specified the specific T rap message that needs response in said SNMP agency and the SNMP server; Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical;
Said SNMP agency judges that whether its Trap message that sends is received by corresponding purpose SNMP server, is specially:
When said SNMP agency confirms that the Trap message that is sent need respond, judge whether the Trap message that is sent is received by corresponding purpose SNMP server; Wherein, when the SNMP server confirms that the Trap message that receives need respond, return the Set message to the SNMP agency who sends this Trap message.
5. Simple Network Management Protocol SNMP agent equipment is applied to comprise SNMP server and SNMP agency's system it is characterized in that be provided with dedicated management information bank MIB node among the said SNMP agency, said SNMP agency comprises:
Sending module is used for sending the Trap message to the SNMP server;
Receiver module is used to receive the Set message that the SNMP server returns;
Module is set, is used for after said receiver module receives the Set message that the SNMP server returns, according to the Trap sign of carrying in the said Set message and transmit leg SNMP server identification to being provided with in the said special-purpose MIB node;
Judge module; Be used for the Trap sign and the SNMP server identification that are provided with according to the Trap of the Trap message that is sent sign and purpose SNMP server identification and said special-purpose MIB node, judge that whether the Trap message that is sent is by corresponding purpose SNMP server reception;
Processing module is used for carrying out handled according to the judged result of said judge module.
6. SNMP agent equipment as claimed in claim 5 is characterized in that, said judge module specifically is used for:
The Trap sign and the SNMP server identification that are provided with in the Trap sign of the Trap message of relatively self storing that is sent and purpose SNMP server identification and the special-purpose MIB node; In special-purpose MIB node, be provided with the Trap sign of the Trap message that SNMP agency sent, and set SNMP server identification judges that this Trap message is received by corresponding purpose SNMP server when identical with corresponding purpose SNMP server identification; The Trap sign of the Trap message that SNMP agency sends is not set in special-purpose MIB node, or when corresponding purpose SNMP server identification is not set in the special-purpose MIB node, judges that this Trap message is received by corresponding purpose SNMP server.
7. SNMP agent equipment as claimed in claim 5 is characterized in that, said processing module specifically is used for:
When judge module judges that the Trap message is not received by corresponding purpose SNMP server, indicate said sending module to resend the Trap message, and write down the transmission number of times of this Trap message to said SNMP server; When the transmission number of times of this Trap message equals preset maximum number of times of transmission, and the Trap message is when being received by corresponding purpose SNMP server yet, carries out message and sends failure and handle.
8. SNMP agent equipment as claimed in claim 5 is characterized in that, has all specified the specific T rap message that needs response in said SNMP agency and the SNMP server; Wherein, in the SNMP server the specified specific T rap message of corresponding same SNMP agency and this SNMP to act on behalf of specified specific T rap message identical;
Said judge module specifically is used for, and when confirming that the Trap message that is sent need respond, judges whether the Trap message that is sent is received by corresponding purpose SNMP server; Wherein, when the SNMP server confirms that the Trap message that receives need respond, return the Set message to the SNMP agency who sends this Trap message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103390161A CN102394773A (en) | 2011-11-01 | 2011-11-01 | Trap message submission method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103390161A CN102394773A (en) | 2011-11-01 | 2011-11-01 | Trap message submission method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102394773A true CN102394773A (en) | 2012-03-28 |
Family
ID=45861983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103390161A Pending CN102394773A (en) | 2011-11-01 | 2011-11-01 | Trap message submission method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102394773A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601488A (en) * | 2015-01-22 | 2015-05-06 | 杭州华三通信技术有限公司 | Flow control method and device in SDN (software defined network) |
CN104618144A (en) * | 2014-12-31 | 2015-05-13 | 深圳市兰丁科技有限公司 | Method and system for tracking data package according to message identifier |
CN108964955A (en) * | 2017-05-23 | 2018-12-07 | 中兴通讯股份有限公司 | A kind of loss Trap message lookup method and Network Management System and a kind of SNMP agent |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1761207A (en) * | 2004-10-11 | 2006-04-19 | 国际商业机器公司 | Computer network system and a method for monitoring and controlling a network |
CN101159608A (en) * | 2007-10-30 | 2008-04-09 | 中兴通讯股份有限公司 | Network management system and method of guaranteeing normal communication |
CN101193107A (en) * | 2006-11-29 | 2008-06-04 | 中兴通讯股份有限公司 | A Trap confirmation method based on SNMP |
CN101621455A (en) * | 2008-07-02 | 2010-01-06 | 华为技术有限公司 | Method for managing network equipment, network management station and network management equipment |
CN101753353A (en) * | 2008-12-18 | 2010-06-23 | 大唐移动通信设备有限公司 | SNMP based safety management method, Trap message processing method and device |
CN101854254A (en) * | 2010-05-10 | 2010-10-06 | 浪潮电子信息产业股份有限公司 | Method for monitoring resource utilization of server |
-
2011
- 2011-11-01 CN CN2011103390161A patent/CN102394773A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1761207A (en) * | 2004-10-11 | 2006-04-19 | 国际商业机器公司 | Computer network system and a method for monitoring and controlling a network |
CN101193107A (en) * | 2006-11-29 | 2008-06-04 | 中兴通讯股份有限公司 | A Trap confirmation method based on SNMP |
CN101159608A (en) * | 2007-10-30 | 2008-04-09 | 中兴通讯股份有限公司 | Network management system and method of guaranteeing normal communication |
CN101621455A (en) * | 2008-07-02 | 2010-01-06 | 华为技术有限公司 | Method for managing network equipment, network management station and network management equipment |
CN101753353A (en) * | 2008-12-18 | 2010-06-23 | 大唐移动通信设备有限公司 | SNMP based safety management method, Trap message processing method and device |
CN101854254A (en) * | 2010-05-10 | 2010-10-06 | 浪潮电子信息产业股份有限公司 | Method for monitoring resource utilization of server |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618144A (en) * | 2014-12-31 | 2015-05-13 | 深圳市兰丁科技有限公司 | Method and system for tracking data package according to message identifier |
CN104601488A (en) * | 2015-01-22 | 2015-05-06 | 杭州华三通信技术有限公司 | Flow control method and device in SDN (software defined network) |
CN104601488B (en) * | 2015-01-22 | 2019-03-15 | 新华三技术有限公司 | Flow control methods and device in a kind of software defined network |
CN108964955A (en) * | 2017-05-23 | 2018-12-07 | 中兴通讯股份有限公司 | A kind of loss Trap message lookup method and Network Management System and a kind of SNMP agent |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7640460B2 (en) | Detect user-perceived faults using packet traces in enterprise networks | |
CN101056194B (en) | A SNMP message transfer method and device | |
US20100228843A1 (en) | Element management system in wireless communication network | |
CN104219091A (en) | System and method for network operation fault detection | |
CN112202635B (en) | Link monitoring method and device, storage medium and electronic device | |
CN114844777A (en) | Locating network faults through differential analysis of TCP telemetry | |
Affandi et al. | Design and implementation fast response system monitoring server using Simple Network Management Protocol (SNMP) | |
JP2008059114A (en) | Automatic network monitoring system using snmp | |
WO2016187979A1 (en) | Transmitting method and apparatus for bidirectional forwarding detection (bfd) message | |
CN104348661B (en) | The upload of network failure data, method of reseptance and equipment and recording method and system | |
WO2008020722A1 (en) | Expandable element management system in wireless communication network | |
CN112994971A (en) | Equipment offline monitoring method based on cloud server and related device | |
CN102394773A (en) | Trap message submission method and equipment | |
JP4869160B2 (en) | Packet relay device | |
CN101267335B (en) | A method for guaranteeing successful alarm receiving/transmission in simple network management protocol | |
KR100429894B1 (en) | Apparatus and method for managing network faults by multi-agent communication | |
WO2012151855A1 (en) | Method and system for managing cloud computing device | |
JP5304200B2 (en) | Network management system, network management method, manager and agent | |
JP4808645B2 (en) | Device monitoring network system and SNMP trap management method | |
CN111049741B (en) | Method for improving communication reliability, communication system and terminal equipment | |
KR20030021862A (en) | Method for Between EMS Server and Agent Fault Processing | |
WO2012079487A1 (en) | Method, network manager and system for trap handling based on simple network management protocol (snmp) | |
JP7180200B2 (en) | Relay device and relay method | |
KR100612254B1 (en) | Apparatus and method of manage performance data in network management system using snmp | |
JP2008077293A (en) | Network monitor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120328 |