CN110995476A - Network equipment maintenance method based on SNMP - Google Patents

Network equipment maintenance method based on SNMP Download PDF

Info

Publication number
CN110995476A
CN110995476A CN201911142668.9A CN201911142668A CN110995476A CN 110995476 A CN110995476 A CN 110995476A CN 201911142668 A CN201911142668 A CN 201911142668A CN 110995476 A CN110995476 A CN 110995476A
Authority
CN
China
Prior art keywords
identified
snmp
equipment
rule
object identifier
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
CN201911142668.9A
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 Baolande Software Co ltd
Original Assignee
Beijing Baolande Software 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 Baolande Software Co ltd filed Critical Beijing Baolande Software Co ltd
Priority to CN201911142668.9A priority Critical patent/CN110995476A/en
Publication of CN110995476A publication Critical patent/CN110995476A/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 embodiment of the invention provides a network equipment maintenance method based on SNMP. The method comprises the steps of obtaining a mapping rule corresponding to the equipment to be identified if the equipment to be identified is determined to meet a preset discovery rule; the discovery rules are in one-to-one correspondence with the mapping rules; according to the first object identifier contained in the mapping rule, the attribute information of the attribute corresponding to the first object identifier is obtained from the equipment to be identified.

Description

Network equipment maintenance method based on SNMP
Technical Field
The invention relates to the technical field of communication networks, in particular to a network equipment maintenance method based on SNMP.
Background
With the development of scientific technology, cloud computing has gradually developed to maturity and is applied on a large scale. An enterprise cloud computing center will have thousands of servers and other network devices such as routers and switches, in addition to a more spectacular number of virtual machines. How to integrate all network equipment resource information together, carry out unified maintenance and storage, realize the sharing of resource, real time monitoring equipment reduces the operation and maintenance pressure of operation and maintenance personnel, then becomes the difficult problem that awaits solution.
The general solution is to configure a scanned machine network segment by using a network protocol, such as Secure Shell, SSH for short, to set login authentication information, periodically scan the machine, and determine whether the machine exists or normally operates according to whether the login is successful, thereby implementing monitoring of the device and reducing the time for discovering a faulty machine.
However, when the SSH scanning machine is used to monitor the machine, corresponding software needs to be installed on all devices, and the same user name and password are created, which may greatly affect the security of the current user if information is leaked, the SSH scanning may only support part of the system, the Windows system is not supported by default, and thus additional adaptive devices need to be installed, which may make the process of discovering and monitoring the devices more complicated and time consuming.
Disclosure of Invention
Because the existing method has the problems, the embodiment of the invention provides a network equipment maintenance method based on SNMP.
In a first aspect, an embodiment of the present invention provides a network device maintenance method based on SNMP, including:
if the device to be identified meets the preset discovery rule, obtaining a mapping rule corresponding to the device to be identified; the discovery rules are in one-to-one correspondence with the mapping rules;
and acquiring attribute information of an attribute corresponding to the first object identifier from the equipment to be identified according to the first object identifier contained in the mapping rule.
Further, if it is determined that the device to be identified meets a preset discovery rule, a mapping rule corresponding to the device to be identified is obtained; the method specifically comprises the following steps:
according to a second object identifier and expectation information corresponding to the second object identifier included in the discovery rule, acquiring attribute information of an attribute corresponding to the second object identifier from the equipment to be identified, and matching the attribute information with the corresponding expectation information;
if the acquired attribute information of the equipment to be identified is matched with the corresponding expected information, judging that the equipment to be identified meets the discovery rule;
and determining the mapping rule corresponding to the equipment to be identified according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
Further, after the obtaining attribute information of the attribute corresponding to the second object identifier from the device to be identified according to the second object identifier included in the discovery rule and the expectation information corresponding to the second object identifier and matching the attribute information with the corresponding expectation information, the SNMP-based network device maintenance method further includes:
if the attribute corresponding to the second object identifier does not exist in the device to be identified, or the acquired attribute information is not matched with the corresponding expected information, judging that the device to be identified does not meet the discovery rule.
Further, after determining that the device to be identified satisfies the discovery rule, the SNMP-based network device maintenance method further includes:
and obtaining the manufacturing information of the equipment to be identified according to the matching result of each attribute information and the corresponding expectation information.
Further, the determining that the device to be identified meets the preset discovery rule specifically includes:
and sequentially judging whether the equipment to be identified meets the discovery rules or not according to the preset priority of each discovery rule until the discovery rules met by the equipment to be identified are determined.
Further, the SNMP-based network device maintenance method further includes:
and scanning a preset IP address range to obtain the equipment to be identified.
Further, after the device to be identified is obtained by scanning a preset IP address range, the SNMP-based network device maintenance method further includes:
and logging in the equipment to be identified according to a preset SNMP certificate corresponding to the SNMP version.
Further, the first object identifier and the second object identifier are specifically: a numerical form of a single numerical value, or a tabular form consisting of a plurality of numerical values.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
a processor, a memory, a communication interface, and a communication bus; wherein the content of the first and second substances,
the processor, the memory and the communication interface complete mutual communication through the communication bus;
the communication interface is used for information transmission between communication devices of the electronic equipment;
the memory stores computer program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
if the device to be identified meets the preset discovery rule, obtaining a mapping rule corresponding to the device to be identified; the discovery rules are in one-to-one correspondence with the mapping rules;
and acquiring attribute information of an attribute corresponding to the first object identifier from the equipment to be identified according to the first object identifier contained in the mapping rule.
In a third aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method:
if the device to be identified meets the preset discovery rule, obtaining a mapping rule corresponding to the device to be identified; the discovery rules are in one-to-one correspondence with the mapping rules;
and acquiring attribute information of an attribute corresponding to the first object identifier from the equipment to be identified according to the first object identifier contained in the mapping rule.
According to the SNMP-based network equipment maintenance method provided by the embodiment of the invention, the equipment type of the equipment to be identified is determined by the discovery rule through the one-to-one correspondence relationship between the preset discovery rule and the mapping rule, and the attribute information of each attribute in the equipment to be identified is acquired according to the object identifier in the corresponding mapping rule, so that the identification of the equipment to be identified and the acquisition of the attribute information are simply and quickly realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a SNMP based network device maintenance method according to an embodiment of the present invention;
fig. 2 is a flowchart of another SNMP based network device maintenance method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network device maintenance apparatus based on SNMP in an embodiment of the present invention;
fig. 4 illustrates a physical structure diagram of an electronic device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Fig. 1 is a flowchart of a SNMP-based network device maintenance method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step S01, if the device to be identified is determined to meet the preset discovery rule, obtaining a mapping rule corresponding to the device to be identified; and the discovery rules are in one-to-one correspondence with the mapping rules.
The embodiment of the invention provides a method for identifying equipment to be identified in a Network and acquiring attribute information of attributes of the equipment by using a Simple Network Management Protocol (SNMP) and an Object Identifier (also called an Internet of things Identifier (OID)).
The monitoring server establishes a one-to-one correspondence relationship between the attributes and the object identifiers in advance, for example, as shown in table 1 below:
Figure BDA0002281379550000041
Figure BDA0002281379550000051
TABLE 1 Attribute to object identifier Table
The monitoring server classifies the devices according to the characteristics of the devices in the network, and sets mapping rules and discovery rules corresponding to the types of the devices one by one in advance, and thus, the mapping rules and the discovery rules are also corresponding one by one.
The mapping rules specify the number and type of specific attributes contained by the device corresponding to the device type, and an object identifier corresponding to each attribute, referred to herein as a first object identifier.
And the corresponding discovery rule is used to determine the device type to which the device belongs.
When the monitoring server acquires the device to be identified in the network, the preset discovery rules can be respectively matched with the monitored device to be identified so as to judge whether the device to be identified meets a certain discovery rule:
if the device type is not satisfied, judging that the device to be identified belongs to a device type which cannot be identified by the monitoring server;
if the device to be identified meets a certain discovery rule, the device to be identified can be determined to belong to the device type corresponding to the discovery rule, and the mapping rule corresponding to the device to be identified is obtained according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
Step S02, according to the first object identifier included in the mapping rule, acquiring attribute information of an attribute corresponding to the first object identifier from the device to be identified.
The monitoring server extracts a first object identifier contained in the mapping rule corresponding to the device to be identified, and tries to acquire attribute information of an attribute of the device to be identified, wherein the attribute corresponds to the first object identifier. Specifically, the monitoring server may send an information obtaining instruction including a first object identifier to the device to be identified, so that the device to be identified replies attribute information of an attribute corresponding to the first object identifier.
Then, the current operation condition of the equipment to be identified can be obtained by analyzing the received attribute information, so as to judge whether a fault is likely to occur, eliminate hidden dangers in time, prevent the occurrence of the fault, and dispose the fault which has occurred in time.
The embodiment of the invention determines the equipment type of the equipment to be identified according to the preset one-to-one corresponding relation between the discovery rule and the mapping rule by the discovery rule, and then obtains the attribute information of each attribute in the equipment to be identified according to the object identifier in the corresponding mapping rule, thereby simply and quickly realizing the identification of the equipment to be identified and the collection of the attribute information.
Fig. 2 is a flowchart of another SNMP-based network device maintenance method according to an embodiment of the present invention, and as shown in fig. 2, the step S01 specifically includes:
step S011, obtaining attribute information of an attribute corresponding to the second object identifier from the device to be identified according to the second object identifier included in the discovery rule and expectation information corresponding to the second object identifier, and matching the attribute information with the corresponding expectation information.
The discovery rule for identifying the device type of the device to be identified may be set according to actual needs, for example, the discovery rule may be determined by identifying specific data information transmitted by the device to be identified in a network, or may be determined by a specific device identifier of the device to be identified.
The embodiment of the invention only gives an illustration of one of the embodiments.
According to the difference of the attributes contained in the devices of different device types and the difference of the selectable ranges of the corresponding attribute information, at least one object identifier, referred to as a second object identifier, and expectation information corresponding to the second object identifier are set in the corresponding discovery rule, wherein the expectation information is used for characterizing the information selection range.
And if the discovery rule is matched with the equipment to be identified, sending a second object identifier in the discovery rule to the equipment to be identified so as to obtain attribute information of the attribute corresponding to the second object identifier. The attribute information is then matched with the corresponding expectation information.
Step S012, if the acquired attribute information of the device to be identified matches the corresponding expected information, determining that the device to be identified satisfies the discovery rule.
If the obtained matching result shows that the obtained attribute information is matched with the corresponding expected information, the device to be identified can be judged to meet the discovery rule, namely the device to be identified belongs to the device type corresponding to the discovery rule.
Further, after the step S011, the method further includes:
step S0121, if the device to be identified does not have the attribute corresponding to the second object identifier, or the obtained attribute information is not matched with the corresponding expected information, determining that the device to be identified does not meet the discovery rule.
If the monitoring server does not receive the attribute information of the attribute corresponding to the device to be identified and the second object identifier, or the obtained attribute information is not matched with the corresponding expected information, that is, the obtained attribute information exceeds the information selection range represented by the expected information, it can be determined that the device to be identified does not meet the discovery rule.
Examples are as follows:
the monitoring server classifies the devices into three device types: a1, a2, A3; respectively corresponding to the discovery rules: b1, B2, B3, mapping rules: c1, C2, C3; the discovery rule B1 includes a second object identifier d1, d2 and corresponding expectation information e1, e2, respectively; the discovery rule B2 includes a second object identifier d1, d3 and corresponding expectation information e1, e3, respectively; the discovery rule B3 includes a second object identifier d2, d4 and corresponding expectation information e2, e4, respectively; the mapping rule C1 includes first object identifiers d1, d2, d5, d 6; the mapping rule C2 includes first object identifiers d1, d3, d5, d 6; the mapping rule C3 includes first object identifiers d2, d4, d5, d 6.
When the device to be identified X is monitored, matching the discovery rules B1, B2 and B3 with the device to be identified X respectively, wherein the obtained matching results are respectively as follows: the attribute information corresponding to d1 in X is s1, s1 is matched with e1, and X does not include the attribute information corresponding to d 2; attribute information corresponding to d1 in X is s1, and s1 matches e1, attribute information corresponding to d3 in X is s3, and s1 matches e 3; x does not include attribute information corresponding to d2, and X does not include attribute information corresponding to d 2. It can be seen that X satisfies the discovery rule B2, which corresponds to the mapping rule C2, and thus, X includes attribute information corresponding to the first object identifiers d1, d3, d5, d 6.
And S013, determining the mapping rule corresponding to the equipment to be identified according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
After the discovery rule satisfied by the device to be identified is determined, so as to obtain the device type to which the device to be identified belongs, the mapping rule corresponding to the device to be identified can be further determined according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
According to the embodiment of the invention, the second object identifier and the corresponding expectation information are set in the discovery rule, and the attribute information and the expectation information corresponding to the device to be identified and the second object identifier are matched, so that the discovery rule met by the device to be identified can be simply and quickly determined, and the mapping rule corresponding to the discovery rule is further determined.
Based on the above embodiment, further, after the step S012, the method further includes:
and obtaining the manufacturing information of the equipment to be identified according to the matching result of each attribute information and the corresponding expectation information.
In the process of judging the discovery rule satisfied by the device to be identified, the obtained attribute information is matched with the corresponding expected information, so that the manufacturing information of the device to be identified, such as a manufacturer, a model and the like, can be further obtained.
According to the embodiment of the invention, the manufacturing information of the equipment to be identified is obtained through the matching result of each attribute information and the corresponding expectation information, so that the equipment to be identified can be identified in more detail.
Based on the foregoing embodiment, further, the determining that the device to be identified meets the preset discovery rule specifically includes:
and sequentially judging whether the equipment to be identified meets the discovery rules or not according to the preset priority of each discovery rule until the discovery rules met by the equipment to be identified are determined.
In the process of matching each discovery rule with the device to be identified, in order to enable the whole matching process to be more reasonable and ordered, the priority of each discovery rule device can be correspondingly prioritized. And after the equipment to be identified is determined not to meet the current discovery rule, calling the next discovery rule to execute the matching process until the equipment to be identified is determined to meet the current discovery rule, and terminating the matching process.
The priority may be divided according to important programs of the corresponding device type, or occupancy among all devices in the network, and the like, and is not particularly limited herein.
According to the embodiment of the invention, the matching process of the discovery rule and the equipment to be identified is more reasonable and ordered by the preset priority of the discovery rule, and the identification speed of the equipment to be identified is accelerated.
Based on the above embodiment, further, before the step S01, the method further includes:
and step S00, obtaining the equipment to be identified by scanning a preset IP address range.
The monitoring server scans each IP address within a specified IP address range or outside an excluded IP address range, so as to acquire the equipment to be identified.
Further, after the step S00, the method further includes:
and S001, logging in the equipment to be identified according to a preset SNMP certificate corresponding to the SNMP version.
In the process of scanning the IP addresses one by one, if a certain IP address is determined to be connected with the equipment to be identified, the equipment to be identified is tried to be logged in according to a preset SNMP certificate corresponding to the SNMP version. If the login is successful, the connection of the equipment to be identified is judged to be normal, otherwise, the connection of the equipment to be identified is judged to be abnormal, and the subsequent identification process cannot be executed.
The embodiment of the invention obtains the equipment to be identified by scanning the preset IP address range and logs in according to the preset SNMP certificate, thereby ensuring that the equipment to be identified can be quickly identified.
Based on the above embodiment, further, the first object identifier and the second object identifier are specifically: a numerical form of a single numerical value, or a tabular form of a plurality of numerical values.
The object identifiers corresponding to the attributes, including the first object identifier in the mapping rule and the second object identifier in the discovery rule, may be set according to actual needs, and may be set in a numerical form composed of a single numerical value as shown in table 1, that is, set as a leaf node; or a table form composed of a plurality of values, that is, a table node is set, and the attribute corresponds to each value in the table.
According to the embodiment of the invention, the object identifiers are set as leaf nodes or table nodes, so that the device types can be more reasonably divided.
Fig. 3 is a schematic structural diagram of an SNMP-based network device maintenance apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a device identification module 10 and an information acquisition module 11, wherein,
the device identification module 10 is configured to obtain a mapping rule corresponding to a device to be identified if it is determined that the device to be identified satisfies a preset discovery rule; the discovery rules are in one-to-one correspondence with the mapping rules; the information acquisition module 11 is configured to obtain attribute information of an attribute corresponding to a first object identifier from the device to be identified according to the first object identifier included in the mapping rule. Specifically, the method comprises the following steps:
the device identification module 10 establishes in advance a one-to-one correspondence relationship of the attributes and the object identifiers.
The device identification module 10 classifies the devices according to the characteristics of the devices in the network, and sets mapping rules and discovery rules corresponding to each device type in advance, and as a result, the mapping rules and the discovery rules also correspond to each other.
The mapping rules specify the number and type of specific attributes contained by the device corresponding to the device type, and an object identifier corresponding to each attribute, referred to herein as a first object identifier.
And the corresponding discovery rule is used to determine the device type to which the device belongs.
When the device identification module 10 acquires a device to be identified in a network, each preset discovery rule may be respectively matched with the monitored device to be identified, so as to determine whether the device to be identified satisfies a certain discovery rule:
if the device type is not satisfied, judging that the device to be identified belongs to a device type which cannot be identified by the monitoring server;
if the device to be identified meets a certain discovery rule, the device to be identified can be determined to belong to the device type corresponding to the discovery rule, and the mapping rule corresponding to the device to be identified is obtained according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
The device identification module 10 extracts the first object identifier included in the mapping rule corresponding to the device to be identified, and the information acquisition module 11 tries to acquire the attribute information of the attribute of the device to be identified corresponding to the first object identifier. Specifically, the information acquisition module 11 may send an information acquisition instruction including a first object identifier to the device to be identified, so that the device to be identified replies attribute information of an attribute corresponding to the first object identifier.
Then, the current operation condition of the equipment to be identified can be obtained by analyzing the received attribute information, so as to judge whether a fault is likely to occur, eliminate hidden dangers in time, prevent the occurrence of the fault, and dispose the fault which has occurred in time.
The apparatus provided in the embodiment of the present invention is configured to execute the method, and the functions of the apparatus refer to the method embodiment specifically, and detailed method flows thereof are not described herein again.
The embodiment of the invention determines the equipment type of the equipment to be identified according to the preset one-to-one corresponding relation between the discovery rule and the mapping rule by the discovery rule, and then obtains the attribute information of each attribute in the equipment to be identified according to the object identifier in the corresponding mapping rule, thereby simply and quickly realizing the identification of the equipment to be identified and the collection of the attribute information.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)401, a communication Interface (communication Interface)403, a memory (memory)402 and a communication bus 404, wherein the processor 401, the communication Interface 403 and the memory 402 complete communication with each other through the communication bus 404. Processor 401 may call logic instructions in memory 402 to perform the above-described method.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments.
Further, the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the methods provided by the above method embodiments.
Those of ordinary skill in the art will understand that: furthermore, the logic instructions in the memory 402 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A network equipment maintenance method based on SNMP is characterized by comprising the following steps:
if the device to be identified meets the preset discovery rule, obtaining a mapping rule corresponding to the device to be identified; the discovery rules are in one-to-one correspondence with the mapping rules;
and acquiring attribute information of an attribute corresponding to the first object identifier from the equipment to be identified according to the first object identifier contained in the mapping rule.
2. The SNMP-based network device maintenance method according to claim 1, wherein if it is determined that a device to be identified satisfies a preset discovery rule, a mapping rule corresponding to the device to be identified is obtained; the method specifically comprises the following steps:
according to a second object identifier and expectation information corresponding to the second object identifier included in the discovery rule, acquiring attribute information of an attribute corresponding to the second object identifier from the equipment to be identified, and matching the attribute information with the corresponding expectation information;
if the acquired attribute information of the equipment to be identified is matched with the corresponding expected information, judging that the equipment to be identified meets the discovery rule;
and determining the mapping rule corresponding to the equipment to be identified according to the one-to-one correspondence relationship between the discovery rule and the mapping rule.
3. The SNMP-based network device maintenance method according to claim 2, wherein after acquiring attribute information of an attribute corresponding to a second object identifier from the device to be identified according to the second object identifier included in the discovery rule and expectation information corresponding to the second object identifier and matching the attribute information with the corresponding expectation information, the SNMP-based network device maintenance method further comprises:
if the attribute corresponding to the second object identifier does not exist in the device to be identified, or the acquired attribute information is not matched with the corresponding expected information, judging that the device to be identified does not meet the discovery rule.
4. The SNMP-based network device maintenance method according to claim 3, wherein after determining that the device to be identified satisfies the discovery rule, the SNMP-based network device maintenance method further comprises:
and obtaining the manufacturing information of the equipment to be identified according to the matching result of each attribute information and the corresponding expectation information.
5. The SNMP-based network device maintenance method according to claim 1, wherein the determining that the device to be identified satisfies a preset discovery rule specifically comprises:
and sequentially judging whether the equipment to be identified meets the discovery rules or not according to the preset priority of each discovery rule until the discovery rules met by the equipment to be identified are determined.
6. An SNMP based network device maintenance method according to any of claims 1-5, wherein the SNMP based network device maintenance method further comprises:
and scanning a preset IP address range to obtain the equipment to be identified.
7. The SNMP-based network device maintenance method according to claim 6, wherein after obtaining the device to be identified by scanning a preset IP address range, the SNMP-based network device maintenance method further comprises:
and logging in the equipment to be identified according to a preset SNMP certificate corresponding to the SNMP version.
8. An SNMP-based network device maintenance method according to claim 7, wherein the first object identifier and the second object identifier are specifically: a numerical form of a single numerical value, or a tabular form consisting of a plurality of numerical values.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the SNMP-based network device maintenance method according to any one of claims 1 to 8 are implemented by the processor when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the SNMP-based network device maintenance method according to any one of claims 1-8.
CN201911142668.9A 2019-11-20 2019-11-20 Network equipment maintenance method based on SNMP Pending CN110995476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911142668.9A CN110995476A (en) 2019-11-20 2019-11-20 Network equipment maintenance method based on SNMP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911142668.9A CN110995476A (en) 2019-11-20 2019-11-20 Network equipment maintenance method based on SNMP

