Equipment monitoring system and method based on SNMP (Simple Network Management Protocol)

Through the equipment monitoring system based on the SNMP protocol, real-time monitoring and early warning of data center equipment is realized, the problem of low device log collection efficiency is solved, and the timely detection and processing of security risks is improved.

CN119629082AInactive Publication Date: 2025-03-14SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411668167.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

How to collect equipment logs and promptly discover security risks in equipment operation, especially when managing a large number of equipment in large data centers, it is difficult for existing technology to complete this task efficiently.

Method used

Using a device monitoring system based on the SNMP protocol, the monitoring data of the device is collected through a distributed deployment leaf monitor, sent to the root monitor for preprocessing, and stored in the database server. The web server reads data from the database, conducts early warning analysis, and displays monitoring data and early warning information through the client browser.

Benefits of technology

Real-time monitoring and early warning of data center equipment is realized, the efficiency and accuracy of equipment log collection is improved, and safety hazards of equipment operation are timely discovered and handled, ensuring the stable operation of the data center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629082A_ABST
    Figure CN119629082A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment monitoring system and method based on an SNMP (Simple Network Management Protocol), belongs to the technical field of data monitoring, and aims to solve the technical problem of how to realize equipment log acquisition and timely discover potential safety hazards of equipment operation. The system comprises a monitoring system, a database server, a Web server and a client browser, the monitoring system comprises a root monitor and a plurality of leaf monitors, and the plurality of leaf monitors are deployed in a data center in a distributed manner and are used for collecting monitoring data of corresponding equipment based on an SNMP protocol and sending the monitoring data to the root monitor; the root monitor is used for carrying out data preprocessing on the monitoring data uploaded by each leaf monitor and sending the data to the database server; the database server is used for storing the monitoring data after data preprocessing; the Web server is used for carrying out early warning analysis on the monitoring data after data preprocessing and pushing generated early warning information to related contacts, and the client browser is used for displaying the monitoring data after data preprocessing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data monitoring, in particular to a device monitoring system and method based on the SNMP protocol. Background Art

[0002] Log files provide a detailed record of various daily system events, playing a vital role in ensuring the safe operation of equipment. Large data centers have numerous operational devices, making it time-consuming and laborious to review each device individually. Furthermore, records kept only a short time ago can be overwritten. Therefore, collecting, aggregating, storing, managing, analyzing, querying, and monitoring all device logs can help identify potential safety hazards and better ensure the operation of the data center.

[0003] How to collect equipment logs and promptly discover potential safety hazards in equipment operation is a technical problem that needs to be solved. Summary of the Invention

[0004] The technical task of the present invention is to address the above shortcomings and provide a device monitoring system and method based on the SNMP protocol to solve the technical problem of how to realize device log collection and timely discover safety hazards in device operation.

[0005] In a first aspect, the present invention provides a device monitoring system based on the SNMP protocol, comprising a monitoring system, a database server, a Web server, and a client browser;

[0006] The monitoring system includes a root monitor and multiple leaf monitors. The leaf monitors are distributed in the data center. The leaf monitors are used to collect monitoring data of their corresponding devices based on the SNMP protocol and send the monitoring data to the root monitor. The root monitor is used to pre-process the monitoring data uploaded by each leaf monitor and send the pre-processed monitoring data to the database server.

[0007] The database server is used to store the monitoring data after data preprocessing;

[0008] The web server is used to read the monitoring data after data preprocessing from the database server, perform early warning analysis on the monitoring data after data preprocessing, and push the generated early warning information to relevant contacts. Correspondingly, the client browser is used to display the monitoring data after data preprocessing.

[0009] Preferably, the leaf monitor collects monitoring data of the corresponding device through the monitor probe in a round-robin manner and sends the monitoring data to the root monitor;

[0010] Among them, the monitor probe is a lightweight agent deployed in the monitored environment, which is used to collect monitoring data of specified devices or services. The monitoring data includes performance indicators and log data.

[0011] Preferably, the leaf monitor traverses the SNMP MIB information base and device log of the device through the monitor probe;

[0012] The SNMP MIB information base stores system information and data available for monitoring. System information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the time the device has been running since it was last started, the description is the device's management description, including the manufacturer, model, and purpose, the system name is the device's name and is used for identification, and the services are a list of services provided by the device, including the protocols and service types it runs.

[0013] The device log contains the operating status of the device.

[0014] Preferably, the Web server is configured to perform early warning analysis on designated monitoring data based on a threshold value, and if the threshold value is exceeded, generate early warning data based on the monitoring data exceeding the threshold value.

[0015] In a second aspect, the present invention provides a device monitoring method based on the SNMP protocol, which is used to implement device monitoring through a device monitoring system based on the SNMP protocol as described in any one of the first aspects, comprising the following steps:

[0016] A root monitor and multiple leaf monitors are deployed in the data center. The leaf monitors collect monitoring data of their corresponding devices based on the SNMP protocol and send the monitoring data to the root monitor. The root monitor pre-processes the monitoring data uploaded by each leaf monitor and sends the pre-processed monitoring data to the database server.

[0017] The monitoring data after data preprocessing is stored in the database server;

[0018] The monitoring data after data preprocessing is read from the database server through the Web server, and early warning analysis is performed on the monitoring data after data preprocessing, the generated early warning information is pushed to relevant contacts, and the monitoring data after data preprocessing is displayed through the client browser.

[0019] Preferably, the leaf monitor collects monitoring data of the corresponding device through the monitor probe in a round-robin manner and sends the monitoring data to the root monitor;

[0020] Among them, the monitor probe is a lightweight agent deployed in the monitored environment to collect monitoring data of specified network devices or services. The monitoring data includes performance indicators and log data.

[0021] Preferably, the leaf monitor traverses the SNMP MIB information base and device log of the device through the monitor probe;

[0022] The SNMP MIB information base stores system information and data available for monitoring. System information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the time the device has been running since it was last started, the description is the device's management description, including the manufacturer, model, and purpose, the system name is the device's name and is used for identification, and the services are a list of services provided by the device, including the protocols and service types it runs.

[0023] Device logs include the operating status of network devices.

[0024] Preferably, the Web server performs early warning analysis on the designated monitoring data based on a threshold value, and if the threshold value is exceeded, generates early warning data based on the monitoring data exceeding the threshold value.

[0025] The device monitoring system and method based on the SNMP protocol of the present invention have the following advantages:

[0026] 1. Realize real-time monitoring, monitoring data collection and early warning of data center equipment;

[0027] 2. Monitors are deployed in the data center. The monitoring data collected by the monitors is stored in the database server. The Web server reads the data from the database server and displays it through the client browser. The database server completely isolates the underlying distributed data collection and the front-end client browser, enhancing the system scalability, stability and development parallelism. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0029] The present invention will be further described below with reference to the accompanying drawings.

[0030] Figure 1 This is a flowchart of a device monitoring method based on the SNMP protocol in Example 2. DETAILED DESCRIPTION

[0031] The present invention will be further described below with reference to the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments given are not intended to limit the present invention. Unless there is a conflict, the embodiments of the present invention and the technical features in the embodiments may be combined with each other.

[0032] The embodiment of the present invention provides a device monitoring system and method based on the SNMP protocol, which is used to solve the technical problem of how to realize device log collection and timely discover safety hazards in device operation.

[0033] Example 1:

[0034] The present invention provides an equipment monitoring system based on SNMP protocol, comprising a monitoring system, a database server, a Web server and a client browser.

[0035] The monitoring system includes a root monitor and multiple leaf monitors. Multiple leaf monitors are distributedly deployed in the data center. The leaf monitor is used to collect monitoring data of the corresponding equipment based on the SNMP protocol and send the monitoring data to the root monitor. The root monitor is used to preprocess the monitoring data uploaded by each leaf monitor and send the preprocessed monitoring data to the database server.

[0036] In this embodiment, the leaf monitor collects monitoring data of the corresponding device through the monitor probe in a round-robin manner, and sends the monitoring data to the root monitor; wherein, the monitor probe is a lightweight agent deployed in the monitored environment, used to collect monitoring data of specified network devices or services, and the monitoring data includes performance indicators and log data.

[0037] As a specific implementation of the monitor, the leaf monitor traverses the device's SNMP MIB information base and device logs through the monitor probe. The SNMP MIB information base stores system information and data available for monitoring. The system information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the running time since the device was last started, the description is the management description of the device, including the manufacturer, model, and purpose, the system name is the name of the device, used for identification, and the service is a list of services provided by the device, including the running protocols and service types. The device log stores log data, which includes the device's operating status, that is, information about the device's operating process.

[0038] The database server is used to store the monitoring data after data preprocessing.

[0039] In this embodiment, the collected monitoring data can be divided into three categories: non-real-time data, quasi-real-time data, and real-time data. Real-time data has a relatively large correlation with time, such as data that changes every 1 second. Quasi-real-time data has a relatively small correlation with time, such as data that changes every 5 seconds. Non-real-time data has nothing to do with time, such as logs generated by equipment, which are permanent. For each of the above categories of monitoring data, a rotation cycle can be set. When the leaf monitor collects relevant data through rotation, it can collect equipment-related monitoring data in a rotation manner according to a predetermined time period. Correspondingly, in the database server, the above different categories of monitoring data can be classified and stored, or they can be stored uniformly.

