CN110768838A - SNMP message processing method and related device - Google Patents

SNMP message processing method and related device Download PDF

Info

Publication number
CN110768838A
CN110768838A CN201911037945.XA CN201911037945A CN110768838A CN 110768838 A CN110768838 A CN 110768838A CN 201911037945 A CN201911037945 A CN 201911037945A CN 110768838 A CN110768838 A CN 110768838A
Authority
CN
China
Prior art keywords
node
snmp message
snmp
information
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
Application number
CN201911037945.XA
Other languages
Chinese (zh)
Inventor
周文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN201911037945.XA priority Critical patent/CN110768838A/en
Publication of CN110768838A publication Critical patent/CN110768838A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Abstract

The application discloses a SNMP message processing method, which comprises the following steps: when receiving an SNMP message sent by a management system, the node judges whether the node is a main node or not; if so, executing operation on the SNMP message to obtain an operation result, and sending the operation result to the management system; if not, performing data interaction on all other nodes to obtain the information of the main node, and sending the SNMP information to the main node according to the information of the main node so that the main node can execute operation on the SNMP information. When the SNMP message is received, the nodes judge whether the nodes are main nodes or not, if not, the nodes are interacted, so that the SNMP message is forwarded to the main nodes for processing, the process that a management system searches for the main nodes again is avoided, and the efficiency of SNMP management nodes is improved. The application also discloses an SNMP message processing device, a server and a computer readable storage medium, which have the beneficial effects.

Description