Publications (1)

Publication Number Publication Date
CN110995476A true CN110995476A (en) 2020-04-10

Family

ID=70085420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911142668.9A Pending CN110995476A (en) 2019-11-20 2019-11-20 Network equipment maintenance method based on SNMP

Country Status (1)

Country Link
CN (1) CN110995476A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122639A (en) * 1997-12-23 2000-09-19 Cisco Technology, Inc. Network device information collection and change detection
US20020097721A1 (en) * 2001-01-23 2002-07-25 Mckenzie Douglas Evans Methods, systems and computer program products for determining simple network management protocol (SNMP) object identifiers in a management information base (MIB) file
US20040221041A1 (en) * 2003-04-29 2004-11-04 Bassam Tabbara Method and apparatus for discovering network devices
CN103294462A (en) * 2012-03-05 2013-09-11 阿里巴巴集团控股有限公司 Object mapping processing method, mapping processor and object mapping processing system
US20190207801A1 (en) * 2017-12-29 2019-07-04 Dell Products, Lp System and Method for Rule-Based Simple Network Management Protocol Agent

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122639A (en) * 1997-12-23 2000-09-19 Cisco Technology, Inc. Network device information collection and change detection
US20020097721A1 (en) * 2001-01-23 2002-07-25 Mckenzie Douglas Evans Methods, systems and computer program products for determining simple network management protocol (SNMP) object identifiers in a management information base (MIB) file
US20040221041A1 (en) * 2003-04-29 2004-11-04 Bassam Tabbara Method and apparatus for discovering network devices
CN103294462A (en) * 2012-03-05 2013-09-11 阿里巴巴集团控股有限公司 Object mapping processing method, mapping processor and object mapping processing system
US20190207801A1 (en) * 2017-12-29 2019-07-04 Dell Products, Lp System and Method for Rule-Based Simple Network Management Protocol Agent