[0040] In this embodiment, the database server performs data preprocessing on the monitoring data received from the root monitor, and can convert monitoring data of different formats into data of a predetermined format and send it to the Web server. At the same time, the collected monitoring data can be cleaned and other data operations can be performed as needed.

[0041] The web server is used to read the monitoring data after data preprocessing from the database server, perform early warning analysis on the monitoring data after data preprocessing, and push the generated early warning information to relevant contacts. Correspondingly, the client browser is used to display the monitoring data after data preprocessing.

[0042] In this embodiment, the Web server is used to perform early warning analysis on designated monitoring data based on a threshold value, and if the threshold value is exceeded, early warning data is generated based on the monitoring data exceeding the threshold value.

[0043] In terms of displaying monitoring data, the client browser can display monitoring data in various forms such as charts, lines, etc., and can also display early warning information.

[0044] When sending warning information to relevant contacts, the warning information can be pushed via email, text message, etc. Correspondingly, the web server has a built-in mapping relationship between network devices in the data network and relevant contacts, as well as basic information about each contact. The basic information includes at least their work scope and contact information, such as the network segment and network device, mobile phone number, and email address that the contact is responsible for.

[0045] The entities within this system include monitors, database servers, and web servers. Leaf monitors are used in data centers to form a distributed monitoring system called a monitor tree. Monitors are deployed in a distributed manner within each monitored data center. Monitor probes (hereinafter referred to as probes) collect all monitoring data from the devices they are responsible for through polling and store it in a database. The web server then reads the information required by the client browser and passes it to the browser. The browser submits data requests to the web server based on the user's various requirements. After review, the web server extracts the required information from the database and displays it to the user through the browser.

[0046] The system disclosed in this embodiment has three levels: data collection level, data storage level, and data presentation level. The database is used to completely isolate the underlying distributed data collection and browser / server (B / S) architecture of the presentation layer, thereby enhancing the scalability, stability, and development parallelism of the system.

[0047] Example 2:

[0048] The present invention provides an equipment monitoring method based on SNMP protocol, which includes three steps: distributed monitoring, data storage and data analysis.

[0049] Step S100 Distributed Monitoring: A root monitor and multiple leaf monitors are deployed in the data center. The leaf monitor collects monitoring data of the corresponding equipment based on the SNMP protocol and sends the monitoring data to the root monitor. The root monitor pre-processes the monitoring data uploaded by each leaf monitor and sends the pre-processed monitoring data to the database server.

[0050] In this embodiment, the leaf monitor collects monitoring data of the corresponding device through the monitor probe in a round-robin manner, and sends the monitoring data to the root monitor; wherein, the monitor probe is a lightweight agent deployed in the monitored environment, used to collect monitoring data of specified network devices or services, and the monitoring data includes performance indicators and log data.

[0051] As a specific implementation of the monitor, the leaf monitor traverses the device's SNMP MIB information base and device logs through the monitor probe. The SNMP MIB information base stores system information and data available for monitoring. The system information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the running time since the device was last started, the description is the management description of the device, including the manufacturer, model, and purpose, the system name is the name of the device, used for identification, and the service is a list of services provided by the device, including the running protocols and service types. The device log stores log data, which includes the device's operating status, that is, information about the device's operating process.

[0052] Step S200: Data storage: The monitoring data after data preprocessing is stored in a database server.

[0053] In this embodiment, the collected monitoring data can be divided into three categories: non-real-time data, quasi-real-time data, and real-time data. Real-time data has a relatively large correlation with time, such as data that changes every 1 second. Quasi-real-time data has a relatively small correlation with time, such as data that changes every 5 seconds. Non-real-time data has nothing to do with time, such as logs generated by equipment, which are permanent. For each of the above categories of monitoring data, a rotation cycle can be set. When the leaf monitor collects relevant data through rotation, it can collect equipment-related monitoring data in a rotation manner according to a predetermined time period. Correspondingly, in the database server, the above different categories of monitoring data can be classified and stored, or they can be stored uniformly.

[0054] In this embodiment, the database server performs data preprocessing on the monitoring data received from the root monitor, and can convert monitoring data of different formats into data of a predetermined format and send it to the Web server. At the same time, the collected monitoring data can be cleaned and other data operations can be performed as needed.

[0055] Step S300 data analysis: read the pre-processed monitoring data from the database server through the Web server, perform early warning analysis on the pre-processed monitoring data, push the generated early warning information to relevant contacts, and display the pre-processed monitoring data through the client browser.

[0056] In this embodiment, the Web server is used to perform early warning analysis on designated monitoring data based on a threshold value, and if the threshold value is exceeded, early warning data is generated based on the monitoring data exceeding the threshold value.

[0057] In terms of displaying monitoring data, the client browser can display monitoring data in various forms such as charts, lines, etc., and can also display early warning information.

[0058] When sending warning information to relevant contacts, the warning information can be pushed via email, text message, etc. Correspondingly, the web server has a built-in mapping relationship between network devices in the data network and relevant contacts, as well as basic information about each contact. The basic information includes at least their work scope and contact information, such as the network segment and network device, mobile phone number, and email address that the contact is responsible for.

[0059] This embodiment implements monitoring and early warning of equipment in a data center through the system disclosed in Example 1.

[0060] The present invention has been shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the means in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the scope of protection of the present invention.

Claims

1. A device monitoring system based on SNMP protocol, characterized in that: Including monitoring system, database server, Web server and client browser; The monitoring system includes a root monitor and multiple leaf monitors. The multiple leaf monitors are distributed and deployed in the data center. The leaf monitors are used to collect monitoring data of the corresponding devices based on the SNMP protocol and send the monitoring data to the root monitor. The root monitor is used to pre-process the monitoring data uploaded by each leaf monitor and send the pre-processed monitoring data to the database server. The database server is used to store the monitoring data after data preprocessing; The web server is used to read the monitoring data after data preprocessing from the database server, perform early warning analysis on the monitoring data after data preprocessing, and push the generated early warning information to relevant contacts. Correspondingly, the client browser is used to display the monitoring data after data preprocessing.

2. The device monitoring system based on the SNMP protocol according to claim 1 is characterized in that: The leaf monitor collects the monitoring data of the corresponding device through the monitor probe in a polling manner and sends the monitoring data to the root monitor; Among them, the monitor probe is a lightweight agent deployed in the monitored environment, which is used to collect monitoring data of specified devices or services. The monitoring data includes performance indicators and log data.

3. The device monitoring system based on the SNMP protocol according to claim 2 is characterized in that: The leaf monitor traverses the device's SNMP MIB information base and device logs through the monitor probe; The SNMP MIB information base stores system information and data available for monitoring. System information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the running time since the device was last started, the description is the management description of the device, including the manufacturer, model, and purpose, the system name is the name of the device and is used for identification, and the service is a list of services provided by the device, including the running protocols and service types. The device log contains the operating status of the device.

4. The device monitoring system based on the SNMP protocol according to any one of claims 1 to 3, characterized in that: The Web server is used to perform early warning analysis on the specified monitoring data based on the threshold value, and if the threshold value is exceeded, early warning data is generated based on the monitoring data exceeding the threshold value.

5. A device monitoring method based on SNMP protocol, characterized in that: The method is used to implement device monitoring through a device monitoring system based on the SNMP protocol as described in any one of claims 1 to 4, comprising the following steps: A root monitor and multiple leaf monitors are deployed in the data center. The leaf monitor collects monitoring data of the corresponding device based on the SNMP protocol and sends the monitoring data to the root monitor. The root monitor pre-processes the monitoring data uploaded by each leaf monitor and sends the pre-processed monitoring data to the database server. The monitoring data after data preprocessing is stored in the database server; The monitoring data after data preprocessing is read from the database server through the Web server, and early warning analysis is performed on the monitoring data after data preprocessing, the generated early warning information is pushed to relevant contacts, and the monitoring data after data preprocessing is displayed through the client browser.

6. The device monitoring method based on SNMP protocol according to claim 5, characterized in that: The leaf monitor collects the monitoring data of the corresponding device through the monitor probe in a polling manner and sends the monitoring data to the root monitor; Among them, the monitor probe is a lightweight agent deployed in the monitored environment to collect monitoring data of specified network devices or services, including performance indicators and log data.

7. The device monitoring method based on SNMP protocol according to claim 6 is characterized in that: The leaf monitor traverses the device's SNMP MIB information base and device logs through the monitor probe; The SNMP MIB information base stores system information and data available for monitoring. System information includes the device's version number, startup time, description, system name, location, and services. The version number is the device's SNMP protocol version, the startup time is the running time since the device was last started, the description is the management description of the device, including the manufacturer, model, and purpose, the system name is the name of the device and is used for identification, and the service is a list of services provided by the device, including the running protocols and service types. Device logs include the operating status of network devices.

8. The device monitoring method based on the SNMP protocol according to any one of claims 5 to 7, characterized in that: The Web server performs early warning analysis on the specified monitoring data based on the threshold value. If the threshold value is exceeded, early warning data is generated based on the monitoring data exceeding the threshold value.

Citation Information

Patent Citations

  • Cloud platform monitoring service system and method based on big data analysis

    CN107070692A

  • Cluster automation monitoring system and method

    CN110287079A

  • Inspection method and system for data center network equipment

    CN111277427A