CN112702189A - Method suitable for automatic matching of switch model with monitoring template - Google Patents
Method suitable for automatic matching of switch model with monitoring template Download PDFInfo
- Publication number
- CN112702189A CN112702189A CN202011445705.6A CN202011445705A CN112702189A CN 112702189 A CN112702189 A CN 112702189A CN 202011445705 A CN202011445705 A CN 202011445705A CN 112702189 A CN112702189 A CN 112702189A
- Authority
- CN
- China
- Prior art keywords
- equipment
- information
- monitoring
- object key
- automatically
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
Abstract
The invention discloses a method suitable for automatically matching a monitoring template with a switch model, which comprises the following steps that a user configures an IP address field and information of one or more equipment communities; automatically scanning by the system for possible device discovery combinations based on the IP address segment and the community; if the equipment is found successfully, recording an equipment information base, and simultaneously automatically acquiring an Object Key of the equipment according to a snmp protocol and automatically matching a system equipment model base by using the Object Key; if the correct equipment model is matched, binding the equipment model to the equipment, and calling corresponding equipment monitoring template library information; and self-defining a monitoring item according to the monitoring template, establishing an equipment acquisition task, and completing automatic matching. The Object Key of the equipment is automatically acquired and automatically matched and bound with the equipment model, so that rapid deployment is realized, and time cost is saved.
Description
Technical Field
The invention relates to the technical field of automatic rules, automatic binding equipment and monitoring templates, in particular to a method suitable for automatically matching monitoring templates with switch models.
Background
In recent years, the requirement for safe operation of a power grid system is higher and higher, and the system is also required to monitor the functions and parameters of an exchanger. In system monitoring, a monitoring template is configured, various network parameters can be customized and monitored, the safe operation of the system is ensured, and a flexible notification mechanism is provided to enable a system administrator to quickly locate various problems. The monitoring template is a set of well-defined monitoring items and triggers, and provides an effective set of monitoring function logic. The system can flexibly adjust the monitoring strategy and rule by matching with the configuration of the monitoring template, effectively monitor the switch, collect data and other functions, and ensure the safe operation of the system by monitoring various network parameters. Each switch device needs to match the corresponding monitoring configuration template. The traditional matching mode is that batch binding is manually carried out when the equipment is newly added through the type. However, different monitoring templates may be required for the same device model, and therefore the monitoring templates need to be bound to the device level. However, at the equipment level, when there is a lot of equipment data, the workload of manual operation is large.
Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned conventional problems.
Therefore, the invention provides a method suitable for automatically matching the monitoring template with the switch model, which can solve the association problem of automatic rules, automatic binding equipment and the monitoring template.
In order to solve the technical problems, the invention provides the following technical scheme: the method comprises the steps that a user configures an IP address field and one or more pieces of equipment community information; automatically scanning by the system for possible device discovery combinations based on the IP address segment and the community; if the equipment is found successfully, recording an equipment information base, and simultaneously automatically acquiring an Object Key of the equipment according to a snmp protocol and automatically matching a system equipment model base by using the Object Key; if the correct equipment model is matched, binding the equipment model to the equipment, and calling corresponding equipment monitoring template library information; and self-defining a monitoring item according to the monitoring template, establishing an equipment acquisition task, and completing automatic matching.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: inputting an IP address, an SNMP version and a community name of equipment to be scanned, and sending a data acquisition command by using an SNMP4J program packet to obtain an Object Key of a switch; importing a required manufacturer MIB, synchronizing the equipment information base and analyzing the scanned Object Key of the equipment; fuzzy search is carried out on the equipment management library by using keywords or an Object identifier OID published by a manufacturer, and the searched root directory is double-clicked, so that an Object Key value corresponding to the root directory can be positioned; and comparing the Object Key with the information recorded by the equipment model library, binding the equipment and the model if the Object Key is successfully matched with the information recorded by the equipment model library, and calling the corresponding information of the equipment monitoring template library.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: and monitoring the switch by using the Zabbix monitoring switch and utilizing an SNMP protocol to complete a program to monitor the switch.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: and the operation and maintenance manager independently configures the monitoring template for each equipment model to acquire a required information range.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: configuring the IP address field and the device community information includes inputting an IP address, an SNMP version, and a community name of a device to be scanned.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: the equipment information base comprises a database which is established locally, the equipment information base is synchronized by importing a required manufacturer management information base, accessible equipment control and state information data variables of the equipment information base are obtained, and the scanned Object Key of the equipment is analyzed in the equipment information base.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: the step of automatically matching the system equipment model library by using the Object Key comprises the steps of comparing the Object Key with equipment archive information established by the equipment model library, analyzing equipment technical data, and matching a monitoring template which is in accordance with the actual condition.
As a preferred embodiment of the method for automatically matching a monitoring template for a switch model according to the present invention, the method comprises: the equipment archive information comprises the classification, the grade and the number of records.
The invention has the beneficial effects that: according to the invention, the Object Key of the equipment is automatically acquired and automatically matched and bound with the equipment model, so that rapid deployment is realized, and the time cost is saved; the automatic operation in the system can reduce the manual participation to the maximum extent and save the labor cost; the automatic matching mechanism and the cross authentication with the equipment model library and the equipment information library avoid the wrong operation caused by the subjective judgment of the staff.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise. Wherein:
fig. 1 is a schematic flowchart of a method for automatically matching a monitoring template for a switch model according to an embodiment of the present invention;
fig. 2 is a schematic view of a monitoring template operation flow of a method for automatically matching a monitoring template for a switch model according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below, and it is apparent that the described embodiments are a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present invention, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
Furthermore, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
The present invention will be described in detail with reference to the drawings, wherein the cross-sectional views illustrating the structure of the device are not enlarged partially in general scale for convenience of illustration, and the drawings are only exemplary and should not be construed as limiting the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
Meanwhile, in the description of the present invention, it should be noted that the terms "upper, lower, inner and outer" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and operate, and thus, cannot be construed as limiting the present invention. Furthermore, the terms first, second, or third are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The terms "mounted, connected and connected" in the present invention are to be understood broadly, unless otherwise explicitly specified or limited, for example: can be fixedly connected, detachably connected or integrally connected; they may be mechanically, electrically, or directly connected, or indirectly connected through intervening media, or may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1
Referring to fig. 1 and 2, for a first embodiment of the present invention, a method for automatically matching a monitoring template for a switch model is provided, which includes:
s1: the user configures the IP address field and one or more device community information. Wherein, it is required to be noted that:
inputting an IP address, an SNMP version and a community name of a device to be scanned;
the equipment profile information includes the classification, rating, and number of the record.
S2: based on the IP address segment and community, the system automatically scans for possible device discovery combinations. The steps to be explained are as follows:
the equipment information base comprises a locally established database, the equipment information base is synchronized by importing the required manufacturer management information base, accessible equipment control and state information data variables are obtained, and the scanned equipment Object Key is analyzed in the equipment information base.
S3: and if the equipment is found successfully, recording an equipment information base, and simultaneously automatically acquiring an Object Key of the equipment according to a snmp protocol and automatically matching a system equipment model base by using the Object Key.
S4: and if the correct equipment model is matched, binding the equipment model to the equipment, and calling corresponding equipment monitoring template library information. The steps to be explained are as follows:
inputting an IP address, an SNMP version and a community name of equipment to be scanned, and sending a data acquisition command by using an SNMP4J program packet to obtain an Object Key of a switch;
importing a required manufacturer MIB, synchronizing an equipment information base and analyzing a scanned equipment Object Key;
fuzzy search is carried out on the equipment management library by using keywords or an Object identifier OID published by a manufacturer, and the searched root directory is double-clicked, so that an Object Key value corresponding to the root directory can be positioned;
and comparing the Object Key with the information recorded by the equipment model library, binding the equipment and the model if the Object Key is successfully matched with the information recorded by the equipment model library, and calling the corresponding information of the equipment monitoring template library.
Specifically, the method comprises the following steps:
monitoring the interactive machine by monitoring the switch through the Zabbix and utilizing an SNMP protocol to complete a program;
the operation and maintenance manager independently configures a monitoring template for each equipment model to acquire a required information range;
and comparing the Object Key with the equipment archive information established by the equipment model library, analyzing the technical data of the equipment, and matching the practical monitoring template.
S5: and self-defining the monitoring items according to the monitoring template, establishing equipment acquisition tasks and completing automatic matching.
Referring to fig. 2, it should be further explained in this embodiment that the workflow steps for automatically matching the switch model with the monitoring template include:
(1) inputting an IP address, an SNMP version, and a Community name (Community word) of a device to be scanned;
(2) automatically scanning and discovering the switch;
(3) according to the switch with different models and the characteristics of different Object keys, the scanned Object Key can be analyzed in the equipment information base by importing the needed manufacturer MIB base and synchronizing the equipment information base;
(4) fuzzy search is carried out on the equipment management library by using keywords or Object identifiers OID (Object identifier) published by a manufacturer, and the Object Key value corresponding to the root directory can be positioned by double-clicking the searched root directory;
(5) comparing the Object Key with information recorded by an equipment model library, binding equipment and models after successful matching, and calling corresponding equipment monitoring template library information;
(6) the Zabbix monitoring switch can be used for monitoring by using an SNMP protocol, an operation and maintenance manager independently configures a monitoring template for each equipment model, and the monitoring template establishes a collection task for the equipment bound with the monitoring template according to the set content.
Preferably, the embodiment further needs to be specifically described as follows:
the method comprises the following steps that firstly, an operation and maintenance manager independently configures a monitoring template for each equipment model, the monitoring template is used for configuring an information range to be acquired, and the information range is selected from an appointed range;
secondly, searching and recording the existing equipment and the Object Key thereof by the user through the configured IP address segment and the equipment community through the SNMP;
comparing the acquired Object Key with an equipment model library to acquire and associate a monitoring template corresponding to the model;
and fourthly, the monitoring template establishes an acquisition task for the equipment bound with the monitoring template according to the set content.
In a popular way, the device information base in the embodiment performs data synchronization by combining with a manufacturer MIB base, analyzes a scanned device Object Key, establishes a device model base for recording device information, compares the device model base with the scanned Object Key, automatically binds devices and models after matching is successful according to a set matching degree rule, and simultaneously obtains a corresponding monitoring template according to the models and automatically establishes an acquisition task; according to the invention, the Object Key of the equipment is automatically acquired and automatically matched and bound with the equipment model, so that rapid deployment is realized, the time cost is saved, automatic operation is realized, the manual participation is reduced to the maximum extent, and the labor cost is saved; the automatic matching mechanism and the cross authentication with the equipment model library and the equipment information library avoid the wrong operation caused by the subjective judgment of the staff.
Example 2
In order to verify and explain the technical effects adopted in the method, the embodiment selects a traditional manual matching associated template method to perform a comparison test with the method, compares the test results by means of scientific demonstration, and verifies the real effect of the method.
According to the traditional method for manually matching the associated templates, the monitoring templates are associated on the system by manually judging the equipment model and the importance degree of the equipment, the workload of operation and maintenance personnel is increased through manual operation, more repetitive labor is caused, the operation efficiency is low, the monitoring templates required by the equipment with a specific equipment model and a specific service grade are the same, the matching rule is fixed, and the manual operation is low in efficiency; in order to verify that the method has better automation performance, low cost, higher efficiency and higher target matching accuracy compared with the traditional method, the traditional manual matching associated template method and the method of the invention are adopted in the embodiment to respectively perform real-time measurement comparison on the matching monitoring template of the type of the interactive machine.
And (3) testing environment: the method comprises the steps of running an interactive machine on a simulation platform to simulate driving and simulate a matched monitoring template scene, using a historical interactive machine model as a test sample, respectively carrying out template correlation test by manual operation of a traditional method and obtaining test result data, starting automatic test equipment and using MATLB to realize simulation test of the method, obtaining simulation data according to an experiment result, testing ten groups of data by each method, calculating time and matching error of each group of data, and carrying out comparison error calculation with an actual predicted value input by simulation. The results are shown in the following table:
table 1: and (5) comparing experimental data results with a table.
Referring to table 1, it can be seen visually that, because the traditional method cannot autonomously implement automatic matching processing of the switch model data with difference consistency, and needs manual intervention, the error degree is larger, i.e. the accuracy is lower, in the same number of test samples, the method of the present invention automatically obtains the Object Key of the device based on the snmp protocol and automatically matches the device model library of the system by using the Object Key, so that the matching accuracy of the monitoring template is greatly improved, and the error degree is smaller and the efficiency is higher.
It should be noted that the above-mentioned embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.
Claims (8)
1. A method suitable for automatic matching of monitoring templates of switch models is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
a user configures an IP address field and one or more pieces of equipment community information;
automatically scanning by the system for possible device discovery combinations based on the IP address segment and the community;
if the equipment is found successfully, recording an equipment information base, and simultaneously automatically acquiring an Object Key of the equipment according to a snmp protocol and automatically matching a system equipment model base by using the Object Key;
if the correct equipment model is matched, binding the equipment model to the equipment, and calling corresponding equipment monitoring template library information;
and self-defining a monitoring item according to the monitoring template, establishing an equipment acquisition task, and completing automatic matching.
2. The method for automatically matching supervision templates applicable to switch models according to claim 1, characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
inputting an IP address, an SNMP version and a community name of equipment to be scanned, and sending a data acquisition command by using an SNMP4J program packet to obtain an Object Key of a switch;
importing a required manufacturer MIB, synchronizing the equipment information base and analyzing the scanned Object Key of the equipment;
fuzzy search is carried out on the equipment management library by using keywords or an Object identifier OID published by a manufacturer, and the searched root directory is double-clicked, so that an Object Key value corresponding to the root directory can be positioned;
and comparing the Object Key with the information recorded by the equipment model library, binding the equipment and the model if the Object Key is successfully matched with the information recorded by the equipment model library, and calling the corresponding information of the equipment monitoring template library.
3. The method for automatically matching supervision templates applicable to switch models according to claim 2, characterized in that: and monitoring the interactive machine by monitoring the switch through the Zabbix and utilizing an SNMP protocol to complete a program.
4. The method for automatically matching supervision templates for switch models according to claim 3, characterized in that: and the operation and maintenance manager independently configures the monitoring template for each equipment model to acquire a required information range.
5. The method suitable for the automatic matching of the switch models to the monitoring templates according to claims 1 to 4 is characterized in that: configuring the IP address field and the device community information includes inputting an IP address, an SNMP version, and a community name of a device to be scanned.
6. The method for automatically matching supervision templates for switch models according to claim 5, characterized in that: the equipment information base comprises a database which is established locally, the equipment information base is synchronized by importing a required manufacturer management information base, accessible equipment control and state information data variables of the equipment information base are obtained, and the scanned Object Key of the equipment is analyzed in the equipment information base.
7. The method for automatically matching supervision templates for switch models according to claim 6, characterized in that: the step of automatically matching the system equipment model library by using the Object Key comprises the steps of comparing the Object Key with equipment archive information established by the equipment model library, analyzing equipment technical data, and matching a monitoring template which is in accordance with the actual condition.
8. The method for automatically matching supervision templates for switch models according to claim 7, characterized in that: the equipment archive information comprises the classification, the grade and the number of records.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011445705.6A CN112702189A (en) | 2020-12-11 | 2020-12-11 | Method suitable for automatic matching of switch model with monitoring template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011445705.6A CN112702189A (en) | 2020-12-11 | 2020-12-11 | Method suitable for automatic matching of switch model with monitoring template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112702189A true CN112702189A (en) | 2021-04-23 |
Family
ID=75507908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011445705.6A Pending CN112702189A (en) | 2020-12-11 | 2020-12-11 | Method suitable for automatic matching of switch model with monitoring template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112702189A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113434215A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113448A (en) * | 2014-07-14 | 2014-10-22 | 蓝盾信息安全技术有限公司 | Method for automatically finding and monitoring devices in local area network |
CN105208079A (en) * | 2015-08-13 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | SAN switch monitoring system and method |
CN109921928A (en) * | 2019-02-27 | 2019-06-21 | 广东信通通信有限公司 | Switch network monitoring method, device, computer equipment and storage medium |
-
2020
- 2020-12-11 CN CN202011445705.6A patent/CN112702189A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113448A (en) * | 2014-07-14 | 2014-10-22 | 蓝盾信息安全技术有限公司 | Method for automatically finding and monitoring devices in local area network |
CN105208079A (en) * | 2015-08-13 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | SAN switch monitoring system and method |
CN109921928A (en) * | 2019-02-27 | 2019-06-21 | 广东信通通信有限公司 | Switch network monitoring method, device, computer equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113434215A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
CN113434215B (en) * | 2021-06-28 | 2023-06-16 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109787817B (en) | Network fault diagnosis method, device and computer readable storage medium | |
EP1374486B1 (en) | Method for configuring a network by defining clusters | |
WO2017041406A1 (en) | Failure positioning method and device | |
CN108399114A (en) | A kind of system performance testing method, apparatus and storage medium | |
KR20030086599A (en) | Method And System For Checking The Configuration Of Nodes In A Telecommunications Network | |
CN107566165A (en) | A kind of method and system for finding and disposing electric power cloud data center available resources | |
CN115278741A (en) | Fault diagnosis method and device based on multi-mode data dependency relationship | |
CN114286358A (en) | Method, device and system for processing test data and readable storage medium | |
CN112702189A (en) | Method suitable for automatic matching of switch model with monitoring template | |
CN102608497A (en) | Power failure diagnosis method and device | |
CN111782635A (en) | Data processing method and apparatus, storage medium, and electronic apparatus | |
CN107404413B (en) | Multidimensional analysis automatic dispatching system for operation and maintenance tasks of broadband and 4G dual routers | |
CN106911510B (en) | Usability monitoring system and method for network access system | |
CN107833147A (en) | A kind of electronic billboard system, data processing method and device | |
CN110475161B (en) | Automatic fault positioning method and system for IPTV service live link | |
CN116248393A (en) | Intranet data transmission loophole scanning device and system | |
CN112488491B (en) | Petri network-based train control vehicle-mounted equipment access process reliability evaluation method | |
CN109104730A (en) | A kind of network road measurement method, equipment and system | |
CN116702121B (en) | Method for enhancing access control security in cloud desktop scene | |
US20030161274A1 (en) | Network switch discovery method and apparatus | |
CN113064926B (en) | Data screening method and device, storage medium and electronic device | |
CN115080572A (en) | Automatic regression testing method for media resource retrieval interface | |
CN111314926B (en) | Coverage relation determination method and device and computer readable storage medium | |
CN108335052A (en) | On-line Product checking method and system | |
CN115599657B (en) | Software facility abnormity judgment method |
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 |