SNMP message processing method and related device
Technical Field
The present application relates to the field of network device management technologies, and in particular, to an SNMP message processing method, an SNMP message processing apparatus, a server, and a computer-readable storage medium.
Background
With the continuous development of information technology, the number of applied devices is increasing. That is, there are a plurality of different nodes, which form a node cluster with each other. In order to better manage the node cluster, all nodes in the network are managed by a Simple Network Management Protocol (SNMP) in the prior art.
When the simple network management protocol is applied to a distributed storage system, the SNMP networking for practical application is mainly composed of three parts, including: NMS (Network-management systems), managed devices, agents. Wherein the NMS runs an application with which to monitor and control the managed device; managed devices collect and store management information through a Management Information Base (MIB), and NMS can obtain the information through an SNMP agent; the agent is present in the managed device. Belonging to the middle module and being responsible for bidirectional compatibility and message transmission.
It can be seen that when the existing SNMP mechanism is applied in an actual environment, the managed devices and the agents are in a one-to-one relationship, and each managed device can be managed by deploying one agent therein. However, the agents among the managed devices lack a message interaction channel, which results in that if the master node in the distributed system floats, the NMS cannot normally obtain the device information. For example, the managed device a is used as a master node, and the NMS may access the IP of the node a to obtain information of the entire distributed storage system, but when the node a is abnormal, the distributed system floats the master node to the managed device B to ensure operation of the entire system, and at this time, the NMS may fail to obtain information from the node a or obtain only the content of the node. Because the nodes of the distributed system float, there is no way to notify the NMS, and even if the NMS knows, it needs to manually modify the butted IP and parameters, reducing the efficiency of SNMP managing nodes.
Therefore, how to improve the efficiency of the SNMP management node is a key issue that those skilled in the art are concerned about.
Disclosure of Invention
The purpose of the application is to provide an SNMP message processing method, an SNMP message processing device, a server and a computer readable storage medium, when an SNMP message is received, a node judges whether the node is a main node, if so, the operation is normally executed, if not, the node is interacted so that the SNMP message is forwarded to the main node for processing, the process that a management system searches for the main node again is avoided, and the efficiency of SNMP management nodes is improved.
In order to solve the above technical problem, the present application provides an SNMP message processing method, including:
when receiving an SNMP message sent by a management system, the node judges whether the node is a main node or not;
if yes, executing operation on the SNMP message to obtain an operation result, and sending the operation result to the management system;
and if not, performing data interaction on all other nodes to obtain information of a main node, and sending the SNMP information to the main node according to the information of the main node so that the main node executes operation on the SNMP information.
Optionally, when receiving an SNMP message sent by the management system, the node determines whether the node is a master node, including:
the node receives the SNMP message sent by the management system;
and judging whether the node is the main node according to the acquired node state list.
Optionally, executing an operation on the SNMP message to obtain an operation result, and sending the operation result to the management system, where the operation result includes:
analyzing and processing the SNMP message through an agent to obtain an operation instruction;
calling a bottom layer command to execute operation according to the operation instruction to obtain an operation result;
and sending the operation result to the management system.
Optionally, performing data interaction on all other nodes to obtain information of a host node, and sending the SNMP information to the host node according to the information of the host node, so that the host node performs an operation on the SNMP message, where the operation includes:
the node sends a main node query message to all other nodes so as to return the information of the main node when the main node receives the main node query message;
forwarding the SNMP message to the host node according to the information of the host node, so that the host node receives and processes the SNMP message to obtain the operation result and sends the operation result to the node;
and the node forwards the received operation result to the management system.
The present application further provides an SNMP message processing apparatus, comprising:
the host node judging module is used for judging whether the host node is a host node or not when receiving the SNMP message sent by the management system;
the local processing module is used for executing operation on the SNMP message to obtain an operation result and sending the operation result to the management system when the node is a main node;
and the interaction processing module is used for performing data interaction on all other nodes to obtain the information of the main node when the node is not the main node, and sending the SNMP information to the main node according to the information of the main node so that the main node executes operation on the SNMP information.
Optionally, the master node determining module includes:
a message receiving unit, configured to receive the SNMP message sent by the management system;
and the judging unit is used for judging whether the node is the main node according to the acquired node state list.
Optionally, the local processing module includes:
the message analysis processing unit is used for analyzing and processing the SNMP message through an agent to obtain an operation instruction;
the operation instruction execution unit is used for calling a bottom layer command to execute operation according to the operation instruction to obtain an operation result;
and the operation result sending unit is used for sending the operation result to the management system.
Optionally, the interaction processing module includes:
the node interaction unit is used for sending a main node query message to all other nodes so as to return the information of the main node when the main node receives the main node query message;
the operation execution unit is used for forwarding the SNMP message to the main node according to the information of the main node so that the main node can receive and process the SNMP message to obtain the operation result and send the operation result to the node;
and the result sending unit is used for forwarding the received operation result to the management system.
The present application further provides a server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the SNMP message processing method as described above when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the SNMP message processing method as described above.
The SNMP message processing method provided by the application comprises the following steps: when receiving an SNMP message sent by a management system, the node judges whether the node is a main node or not; if yes, executing operation on the SNMP message to obtain an operation result, and sending the operation result to the management system; and if not, performing data interaction on all other nodes to obtain information of a main node, and sending the SNMP information to the main node according to the information of the main node so that the main node executes operation on the SNMP information.
When the SNMP message sent by the management system is received, the node receiving the message judges whether the node is a main node, if so, the node is used as the main node to normally process the SNMP message, if not, the node carries out data interaction on all other nodes to obtain the information of the main node, and then the SNMP message is directly forwarded to the main node so that the main node processes the SNMP message, but the management system does not search the main node and send the SNMP message to the main node again, so that the processing efficiency of the message is improved, the data interaction among all the nodes is realized, the problem of node clustering caused by node floating is avoided, and the efficiency of the SNMP management node is improved.
The present application further provides an SNMP message processing apparatus, a server and a computer readable storage medium, which have the above beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an SNMP message processing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an SNMP message processing device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide an SNMP message processing method, an SNMP message processing device, a server and a computer readable storage medium, when an SNMP message is received, a node judges whether the node is a main node, if so, the operation is normally executed, if not, the node is interacted so that the SNMP message is forwarded to the main node for processing, the process that a management system searches for the main node again is avoided, and the efficiency of SNMP management nodes is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When the SNMP mechanism in the prior art is applied to an actual environment, managed devices and agents are in a one-to-one relationship, and each managed device is deployed with one agent, so that each managed device can be managed. However, the agents among the managed devices lack a message interaction channel, which results in that if the master node in the distributed system floats, the NMS cannot normally obtain the device information. For example, the managed device a is used as a master node, and the NMS may access the IP of the node a to obtain information of the entire distributed storage system, but when the node a is abnormal, the distributed system floats the master node to the managed device B to ensure operation of the entire system, and at this time, the NMS may fail to obtain information from the node a or obtain only the content of the node. Because the nodes of the distributed system float, there is no way to notify the NMS, and even if the NMS knows, it needs to manually modify the butted IP and parameters, reducing the efficiency of SNMP managing nodes.
Therefore, the SNMP message processing method provided by the application judges whether the node receiving the message is a main node or not when the SNMP message sent by a management system is received, if so, the node is used as the main node to normally process the SNMP message, if not, the node carries out data interaction on all other nodes to obtain the information of the main node, and then the SNMP message is directly forwarded to the main node so that the main node can process the SNMP message, but the management system does not search the main node and send the SNMP message to the main node again, so that the message processing efficiency is improved, the data interaction among all nodes is realized, the problem of node cluster caused by node floating is avoided, and the efficiency of SNMP management nodes is improved.
Referring to fig. 1, fig. 1 is a flowchart of an SNMP message processing method according to an embodiment of the present application.
In this embodiment, the method may include:
s101, when an SNMP message sent by a management system is received, a node judges whether the node is a main node or not; if yes, executing S102; if not, executing S103;
when the step aims to process the SNMP message, namely when the SNMP message sent by the management system is received, the node judges whether the node is a main node.
The embodiment is applied to a cluster system, and the cluster system is composed of a management system and a plurality of nodes, that is, the management system manages the plurality of nodes. However, a master node exists among a plurality of nodes for maintaining information of other nodes. Therefore, when the management system performs management operation on the network device, the management system needs to perform corresponding operation on the master node.
However, in a typical network device cluster, the location of the master node may change as the network changes. That is, the node at which the management system sends the SNMP message may or may not be the master node. Therefore, in this step, when a node receives an SNMP message, it determines whether it is the master node.
The manner of determining whether the master node is the master node may be any one of the determination methods provided in the prior art, or may be a scheme introduced in the following alternatives, which is not described herein again.
Optionally, this step may include:
step 1, a node receives an SNMP message sent by a management system;
and 2, judging whether the node is a main node according to the acquired node state list.
Therefore, the alternative scheme mainly explains how to judge whether the master node is the master node. Specifically, the determination is performed by a node state list maintained in the node. During normal execution of the nodes, a state list is maintained from node to node. Specifically, please refer to the next embodiment.
S102, executing operation on the SNMP message to obtain an operation result, and sending the operation result to a management system;
on the basis of S101, this step aims to execute a normal SNMP message execution operation when the node is a master node, resulting in an operation result. And sends the operation result to the management system.
Wherein the operations performed on the SNMP messages may be determined by the different types of SNMP messages which operations are performed. After determining the type of the SNMP message, the executed operation may adopt any operation execution method provided in the prior art, and is not limited in detail herein. Reference may also be made to the manner of operation provided by the following alternatives.
Optionally, this step may include:
step 1, analyzing and processing an SNMP message through an agent to obtain an operation instruction;
step 2, calling a bottom layer command to execute operation according to the operation instruction to obtain an operation result;
and 3, sending the operation result to the management system.
It can be seen that the alternative scheme mainly provides a further explanation on how to perform the operation of the SNMP message. Specifically, the received SNMP message is a message obtained by encapsulating the operation instruction according to a preset format, and therefore in the alternative, the SNMP message is analyzed to obtain the operation instruction. Then, the operation is executed on the operation instruction to obtain an operation result.
S103, performing data interaction on all other nodes to obtain information of the main node, and sending SNMP information to the main node according to the information of the main node so that the main node can execute operation on the SNMP information.
On the basis of the S101, in this step, when the node is not a master node, the node interacts with all other nodes to obtain information of the master node, and then forwards the SNMP message to the master node, so that the master node performs an operation on the SNMP message to obtain a final operation result.
Therefore, the step is mainly how to process the SNMP message under the condition that the main node floats. In the prior art, generally, when a management system learns that a node is not a master node, the management system sends a message to all nodes so as to find the master node, and then sends an SNMP message to the master node so as to complete subsequent operations. However, the operation steps of the management system are excessive, and the processing efficiency of the SNMP message is reduced.
Therefore, in this embodiment, the searching operation of the host node is implemented through data interaction between the nodes in this step, and the SNMP message is sent to the host node, so that the host node completes subsequent operations. Rather, these operations are accomplished through the management system. The operation steps of the management nodes are reduced, the operation efficiency of the management nodes is improved, and the problem caused by node floating is avoided.
Optionally, this step may include:
step 1, a node sends a main node query message to all other nodes so as to return the information of a main node when the main node receives the main node query message;
step 2, forwarding the SNMP message to the main node according to the information of the main node so that the main node receives and processes the SNMP message to obtain an operation result and sends the operation result to the node;
and 3, forwarding the received operation result to a management system by the node.
Therefore, according to the alternative scheme, after the master node completes the corresponding operation to obtain the operation result, the operation result is forwarded to the initial node, and finally the node returns the operation result to the management system.
In summary, in this embodiment, when an SNMP message sent by a management system is received, a node receiving the message determines whether the node is a master node, if so, the node is used as the master node to normally process the SNMP message, and if not, data interaction is performed on all other nodes to obtain information of the master node, and then the SNMP message is directly forwarded to the master node so that the master node processes the SNMP message, instead of the management system searching for the master node and sending the SNMP message to the master node again, so that the processing efficiency of the message is improved, data interaction is performed between the nodes, the problem caused by node floating to a node cluster is avoided, and the efficiency of the SNMP management node is improved.
An SNMP message processing method provided by the present application is further described below by a specific embodiment.
In this embodiment, the process of processing the SNMP message in the method may include:
step 1, NMS initiates a get or set instruction to a butted node (because whether the node is a master node or not is not determined, the node is probably a slave node, if the node is the master node, the node is similar to the original flow, and transparent transmission from an Agent to a Client is added by one step);
step 2, the slave node Client sends messages to all other nodes, and the master node Client responds to inform the slave node of the information of the current master node;
step 3, the slave node Client forwards the SNMP message of the NMS to the master node Client;
step 4, after receiving the message, the master node Client records the slave node Client information and issues the information to the Agent of the node;
step 5, after receiving the SNMP message, the main node Agent analyzes the content and calls a bottom layer command to collect information or configure data;
step 6, after the operation is finished, the main node Agent assembles the operation result into an SNMP message and reports the SNMP message to the main node Client;
step 7, the main node Client forwards the message to the initial slave node Client;
and 8, reporting the message to the NMS from the node Client, and ending the process.
In addition, in the initialization phase of the network device in this embodiment, the information of all nodes may also be collected, which specifically includes:
step 1, after the distributed system is started, a Client carries out initialization operation and judges whether the distributed system is a main node or not;
step 2, if the node is the master node, calling a bottom layer command to obtain a list of all nodes, wherein the list comprises node names and IP;
step 3, assembling the list into a socket message;
step 4, the message is sent to each slave node according to the node IP of the list;
step 5, after receiving the message from the node, analyzing the list in the message, and maintaining the list;
and 6, when the expansion or contraction of the distributed system occurs, the list needs to be updated again by the operation.
Specifically, this embodiment also provides a method for performing message interaction between nodes.
Firstly, when receiving an instruction of NMS from a slave node Client, sending a query command to all nodes to know who the master node is currently, wherein the interactive message is designed as follows, the master node makes a response after receiving the message, and the slave node does not make a response. Secondly, when the SNMP message is forwarded between the slave node Client and the master node Client, the message is designed as follows, namely the SNMP message is completely encapsulated into the body of the socket without change, after the slave node receives the message, the header of the socket is removed, and then the complete SNMP message is sent to the Agent.
Optionally, the Client and the corresponding managed device in this embodiment keep heartbeat, and refresh information at fixed intervals to ensure timeliness. That is, a query instruction is sent to the bottom layer device every other preset period, and the bottom layer device calls a bottom layer interface, acquires information of the node, and returns a response message. Wherein, the response message includes the IP information of the device, the node name, and the status information of the main node. The content of the response message can also be expanded according to different requirements.
It can be seen that, in this embodiment, when an SNMP message sent by a management system is received, a node receiving the message determines whether the node is a master node, if so, the node is used as the master node to normally process the SNMP message, and if not, data interaction is performed on all other nodes to obtain information of the master node, and then the SNMP message is directly forwarded to the master node so that the master node processes the SNMP message, instead of the management system searching for the master node and sending the SNMP message to the master node again, so that the processing efficiency of the message is improved, data interaction is performed between the nodes, the problem caused by node floating to a node cluster is avoided, and the efficiency of the SNMP management node is improved.
In the following, an SNMP message processing apparatus provided in an embodiment of the present application is introduced, and an SNMP message processing apparatus described below and an SNMP message processing method described above may be referred to in a corresponding manner.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an SNMP message processing device according to an embodiment of the present application.
In this embodiment, the apparatus may include:
a master node determining module 100, configured to determine whether the master node is a master node when receiving an SNMP message sent by a management system;
the local processing module 200 is configured to, when the node is a master node, perform an operation on the SNMP message to obtain an operation result, and send the operation result to the management system;
and the interaction processing module 300 is configured to, when the node is not the master node, perform data interaction on all other nodes to obtain information of the master node, and send SNMP information to the master node according to the information of the master node, so that the master node performs an operation on the SNMP message.
Optionally, the master node determining module 100 may include:
the message receiving unit is used for receiving the SNMP message sent by the management system;
and the judging unit is used for judging whether the node is a main node according to the acquired node state list.
Optionally, the local processing module 200 may include:
the message analysis processing unit is used for analyzing and processing the SNMP message through the agent to obtain an operation instruction;
the operation instruction execution unit is used for calling the bottom layer command to execute the operation according to the operation instruction to obtain an operation result;
and the operation result sending unit is used for sending the operation result to the management system.
Optionally, the interaction processing module 300 may include:
the node interaction unit is used for sending a main node query message to all other nodes so as to return the information of the main node when the main node receives the main node query message;
the operation execution unit is used for forwarding the SNMP message to the main node according to the information of the main node so that the main node can receive and process the SNMP message to obtain an operation result and send the operation result to the node;
and the result sending unit is used for forwarding the received operation result to the management system.
An embodiment of the present application further provides a server, including:
a memory for storing a computer program;
a processor for implementing the steps of the SNMP message processing method according to the above embodiment when executing the computer program.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the SNMP message processing method according to the above embodiments.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The SNMP message processing method, the SNMP message processing apparatus, the server and the computer readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. An SNMP message processing method, comprising:
when receiving an SNMP message sent by a management system, the node judges whether the node is a main node or not;
if yes, executing operation on the SNMP message to obtain an operation result, and sending the operation result to the management system;
and if not, performing data interaction on all other nodes to obtain information of a main node, and sending the SNMP information to the main node according to the information of the main node so that the main node executes operation on the SNMP information.
2. The SNMP message processing method according to claim 1, wherein the node judging whether it is a master node when receiving the SNMP message sent from the management system comprises:
the node receives the SNMP message sent by the management system;
and judging whether the node is the main node according to the acquired node state list.
3. The SNMP message processing method according to claim 1, wherein performing an operation on the SNMP message to obtain an operation result, and sending the operation result to the management system, comprises:
analyzing and processing the SNMP message through an agent to obtain an operation instruction;
calling a bottom layer command to execute operation according to the operation instruction to obtain an operation result;
and sending the operation result to the management system.
4. The SNMP message processing method according to claim 1, wherein performing data interaction on all other nodes to obtain information of a master node, and sending the SNMP message to the master node according to the information of the master node so that the master node performs an operation on the SNMP message, comprises:
the node sends a main node query message to all other nodes so as to return the information of the main node when the main node receives the main node query message;
forwarding the SNMP message to the host node according to the information of the host node, so that the host node receives and processes the SNMP message to obtain the operation result and sends the operation result to the node;
and the node forwards the received operation result to the management system.
5. An SNMP message processing apparatus, comprising:
the host node judging module is used for judging whether the host node is a host node or not when receiving the SNMP message sent by the management system;
the local processing module is used for executing operation on the SNMP message to obtain an operation result and sending the operation result to the management system when the node is a main node;
and the interaction processing module is used for performing data interaction on all other nodes to obtain the information of the main node when the node is not the main node, and sending the SNMP information to the main node according to the information of the main node so that the main node executes operation on the SNMP information.
6. An SNMP message handling device according to claim 5, wherein said master node determining means comprises:
a message receiving unit, configured to receive the SNMP message sent by the management system;
and the judging unit is used for judging whether the node is the main node according to the acquired node state list.
7. An SNMP message handling device according to claim 5, wherein said local processing module comprises:
the message analysis processing unit is used for analyzing and processing the SNMP message through an agent to obtain an operation instruction;
the operation instruction execution unit is used for calling a bottom layer command to execute operation according to the operation instruction to obtain an operation result;
and the operation result sending unit is used for sending the operation result to the management system.
8. The SNMP message processing device according to claim 5, wherein the interaction processing module comprises:
the node interaction unit is used for sending a main node query message to all other nodes so as to return the information of the main node when the main node receives the main node query message;
the operation execution unit is used for forwarding the SNMP message to the main node according to the information of the main node so that the main node can receive and process the SNMP message to obtain the operation result and send the operation result to the node;
and the result sending unit is used for forwarding the received operation result to the management system.
9. A server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the SNMP message handling method according to any one of claims 1-4 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the SNMP message processing method according to any one of claims 1 to 4.
CN201911037945.XA 2019-10-29 2019-10-29 SNMP message processing method and related device Pending CN110768838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911037945.XA CN110768838A (en) 2019-10-29 2019-10-29 SNMP message processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911037945.XA CN110768838A (en) 2019-10-29 2019-10-29 SNMP message processing method and related device