Similar Documents

Publication Publication Date Title
US20220239687A1 (en) Security Vulnerability Defense Method and Device
US20120297059A1 (en) Automated creation of monitoring configuration templates for cloud server images
US20210306354A1 (en) Clustering enhanced analysis
CN101834760B (en) IPS (Intrusion Prevention System) device based attack detecting method and IPS device
CN111182659B (en) Mode switching method and mode switching device of Mesh equipment and Mesh equipment
CN109787827B (en) CDN network monitoring method and device
US20060248179A1 (en) Method and system for event-driven network management
CN112751733A (en) Link detection method, device, equipment, system and switch
US9641595B2 (en) System management apparatus, system management method, and storage medium
KR102156891B1 (en) System and method for detecting and blocking web attack through web protocol behavior analysis based on ai machine learning
CN114338068A (en) Multi-node vulnerability scanning method and device, electronic equipment and storage medium
CN114915561A (en) Network topological graph generation method and device
CN110380981B (en) Flow distribution method and equipment
US20230318923A1 (en) Proactive inspection technique for improved classification
CN110995476A (en) Network equipment maintenance method based on SNMP
EP3570495A1 (en) Device management method and related device
CN112866186B (en) Security level determination method and device
CN115001974A (en) Cluster system consistency detection method, device, system, equipment and storage medium
CN109889619B (en) Abnormal domain name monitoring method and device based on block chain
CN113824587A (en) Multi-communication protocol equipment management method and system
CN114513419A (en) Security policy configuration method and system
CN113852984A (en) Wireless terminal access monitoring system and method, electronic equipment and readable storage device
CN106603473B (en) Network security information processing method and network security information processing system
WO2024057531A1 (en) System, method, and medium for proactive monitoring of a network
CN114827086B (en) Method, device, equipment and storage medium for detecting IP discovery

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

Application publication date: 20200410

RJ01 Rejection of invention patent application after publication