CN110750690B - 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
- CN110750690B CN110750690B CN201910844131.0A CN201910844131A CN110750690B CN 110750690 B CN110750690 B CN 110750690B CN 201910844131 A CN201910844131 A CN 201910844131A CN 110750690 B CN110750690 B CN 110750690B
- Authority
- CN
- China
- Prior art keywords
- common
- management information
- information base
- indexes
- 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.)
- Active
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, common indexes of the equipment are defined, and object identifiers of the common indexes in the preset management information base are extracted.
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 the individual devices. 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, the current MIB browser supports finding OID information of 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 by experience, 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 for a monitoring index, which can integrate MIB information of devices of different models, quickly search for OID, and shorten the time for obtaining 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, performing 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 is to perform affinity association between the brand and the model and an existing brand, and then configure a weight for the imported content of the management information base file according to the size of the affinity and in combination with 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, 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, the method is realized.
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 or prior art solutions of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the description are only part of the description of some embodiments of the present invention, and it is also possible for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 schematically shows a flow chart 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 the brand model of a device, and searching for a common index corresponding to the device;
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 using a management information base of the preset common device as a basic database, performing brand and model classification, defining common indicators of the device, and extracting OID identifiers of the common indicators in the preset management information base. Therefore, the target OID identification of the corresponding brand and model of most equipment can be found through the 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 association;
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 and model of the specified equipment.
S2: and checking the common indexes through a common index searching module. According to different devices, common indicators are different, for example, common monitoring indicators of the switch include a power state, a fan rotation speed, a port flow, a CPU utilization rate, a memory utilization rate and the like, and common monitoring indicators of the storage device include a CPU utilization rate, a memory utilization rate, a storage utilization rate, a 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 following steps: the imported MIB data is cached through technologies such as word segmentation, fragmentation, association and the like, and the fast index searching of the keywords is supported, if the keywords are searched, the indexes can be stored in a storage module and are ready for the next use.
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 steps of 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 the brand model of a device, and searching for a common index corresponding to the device;
searching a management information base by adopting the common indexes;
if the target OID identification is not found, global search is carried out by adopting 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.
Further, 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 these 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 (7)
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, performing global search by using keywords;
if the target object identifier is found by adopting the keyword, saving the keyword as a common index;
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 association;
storing the data classification in a database;
matching the index of the management information base file with the object identifier of the common index in the basic database;
extracting matched indexes and storing the indexes as common indexes;
the matching process is to carry out affinity correlation between the brand model and the existing brand, and then configure the weight for the imported file content of the management information base by combining the basic database of the existing brand according to the size of the affinity, 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.
2. The method of claim 1, further comprising a management information base of preset common devices as a base database, performing brand-model classification, defining common indicators of the preset common devices, and extracting object identifiers of the common indicators in the preset management information base.
3. The method of claim 1, wherein different devices have respective common indicators, the devices including at least one of a server, a router, a switch, a storage device.
4. The method of claim 3, wherein the common indicators for the switch include power status, fan speed, port flow, CPU usage, and/or memory usage.
5. The method of claim 3, wherein the common monitoring metrics for the storage device include CPU usage, memory usage, storage usage, or total disk size.
6. A system for rapidly searching monitoring indexes of a management information base based on the method of any one of the claims 1 to 5, which is characterized by comprising 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.
7. 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-5.
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 CN110750690A (en) | 2020-02-04 |
CN110750690B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860663B (en) * | 2021-01-29 | 2023-02-28 | 漳州科华电气技术有限公司 | System configuration method, device, equipment and storage medium |
CN114020560B (en) * | 2021-10-20 | 2024-10-29 | 东软集团股份有限公司 | Method and device for collecting monitoring data, storage medium and electronic equipment |
CN114398399A (en) * | 2022-01-17 | 2022-04-26 | 华云数据控股集团有限公司 | Retrieval method and device of management information base and electronic equipment |
CN114500215B (en) * | 2022-04-14 | 2022-07-26 | 深圳创新科技术有限公司 | Centralized management method, device and equipment of storage equipment and readable storage medium |
Citations (9)
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 |
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 |
CN109995720A (en) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团贵州有限公司 | Heterogeneous device manages method, apparatus, system, equipment and medium concentratedly |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8897132B2 (en) * | 2010-03-31 | 2014-11-25 | Blue Coat Systems, Inc. | Enhanced random early discard for networked devices |
US20170310536A1 (en) * | 2016-04-20 | 2017-10-26 | Martello Technologies Corporation | Systems, methods, and devices for network alarm monitoring |
-
2019
- 2019-09-06 CN CN201910844131.0A patent/CN110750690B/en active Active
Patent Citations (9)
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 |
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 |
CN109995720A (en) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团贵州有限公司 | Heterogeneous device manages method, apparatus, system, equipment and medium concentratedly |
Non-Patent Citations (2)
Title |
---|
Web搜索中基于免疫克隆算法的信息检索方法;杨毅等;《计算机工程与科学》;20100515(第05期);第128-129页 * |
使用厂商MIB库查找设备OID值并实施监控的方法;运维帮;《http://www.sohu.com/a/64181379_354963》;20160318;正文第1-12页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110750690A (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110750690B (en) | Method and system for quickly searching monitoring index of management information base | |
US10956834B2 (en) | Tool for machine-learning data analysis | |
US11514032B2 (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 | |
US20120124047A1 (en) | Managing log entries | |
US20200349151A1 (en) | Methods, systems, and computer readable mediums for performing an aggregated free-form query | |
US11556592B1 (en) | Storage estimate generation | |
US11676345B1 (en) | Automated adaptive workflows in an extended reality environment | |
US9229961B2 (en) | Database management delete efficiency | |
US20190327105A1 (en) | Method and apparatus for pushing information | |
US11379530B2 (en) | Leveraging references values in inverted indexes to retrieve associated event records comprising raw machine data | |
US10685031B2 (en) | Dynamic hash partitioning for large-scale database management systems | |
CN112925757A (en) | Method, equipment and storage medium for tracking operation log of intelligent equipment | |
US11599396B2 (en) | Resegmenting chunks of data based on source type to facilitate load balancing | |
CN114116762A (en) | Offline data fuzzy search method, device, equipment and medium | |
CN113704790A (en) | Abnormal log information summarizing method and computer equipment | |
CN111258798A (en) | Fault positioning method and device for monitoring data, computer equipment and storage medium | |
US10757215B2 (en) | Allocation of computing resources for a computing system hosting multiple applications | |
CN108959454B (en) | Prompting clause specifying method, device, equipment and storage medium | |
CN109101595B (en) | Information query method, device, equipment and computer readable storage medium | |
US10394771B2 (en) | Use of search templates to identify slow information server search patterns | |
CN114398399A (en) | Retrieval method and device of management information base and electronic equipment | |
WO2022001626A1 (en) | Time series data injection method, time series data query method and database system | |
CN112732751B (en) | Medical data processing method, device, storage medium and equipment |
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 |