Publications (1)

Publication Number Publication Date
CN110768838A true CN110768838A (en) 2020-02-07

Family

ID=69334406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911037945.XA Pending CN110768838A (en) 2019-10-29 2019-10-29 SNMP message processing method and related device

Country Status (1)

Country Link
CN (1) CN110768838A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1557067A (en) * 2002-05-10 2004-12-22 �Ҵ���˾ Network attached storage SNMP single system image
US7461130B1 (en) * 2004-11-24 2008-12-02 Sun Microsystems, Inc. Method and apparatus for self-organizing node groups on a network
WO2010034608A1 (en) * 2008-09-24 2010-04-01 Telefonaktiebolaget Lm Ericsson (Publ) System and method for configuration of processing clusters
CN108429639A (en) * 2018-02-27 2018-08-21 深圳神州数码云科数据技术有限公司 A kind of cluster management method and system based on snmp protocol
CN108989270A (en) * 2017-06-02 2018-12-11 华为技术有限公司 Authentication method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1557067A (en) * 2002-05-10 2004-12-22 �Ҵ���˾ Network attached storage SNMP single system image
US7461130B1 (en) * 2004-11-24 2008-12-02 Sun Microsystems, Inc. Method and apparatus for self-organizing node groups on a network
WO2010034608A1 (en) * 2008-09-24 2010-04-01 Telefonaktiebolaget Lm Ericsson (Publ) System and method for configuration of processing clusters
CN108989270A (en) * 2017-06-02 2018-12-11 华为技术有限公司 Authentication method, equipment and system
CN108429639A (en) * 2018-02-27 2018-08-21 深圳神州数码云科数据技术有限公司 A kind of cluster management method and system based on snmp protocol

Similar Documents

Publication Publication Date Title
CN106911728B (en) The choosing method and device of host node in distributed system
CN108989066B (en) Equipment management method and device
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN111078504A (en) Distributed call chain tracking method and device, computer equipment and storage medium
EP2541868B1 (en) Method and device for terminal management based on right control
CN107357571B (en) Maintenance method and system for equipment component program
US9152441B2 (en) Systems and methods involving virtual machine host isolation over a network via a federated downstream cluster
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN110445697B (en) Video big data cloud platform equipment access service method
CN113742031A (en) Node state information acquisition method and device, electronic equipment and readable storage medium
CN112838940A (en) Network controller framework and data processing method
CN114650226A (en) Topology management method and device, network element management node and storage medium
KR20060040335A (en) Network managing device and method thereof
CN110740355A (en) Equipment monitoring method and device, electronic equipment and storage medium
JP2005237018A (en) Data transmission to network management system
JP2000066978A (en) Network management information collection system, network management device to be used for the system and node to be managed
CN106790354B (en) Communication method and device for preventing data congestion
CN116708266A (en) Cloud service topological graph real-time updating method, device, equipment and medium
CN110768838A (en) SNMP message processing method and related device
CN107294773B (en) software definable network service configuration method
JP2003507976A (en) Comprehensive alignment process in multi-manager environment
CN106230625B (en) A kind of method and device in the dynamic creation domain in SolrCloud cluster
CN102571390B (en) Equipment management method, equipment and system
CN113824595A (en) Link switching control method and device and gateway equipment
CN107248935B (en) System and method for network management to discover and monitor network elements

Legal Events

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

Application publication date: 20200207