CN110750690A - Method and system for quickly searching monitoring index of management information base - Google Patents
Method and system for quickly searching monitoring index of management information base Download PDFInfo
- Publication number
- CN110750690A CN110750690A CN201910844131.0A CN201910844131A CN110750690A CN 110750690 A CN110750690 A CN 110750690A CN 201910844131 A CN201910844131 A CN 201910844131A CN 110750690 A CN110750690 A CN 110750690A
- Authority
- CN
- China
- Prior art keywords
- common
- management information
- indexes
- information base
- searching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/906—Clustering; Classification
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method and a system for quickly searching monitoring indexes of a management information base, which comprises the steps of selecting the brand model of equipment and searching common indexes corresponding to the equipment; searching a management information base by adopting the common indexes; if the target object identifier is not found, carrying out global search by using keywords; if the target object identifier is found by adopting the keyword, the keyword is stored as a common index, so that MIB base classification management is carried out on a plurality of devices of different brands and models, and the target object identifier can be conveniently and quickly found by directly adopting the common index. Meanwhile, a management information base of the preset common equipment is used as a basic database to classify brands and models, define common indexes of the equipment and extract object identifiers of the common indexes in the preset management information base.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for quickly searching monitoring indexes of a management information base.
Background
With the rapid development of hardware devices, hardware of various structures is in endless. Hardware including, but not limited to, servers, routers, switches, disk arrays, tape libraries, is critical to monitoring the operation of each device. Generally, a monitoring mode adopted by a Network manager is to acquire data information of each device through an SNMP (Simple Network Management Protocol) interface, so as to find problems occurring in a Network system in time. The SNMP protocol is an application layer protocol that defines how a network manager reads and writes MIB (Management Information Base) objects of a proxy process. The management information base MIB is a standard of network management data in which data items that the network agent device must hold, data types, and operations allowed in each data item are specified. All statistics of the gateway can be obtained by access to data variables such as control and status information of the managed devices.
However, since the MIBs of different manufacturers have certain differences, and the data formats in the MIB information bases of various types of devices are different, the object query mode is single and the process is slow. Currently, the MIB of the prior art only provides a function of extracting data OIDs (Object Identifiers), and the function of performing OID lookup by a user is not very friendly. For example, current MIB browsers support finding OID information for a single file. However, this search method only supports a single file to search for OID object information, and the search device needs to try to search using multiple indexes empirically, which takes a lot of time, so that the period for searching for OID information corresponding to a single index is long.
Therefore, it is necessary to provide a system or platform for quickly searching the monitoring index, which can integrate the MIB information of devices of different models, quickly search the OID, and shorten the time for acquiring the monitoring index.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and a system for quickly searching monitoring indexes of a management information base, which can perform brand and model classification by presetting a common device MIB and extract a target OID identifier, thereby realizing quick searching of monitoring indexes and facilitating unified management of the MIB.
In order to achieve the above object, the present invention provides a method for quickly searching monitoring indexes of a management information base, comprising:
selecting a brand model of equipment, and searching for a common index corresponding to the equipment;
searching a management information base by adopting the common indexes;
if the target object identifier is not found, carrying out global search by using keywords;
and if the target object identifier is found by adopting the keyword, saving the keyword as a common index.
Optionally, the method further comprises the following steps:
adding a brand model of equipment, and importing a corresponding management information base file;
reading the imported management information base file, performing word segmentation and adding indexes;
increasing associative relevance;
and storing the data classification in a database.
Optionally, the system further includes a management information base for presetting common equipment as a basic database, performing brand and model classification, defining common indexes of the equipment, and extracting object identifiers of the common indexes in the preset management information base.
Optionally, matching the index of the management information base file with an object identifier of a common index in the basic database;
and extracting the matched indexes and storing the indexes as common indexes.
Optionally, the matching process includes performing affinity association between the brand model and an existing brand, and then configuring a weight for the imported file content of the management information base according to the size of the affinity and by combining a basic database of the existing brand, so as to match the management information base index with the object identifier of the common index in the basic database according to the weight.
Optionally, the different devices have corresponding common indicators, and the devices include at least one of a server, a router, a switch, and a storage device.
Optionally, the common indicators of the switch include a power state, a fan speed, a port flow, a CPU usage, or a memory usage.
Optionally, the common monitoring index of the storage device includes a CPU usage rate, a memory usage rate, a storage usage rate, or a total size of a disk.
In addition, the invention also provides a system for quickly searching the monitoring index of the management information base, which comprises the following steps:
the common index searching module is used for searching a common index corresponding to the equipment according to the brand model of the selected equipment;
the searching module is used for searching the management information base by adopting the common indexes; if the target object identifier is not found, carrying out global search by using keywords;
and the storage module is used for storing the keywords adopted by the target object identifier as common indexes.
In addition, the present invention also provides an electronic device including:
a memory for storing a computer program;
a processor for executing the computer program stored in the memory, and when the computer program is executed, implementing the above method.
The invention has the advantages and beneficial effects that: compared with the existing gateway equipment monitoring technology, the invention provides a method and a system for quickly searching monitoring indexes of a management information base. Meanwhile, the keywords used when the OID identifier is searched globally are stored as new common indexes, and the available common indexes can be updated and expanded continuously. In addition, the method can store newly-imported MIB library files in a classified manner, automatically identify and extract indexes matched with the existing brand MIB database to correspond to the common OID, is low in learning cost, and greatly shortens the searching time.
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, it is obvious that the drawings in the following description are only part of the descriptions of some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 schematically shows a flowchart of rapidly searching a monitoring index of a management information base according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
In an embodiment, the present invention provides a method for quickly searching a monitoring index of a management information base, which needs to query existing MIB data, and includes:
selecting a brand model of equipment, and searching for a common index corresponding to the equipment;
searching a management information base by adopting the common indexes;
if the target object identifier (OID identifier) is not found, carrying out global search by using keywords;
and if the target OID identification is found by adopting the keyword, saving the keyword as a common index for the next use.
Preferably, the device comprises at least one of a server, a router, a switch, and a storage device.
Preferably, the common criteria used by the different devices are different. The common monitoring indexes of the switch comprise a power state, a fan rotating speed, a port flow, a CPU utilization rate, a memory utilization rate and the like, and the common monitoring indexes of the storage device comprise the CPU utilization rate, the memory utilization rate, a storage utilization rate, the total size of a magnetic disk and the like.
Preferably, the method caches the imported MIB data by means of technologies such as word segmentation, fragmentation, association and the like, and supports quick index search of keywords.
In an embodiment, the method further includes a management information base for presetting common equipment as a basic database, performing brand and model classification, defining common indexes of the equipment, and extracting OID identifiers of the common indexes in the preset management information base. Therefore, target OID identifications of most of equipment corresponding brands and models can be found through preset common indexes.
In one embodiment, as shown in fig. 1, the database does not have MIB database data yet, and a query needs to be performed on the newly imported MIB database file. In this embodiment, based on the hash table, the algorithm matching is performed on the newly imported MIB file content, and the method further includes:
adding a brand model of a designated device, and importing a corresponding Management Information Base (MIB) file;
reading the imported management information base file, performing word segmentation and adding indexes;
increasing associative relevance;
and storing the data classification in a database.
Then, matching the index of the management information base with the OID identification of the common index in the basic database;
and extracting the matched indexes and storing the indexes as common indexes.
Preferably, the matching process includes performing affinity association between the brand model and the existing brand, and then configuring a weight for the imported file content of the management information base according to the size of the affinity and in combination with the basic database of the existing brand, so as to match the management information base index with the OID identifier of the common indicator in the basic database according to the weight. After matching, the OID identifier may be found using the index. If the matching data is wrong, the data can be corrected manually, and the data without problems is supplemented into the basic data source.
The following describes a specific flow in an embodiment:
MIB library files of some manufacturers are input in advance, classified input is carried out according to brands and models, then the corresponding relation between corresponding OIDs and index names is configured and input according to the existing experience accumulation, and the input data is used as a basic data source.
When a new MIB library file needs to be imported, the new MIB file is firstly classified by word segmentation, an index is added to the OID based on the corresponding description information, a full-text search library is created, and the like, and then the operation is stored. And then, performing affinity correlation on the imported MIB library file and the existing brand according to the brand model, configuring weight on the MIB library file content to be imported and the basic data source of the existing brand according to the affinity, and matching the rear end according to a weight algorithm. After matching, the OID identifier may be found using the index. If the matching data is wrong, the data can be corrected manually, and the data without problems is supplemented into the basic data source.
In an embodiment, the present invention further provides a system for quickly searching monitoring indexes of a management information base, including:
the common index searching module is used for searching a common index corresponding to the equipment according to the brand model of the selected equipment;
the searching module is used for searching the management information base by adopting the common indexes; if the target OID identification is not found, carrying out global search by using keywords;
and the storage module is used for storing the keywords of the target OID identifier as common indexes.
In one embodiment, querying existing MIB data in the system comprises:
s1: and entering the system, and selecting the brand model of the specified equipment.
S2: and checking the common indexes through a common index searching module. The common monitoring indexes of the switch are different according to different devices, such as power state, fan rotating speed, port flow, CPU utilization rate, memory utilization rate and the like, and the common monitoring indexes of the storage device are CPU utilization rate, memory utilization rate, storage utilization rate, total size of a disk and the like.
S3: and the searching module is used for searching the management information base by adopting the common indexes. If the required data is not found by adopting the common indexes, the global search is carried out by adopting the keywords. The system processes data, and comprises: the imported MIB data is cached through technologies such as word segmentation and fragmentation, association and the like, and the fast index search of the keywords is supported, if the keywords are searched, the indexes can be stored in a storage module and are ready for use next time.
In one embodiment, if there is no MIB database data in the system, but the query needs to be performed on the relevant MIB database file, the method includes:
s11: and entering a system, adding the brand model of the specified equipment, and importing the corresponding MIB library file.
S12: the imported MIB library file can be read by a system, word segmentation, indexing, association increasing and other operations are carried out for storage, then the existing common index OID is updated and added for algorithm matching, the matched index is extracted, and the index is transferred and stored as the common index.
S13: the operations S1-S3 are performed as in the previous embodiment.
In one embodiment, the present invention also provides an electronic device, including:
a memory for storing a computer program;
a processor, configured to execute the computer program stored in the memory, and when the computer program is executed, implement a method for quickly searching a monitoring index of a management information base, where at least the following steps are implemented:
selecting a brand model of equipment, and searching for a common index corresponding to the equipment;
searching a management information base by adopting the common indexes;
if the target OID identification is not found, carrying out global search by using keywords;
and if the target OID identification is found by adopting the keywords, saving the keywords as common indexes.
Alternatively, the electronic device may be a server or a personal computer, or the like.
Moreover, while the operations of the method and system of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to the above specific embodiments, it is to be understood that the invention is not limited to the specific embodiments disclosed, nor is the division of the aspects, which is for convenience only as the features in these aspects cannot be combined to advantage. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (10)
1. A method for quickly searching monitoring indexes of a management information base is characterized by comprising the following steps:
selecting a brand model of equipment, and searching for a common index corresponding to the equipment;
searching a management information base by adopting the common indexes;
if the target object identifier is not found, carrying out global search by using keywords;
and if the target object identifier is found by adopting the keyword, saving the keyword as a common index.
2. The method of claim 1, further comprising the steps of:
adding a brand model of equipment, and importing a corresponding management information base file;
reading the imported management information base file, performing word segmentation and adding indexes;
increasing associative relevance;
and storing the data classification in a database.
3. The method according to claim 1 or 2, further comprising presetting a management information base of commonly used devices as a basic database, performing brand-model classification, defining commonly used indexes of the devices, and extracting object identifiers of the commonly used indexes in the preset management information base.
4. The method of claim 2, further comprising:
matching the index of the management information base file with the object identifier of the common index in the basic database;
and extracting the matched indexes and storing the indexes as common indexes.
5. The method of claim 4, wherein the matching is performed by affinity-associating the brand model with the existing brand, and then configuring the weight for the imported content of the management information base file according to the size of the affinity and in combination with the base database of the existing brand, so as to match the management information base index with the object identifier of the common index in the base database according to the weight.
6. The method of claim 1, wherein different devices have respective common indicators, the devices including at least one of servers, routers, switches, storage devices.
7. The method of claim 6, wherein the common indicators for the switch include power status, fan speed, port flow, CPU usage, and/or memory usage.
8. The method of claim 6, wherein the common monitoring metrics for the storage device include CPU usage, memory usage, storage usage, or total disk size.
9. A system for rapidly searching monitoring indexes of a management information base based on the method of any one of claims 1 to 8, comprising:
the common index searching module is used for searching a common index corresponding to the equipment according to the brand model of the selected equipment;
the searching module is used for searching the management information base by adopting the common indexes; if the target object identifier is not found, carrying out global search by using keywords;
and the storage module is used for storing the keywords adopted by the target object identifier as common indexes.
10. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program stored in the memory, and when executed, implementing the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910844131.0A CN110750690B (en) | 2019-09-06 | 2019-09-06 | Method and system for quickly searching monitoring index of management information base |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910844131.0A CN110750690B (en) | 2019-09-06 | 2019-09-06 | Method and system for quickly searching monitoring index of management information base |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110750690A true CN110750690A (en) | 2020-02-04 |
CN110750690B CN110750690B (en) | 2022-12-06 |
Family
ID=69276206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910844131.0A Active CN110750690B (en) | 2019-09-06 | 2019-09-06 | Method and system for quickly searching monitoring index of management information base |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110750690B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860663A (en) * | 2021-01-29 | 2021-05-28 | 漳州科华技术有限责任公司 | System configuration method, device, equipment and storage medium |
CN114500215A (en) * | 2022-04-14 | 2022-05-13 | 深圳创新科技术有限公司 | Centralized management method, device and equipment of storage equipment and readable storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968136A (en) * | 2006-04-20 | 2007-05-23 | 华为技术有限公司 | Management information base-based network element configuration parameter mapping method and parameter operation method |
CN101369918A (en) * | 2008-09-25 | 2009-02-18 | 浙江工业大学 | Network management browser |
CN101815012A (en) * | 2009-02-20 | 2010-08-25 | 中兴通讯股份有限公司 | Method and device for acquiring performance data |
US20110242979A1 (en) * | 2010-03-31 | 2011-10-06 | Blue Coat Systems Inc. | Enhanced Random Early Discard for Networked Devices |
CN103577401A (en) * | 2012-07-18 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Mobile terminal searching method and system |
CN104394008A (en) * | 2014-10-10 | 2015-03-04 | 广东电网有限责任公司电力科学研究院 | A method for configuring uniformly different types of intelligent electronic devices and the system thereof |
CN104680303A (en) * | 2014-12-17 | 2015-06-03 | 国家电网公司 | Construction method for SNMP (simple network management protocol)-based business index monitoring system |
CN105095044A (en) * | 2015-06-04 | 2015-11-25 | 曙光信息产业(北京)有限公司 | SNMP based server monitoring method and apparatus |
CN107070898A (en) * | 2017-03-21 | 2017-08-18 | 深圳市思默特科技有限公司 | Apparatus monitoring method and device |
US20170310536A1 (en) * | 2016-04-20 | 2017-10-26 | Martello Technologies Corporation | Systems, methods, and devices for network alarm monitoring |
CN109995720A (en) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团贵州有限公司 | Heterogeneous device manages method, apparatus, system, equipment and medium concentratedly |
-
2019
- 2019-09-06 CN CN201910844131.0A patent/CN110750690B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968136A (en) * | 2006-04-20 | 2007-05-23 | 华为技术有限公司 | Management information base-based network element configuration parameter mapping method and parameter operation method |
CN101369918A (en) * | 2008-09-25 | 2009-02-18 | 浙江工业大学 | Network management browser |
CN101815012A (en) * | 2009-02-20 | 2010-08-25 | 中兴通讯股份有限公司 | Method and device for acquiring performance data |
US20110242979A1 (en) * | 2010-03-31 | 2011-10-06 | Blue Coat Systems Inc. | Enhanced Random Early Discard for Networked Devices |
CN103577401A (en) * | 2012-07-18 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Mobile terminal searching method and system |
CN104394008A (en) * | 2014-10-10 | 2015-03-04 | 广东电网有限责任公司电力科学研究院 | A method for configuring uniformly different types of intelligent electronic devices and the system thereof |
CN104680303A (en) * | 2014-12-17 | 2015-06-03 | 国家电网公司 | Construction method for SNMP (simple network management protocol)-based business index monitoring system |
CN105095044A (en) * | 2015-06-04 | 2015-11-25 | 曙光信息产业(北京)有限公司 | SNMP based server monitoring method and apparatus |
US20170310536A1 (en) * | 2016-04-20 | 2017-10-26 | Martello Technologies Corporation | Systems, methods, and devices for network alarm monitoring |
CN107070898A (en) * | 2017-03-21 | 2017-08-18 | 深圳市思默特科技有限公司 | Apparatus monitoring method and device |
CN109995720A (en) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团贵州有限公司 | Heterogeneous device manages method, apparatus, system, equipment and medium concentratedly |
Non-Patent Citations (2)
Title |
---|
杨毅等: "Web搜索中基于免疫克隆算法的信息检索方法", 《计算机工程与科学》 * |
运维帮: "使用厂商MIB库查找设备OID值并实施监控的方法", 《HTTP://WWW.SOHU.COM/A/64181379_354963》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860663A (en) * | 2021-01-29 | 2021-05-28 | 漳州科华技术有限责任公司 | System configuration method, device, equipment and storage medium |
CN114500215A (en) * | 2022-04-14 | 2022-05-13 | 深圳创新科技术有限公司 | Centralized management method, device and equipment of storage equipment and readable storage medium |
CN114500215B (en) * | 2022-04-14 | 2022-07-26 | 深圳创新科技术有限公司 | Centralized management method, device and equipment of storage equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110750690B (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10956834B2 (en) | Tool for machine-learning data analysis | |
US10860576B2 (en) | Splitting a query into native query operations and post-processing operations | |
US9052938B1 (en) | Correlation and associated display of virtual machine data and storage performance data | |
US11500783B1 (en) | Evicting data associated with a data intake and query system from a local storage | |
US11379482B2 (en) | Methods, systems, and computer readable mediums for performing an aggregated free-form query | |
US9229961B2 (en) | Database management delete efficiency | |
US20190327105A1 (en) | Method and apparatus for pushing information | |
US10685031B2 (en) | Dynamic hash partitioning for large-scale database management systems | |
CN110750690B (en) | Method and system for quickly searching monitoring index of management information base | |
CN112925757A (en) | Method, equipment and storage medium for tracking operation log of intelligent equipment | |
CN114116762A (en) | Offline data fuzzy search method, device, equipment and medium | |
CN111258798A (en) | Fault positioning method and device for monitoring data, computer equipment and storage medium | |
CN113704790A (en) | Abnormal log information summarizing method and computer equipment | |
CN108959454B (en) | Prompting clause specifying method, device, equipment and storage medium | |
US11599396B2 (en) | Resegmenting chunks of data based on source type to facilitate load balancing | |
BR102013016924A2 (en) | Method and apparatus for prioritizing metadata | |
US10394771B2 (en) | Use of search templates to identify slow information server search patterns | |
CN109063215B (en) | Data retrieval method and device | |
CN112463795A (en) | Dynamic hash method, device, equipment and storage medium | |
US10757215B2 (en) | Allocation of computing resources for a computing system hosting multiple applications | |
CN109101595B (en) | Information query method, device, equipment and computer readable storage medium | |
CN114398399A (en) | Retrieval method and device of management information base and electronic equipment | |
CN112732751B (en) | Medical data processing method, device, storage medium and equipment | |
WO2022001626A1 (en) | Time series data injection method, time series data query method and database system | |
CN111680036B (en) | Configuration management database based on graph storage |
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 | ||
CB02 | Change of applicant information |
Address after: 214100 No. 6, science and education software park, Binhu District, Wuxi City, Jiangsu Province Applicant after: Huayun data holding group Co.,Ltd. Address before: No. 6 Science and Education Software Park, Binhu District, Wuxi City, Jiangsu Province Applicant before: WUXI CHINAC DATA TECHNICAL SERVICE Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |