Server monitoring system and method

By introducing front-end data acquisition, transmission, analysis and alarm modules into the server monitoring system, the real-time and accuracy of monitoring data processing in the existing technology are solved, and efficient monitoring and abnormal alarms are achieved for the server operation.

CN113254310BActive Publication Date: 2024-11-08BEIJING SOUFUN SCI & TECH DEV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110572012.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-25
Publication Date
2024-11-08
Estimated Expiration
2041-05-25

AI Technical Summary

Technical Problem

The prior art cannot meet real-time and accuracy when processing server monitoring data, especially when IT scale is expanded and equipment increases, it is difficult to effectively monitor the operation of the server by manual analysis.

Method used

Design a server monitoring system, including front-end data acquisition module, data transmission module, data analysis module and alarm module, front-end data acquisition module monitors resource items and collects data on the target server, and the data transmission module regularly transmits data to the data center. The data analysis module judges data abnormalities and triggers alarm operations to improve the real-time and accuracy of monitoring.

Benefits of technology

Through automated data acquisition and analysis, real-time and accuracy of server monitoring are improved, data abnormalities can be detected in a timely manner and alarm operations can be performed, improving the efficiency and reliability of the monitoring system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254310B_ABST
    Figure CN113254310B_ABST
Patent Text Reader

Abstract

The present invention provides a server monitoring system and method, which includes: at least one front-end data acquisition module, a data transmission module corresponding to each front-end data acquisition module, a data analysis module and an alarm module; each front-end data acquisition module is used to determine the resource items to be monitored of the target server when the monitoring service of the target server is in an open state, and collect the monitoring data of each resource item to be monitored; the data transmission module is used to transmit the monitoring data collected by the front-end data acquisition module to a data center; the data analysis module is used to determine whether the monitoring data of each resource item to be monitored received by the data center meets the data abnormality condition; the alarm module is used to determine the abnormal alarm level of the monitoring data that meets the data abnormality condition, and perform an alarm operation based on the abnormal alarm level. The server monitoring system provided by the present invention can improve the real-time and accuracy of server monitoring.
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 processing, and in particular to a server monitoring system and method. Background Art

[0002] With the development of computer science and technology, the requirements for server performance and reliability are constantly increasing; in order to ensure that the server can continue to perform its tasks reliably, it is necessary to monitor the operation of the server.

[0003] In the existing technology, management users are often required to conduct careful and strict analysis on each piece of data information in order to judge the current situation. However, with the expansion of IT scale and the increase of equipment, monitoring data is also increasing exponentially. There is a problem that manual data analysis methods cannot meet the real-time and accuracy requirements in the process of processing monitoring data. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a server monitoring system and method, which can improve the real-time performance and accuracy of server monitoring.

[0005] A server monitoring system, comprising:

[0006] At least one front-end data acquisition module, a data transmission module, a data analysis module and an alarm module corresponding to each of the front-end data acquisition modules; wherein each of the front-end data acquisition modules is deployed on a target server corresponding to each of the front-end data acquisition modules;

[0007] Each of the front-end data collection modules is used to determine the resource items to be monitored of the target server when the monitoring service of the corresponding target server is in an enabled state, and collect monitoring data of each of the resource items to be monitored;

[0008] The data transmission module is used to transmit the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval;

[0009] The data analysis module is used to determine whether the monitoring data of each resource item to be monitored that has been received by the data center meets the data anomaly condition corresponding to the resource item to be monitored;

[0010] The alarm module is used to determine the abnormal alarm level of the monitoring data that meets the data abnormality condition, and perform an alarm operation based on the abnormal alarm level.

[0011] The above system may optionally further include a system operation monitoring module;

[0012] The system operation monitoring module is used to collect the operation log of the alarm module and display the operation log on a preset display interface.

[0013] In the above system, optionally, the front-end data acquisition module includes:

[0014] A first determination submodule is used to determine the switch state of the monitoring service of each monitoring resource item in the monitoring resource item set;

[0015] The second determining submodule is used to determine the monitoring resource items whose switch status is characterized as being in the on state as the resource items to be monitored.

[0016] The above system may optionally further include: a configuration module;

[0017] The configuration module is used to display a configuration interface; the configuration interface includes switch controls for each of the target servers and each of the monitoring resource items; in response to a user performing a first operation on any one of the switch controls, the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control is set to a closed state.

[0018] In the above system, optionally, the alarm module comprises:

[0019] A third determination submodule is used to determine an alarm field of the monitoring data corresponding to the abnormal alarm level;

[0020] A generating submodule, used for generating alarm information based on the alarm field;

[0021] The alarm submodule is used to send the alarm information to the user corresponding to the resource item to be monitored to which the monitoring data belongs, so as to alarm the user.

[0022] A server monitoring method is applied to a server monitoring system, wherein the server monitoring system comprises a front-end data acquisition module deployed on a target server, a data transmission module corresponding to the front-end acquisition module, a data analysis module and an alarm module, and the method comprises:

[0023] The front-end data acquisition module determines the resource items to be monitored of the target server when the monitoring service of the target server is in an enabled state, and collects monitoring data of each resource item to be monitored;

[0024] The data transmission module transmits the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval;

[0025] The data analysis module determines whether the monitoring data of each resource item to be monitored received by the data center meets the data anomaly condition corresponding to the resource item to be monitored;

[0026] The alarm module determines an abnormal alarm level of the monitoring data that meets the data abnormality condition, and performs an alarm operation based on the abnormal alarm level.

[0027] In the above method, optionally, the database monitoring system further includes a system operation monitoring module; the method further includes:

[0028] The system operation monitoring module collects the operation log of the alarm module and displays the operation log on a preset display interface.

[0029] In the above method, optionally, the step of determining the resource items to be monitored includes:

[0030] Determine the on / off state of the monitoring service of each monitoring resource item in the preset monitoring resource item set;

[0031] The monitoring resource items whose switch status of the monitoring service is characterized as being in an on state are determined as resource items to be monitored.

[0032] In the above method, optionally, the database monitoring system further includes a configuration module; the method further includes:

[0033] The configuration module displays a configuration interface; the configuration interface includes a target server and a switch control for each of the monitoring resource items;

[0034] In response to the user performing a first operation on any one of the switch controls, the configuration module sets the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control to a closed state.

[0035] In the above method, optionally, performing an alarm operation based on the abnormal alarm level includes:

[0036] Determine an alarm field of the monitoring data corresponding to the abnormal alarm level;

[0037] generating alarm information based on the alarm field;

[0038] The alarm information is sent to a user corresponding to the monitoring resource item to which the monitoring data belongs, so as to alert the user.

[0039] Compared with the prior art, the present invention has the following advantages:

[0040] The present invention provides a server monitoring system and method, which comprises: at least one front-end data acquisition module, a data transmission module corresponding to each of the front-end data acquisition modules, a data analysis module and an alarm module; wherein each of the front-end data acquisition modules is deployed on a target server corresponding to each of the front-end data acquisition modules; each of the front-end data acquisition modules is used to determine the resource items to be monitored of the target server when the monitoring service of the target server corresponding to the front-end data acquisition module is in an on state, and to collect the monitoring data of each of the resource items to be monitored; the data transmission module is used to transmit the monitoring data of each of the resource items to be monitored collected by the corresponding front-end data acquisition module to a pre-set data center at a preset time interval; the data analysis module is used to determine whether the monitoring data of each of the resource items to be monitored received by the data center meets the data abnormality condition corresponding to the resource item to be monitored; the alarm module is used to determine the abnormal alarm level of the monitoring data that meets the data abnormality condition, and perform an alarm operation based on the abnormal alarm level. The server monitoring system provided by the embodiment of the present invention is applied. The monitoring data collected by the front-end data acquisition module is transmitted to the data center through the data transmission module, so that the data analysis module analyzes the monitoring data. This can improve the real-time performance of server monitoring. By determining whether the monitoring data of different resource items to be monitored meet the data anomaly conditions corresponding to the resource items to be monitored, the accuracy of server monitoring can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0042] Figure 1 A schematic diagram of the structure of a server monitoring system provided by the present invention;

[0043] Figure 2 Another structural schematic diagram of a server monitoring system provided by the present invention;

[0044] Figure 3 A schematic diagram of a server monitoring system provided by the present invention;

[0045] Figure 4 A method flow chart of a server monitoring method provided by the present invention;

[0046] Figure 5 A flowchart of a process for determining resource items to be monitored provided by the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0049] See also Figure 1 , is a structural diagram of a server monitoring system provided by an embodiment of the present invention, the server monitoring system comprising:

[0050] At least one front-end data acquisition module 101, a data transmission module 102, a data analysis module 103 and an alarm module 104 corresponding to each of the front-end data acquisition modules; wherein each of the front-end data acquisition modules is deployed on a target server corresponding to each of the front-end data acquisition modules 101;

[0051] Each of the front-end data collection modules 101 is used to determine the resource items to be monitored of the target server when the monitoring service of the corresponding target server is in an enabled state, and collect monitoring data of each of the resource items to be monitored;

[0052] The data transmission module 102 is used to transmit the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval;

[0053] The data analysis module 103 is used to determine whether the monitoring data of each resource item to be monitored received by the data center meets the data abnormality condition corresponding to the resource item to be monitored;

[0054] The alarm module 104 is used to determine the abnormal alarm level of the monitoring data that meets the data abnormality condition, and perform an alarm operation based on the abnormal alarm level.

[0055] In an embodiment of the present invention, the target server may refer to a server that currently needs to be monitored. When a monitoring instruction from a user is received, the target server specified by the monitoring instruction may be determined. The target server may be a server that runs a pre-set business task. The business task may refer to a database task. By running the business task, the server can receive and store business data or provide a business data query interface.

[0056] After determining the server specified by the monitoring instruction, the front-end data acquisition module 101 may be deployed for the server.

[0057] Among them, the front-end data acquisition module 101 can correspond to the switch status of the monitoring service of the target server. If the monitoring service of the target server is in the on state, the monitoring data of each resource item to be monitored can be collected. If the monitoring service of the target server is in the off state, the target server can be not monitored.

[0058] Specifically, the resource items to be monitored may be monitoring resource items whose monitoring services are in an enabled state, and the monitoring data of different resource items to be monitored may be different.

[0059] The time interval used by the data transmission module 102 can be set according to actual needs, for example, it can be 1 minute, 3 minutes or 5 minutes, etc.

[0060] In an embodiment of the present invention, the data center may include a core machine, and the data analysis module 103 may classify and organize the summary data collected from the data center, filter out server records that exceed monitoring thresholds and have abnormal service status, and provide historical data for a period of time for trend analysis as needed, such as counting the weekly usage of database space, calculating the average growth rate to deduce the expected capacity warning time, and the data analysis module may be deployed in the data center or connected to the data center.

[0061] The abnormal alarm level of the monitoring data may be determined according to the real-time requirements of the resource item to be monitored to which the monitoring data belongs or the abnormal degree of the monitoring data.

[0062] The server monitoring system provided by the embodiment of the present invention is applied. The monitoring data collected by the front-end data acquisition module is transmitted to the data center through the data transmission module, so that the data analysis module analyzes the monitoring data. This can improve the real-time performance of server monitoring. By determining whether the monitoring data of different resource items to be monitored meet the data anomaly conditions corresponding to the resource items to be monitored, the accuracy of server monitoring can be improved.

[0063] The system provided by the embodiment of the present invention is based on the above solution, specifically, as follows: Figure 2 As shown, the server monitoring system also includes a system operation monitoring module 105;

[0064] The system operation monitoring module is used to collect the operation log of the alarm module and display the operation log on a preset display interface.

[0065] In an embodiment of the present invention, the system operation monitoring module can collect the operation log of the alarm module in real time, obtain the operation monitoring status of the monitoring alarm program by analyzing the log, and display the operation monitoring status of the monitoring alarm program on the interface to facilitate database administrators to understand.

[0066] The system provided by the embodiment of the present invention is based on the above solution. Specifically, the front-end data acquisition module includes:

[0067] A first determination submodule is used to determine the switch state of the monitoring service of each monitoring resource item in the monitoring resource item set;

[0068] The second determining submodule is used to determine the monitoring resource items whose switch status is characterized as being in the on state as the resource items to be monitored.

[0069] In an embodiment of the present invention, the monitoring resource item set may include server network connectivity monitoring, server disk space statistics monitoring, server system time monitoring, database size monitoring, database table record quantity monitoring, account login error monitoring, database job running result monitoring, database master-slave synchronization status monitoring, Alwayson failover monitoring, and the like.

[0070] Among them, each monitoring resource item has a switching status of the monitoring service, and whether to monitor the monitoring resource item can be determined according to the switching status of the monitoring service of each monitoring resource item. If the switching status of the monitoring service of the monitoring resource item is on, the monitoring resource item can be determined as a resource item to be monitored, and the resource item to be monitored can be monitored.

[0071] If the switch status of the monitoring service of the monitoring resource item is represented as a closed state, the monitoring resource item may not be monitored.

[0072] The system provided by the embodiment of the present invention is based on the above solution, specifically, as follows: Figure 3 As shown, the server monitoring system also includes: a configuration module;

[0073] The configuration module is used to display a configuration interface; the configuration interface includes switch controls for each of the target servers and each of the monitoring resource items; in response to a user performing a first operation on any one of the switch controls, the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control is set to a closed state.

[0074] In the embodiment of the present invention, in response to the user performing the second operation on any one of the switch controls, the switching state of the monitoring service of the target server or monitoring resource item corresponding to the switch control is set to the on state.

[0075] The first operation is used to instruct to close the monitoring service of the corresponding target server or monitoring resource item, and the second operation is used to instruct to open the monitoring service of the corresponding target server or monitoring resource item.

[0076] In an embodiment of the present invention, the configuration module can realize the function of closing a certain type of alarm or a certain alarm on a single server by providing a configuration interface for each monitoring resource item and a single server. The operation is flexible and easy to check to prevent the loss of alarm monitoring caused by human forgetfulness.

[0077] The system provided by the embodiment of the present invention is based on the above solution. Specifically, the alarm module includes:

[0078] A third determination submodule is used to determine an alarm field of the monitoring data corresponding to the abnormal alarm level;

[0079] A generating submodule, used for generating alarm information based on the alarm field;

[0080] The alarm submodule is used to send the alarm information to the user corresponding to the resource item to be monitored to which the monitoring data belongs, so as to alarm the user.

[0081] In the embodiment of the present invention, a plurality of candidate alarm fields may be pre-set for the monitoring data of each resource item to be monitored, and each candidate alarm field corresponds to a different abnormal alarm level.

[0082] The alarm field can be filled into a preset alarm message template to generate an alarm message, which can be used to alert the user via email or text message.

[0083] In one embodiment provided by the present invention, the alarm module can define and configure various alarm levels according to the real-time requirements of each resource project to be monitored, and regularly compare the collected data, for example, group and summarize the monitoring data (such as slow query SQL) in terms of month-on-month, year-on-year, TOP indicators, etc., configure SMS alarms and email alarms according to the alarm level; and call the PAAS interface to send relevant alarm information to the PaaS system to alarm the project users.

[0084] See also Figure 3 , which is a framework example diagram of a server monitoring system provided by an embodiment of the present invention. In actual application, front-end data acquisition modules are respectively set for N database servers to perform monitoring operations of monitoring resource items such as disk space monitoring, server connectivity monitoring, system time monitoring, and master-slave synchronization status monitoring, and obtain monitoring data of each monitoring resource item. The collected monitoring data is transmitted to the data center, so that the data analysis model analyzes the monitoring data in the data center, determines abnormal monitoring data based on preset alarm rules, and determines the alarm category according to the real-time requirements of the resource item to be monitored to which the abnormal data belongs. Alarm information is generated according to the alarm type of the abnormal data, displayed on the web display operation platform, and the PAAS interface is called to send the relevant alarm information to the PaaS system to alarm the project leader.

[0085] By applying the system provided by the embodiment of the present invention, an automated database alarm platform is deployed and updated, and the original decentralized monitoring scripts are changed to a centralized monitoring platform, so that the DBA can focus more on the architecture and operation and maintenance of the database. The monitoring system based on Python provides a unified and standardized monitoring platform and various forms of page display functions, so that the operation status of the alarm system can be seen at a glance; the transparency of monitoring is improved and the reliability is enhanced.

[0086] In one embodiment of the present invention, a server monitoring method is provided, which can be applied to the server monitoring system in the above embodiment. The server monitoring system may include a front-end data acquisition module deployed on the target server, a data transmission module corresponding to the front-end acquisition module, a data analysis module, and an alarm module. The method flow chart of the server monitoring method is as follows: Figure 4 As shown, including:

[0087] S401: When the monitoring service of the target server is turned on, the front-end data collection module determines the resource items to be monitored of the target server and collects monitoring data of each resource item to be monitored.

[0088] In an embodiment of the present invention, the switch status of the monitoring service of the target server can be determined first. If the monitoring service of the target server is in the on state, the resource items to be monitored of the target server can be determined, wherein the resource items to be monitored of the target server can be the monitoring resource items in the target server whose monitoring service is in the on state.

[0089] Among them, the monitoring resource items in the target server may include server network connectivity monitoring, server disk space statistics monitoring, server system time monitoring, database size monitoring, database table record quantity monitoring, account login error monitoring, database job running result monitoring, database master-slave synchronization status monitoring, Alwayson failover monitoring, and one or more of the above.

[0090] S402: The data transmission module transmits the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval.

[0091] The time interval can be set according to actual needs, for example, it can be set to 3 minutes.

[0092] S403: The data analysis module determines whether the monitoring data of each resource item to be monitored that has been received by the data center meets the data anomaly condition corresponding to the resource item to be monitored.

[0093] Among them, the data anomaly conditions of each resource item to be monitored are different.

[0094] For example, for monitoring data in server disk space statistics monitoring, the monitoring data may be server disk space, and the corresponding data abnormality condition may be that the server disk space is less than a preset disk space threshold.

[0095] For the monitoring data of the server network connectivity monitoring, the monitoring data may be the network connectivity status of the server, and the corresponding data abnormality condition may be that the network connectivity status of the server indicates that the network of the server is not connected.

[0096] S404: The alarm module determines an abnormal alarm level of the monitoring data that meets the data abnormality condition, and performs an alarm operation based on the abnormal alarm level.

[0097] In the embodiment of the present invention, the alarm operation may be to send alarm information of the resource item to be monitored to which the monitoring data belongs to to the user.

[0098] By applying the server monitoring method provided in the embodiment of the present invention, the monitoring data collected by the front-end data acquisition module is transmitted to the data center through the data transmission module, so that the data analysis module analyzes the monitoring data, which can improve the real-time performance of server monitoring. By determining whether the monitoring data of different resource items to be monitored meet the data anomaly conditions corresponding to the resource items to be monitored, the accuracy of server monitoring can be improved.

[0099] In the method provided in the embodiment of the present invention, based on the above solution, specifically, the database monitoring system further includes a system operation monitoring module; the method further includes:

[0100] The system operation monitoring module collects the operation log of the alarm module and displays the operation log on a preset display interface.

[0101] In the method provided in the embodiment of the present invention, based on the above scheme, specifically, the resource items to be monitored are determined, such as Figure 5 As shown, including:

[0102] S501: Determine the on / off state of the monitoring service of each monitoring resource item in a preset monitoring resource item set.

[0103] In an embodiment of the present invention, the monitoring resource item set may include server network connectivity monitoring, server disk space statistics monitoring, server system time monitoring, database size monitoring, database table record quantity monitoring, account login error monitoring, database job running result monitoring, database master-slave synchronization status monitoring, Alwayson failover monitoring, and the like.

[0104] S502: Determine the monitoring resource items whose switch status of the monitoring service is characterized as being in the on state as the resource items to be monitored.

[0105] Among them, each monitoring resource item has a switching status of the monitoring service, and whether to monitor the monitoring resource item can be determined according to the switching status of the monitoring service of each monitoring resource item. If the switching status of the monitoring service of the monitoring resource item is on, the monitoring resource item can be determined as a resource item to be monitored, and the resource item to be monitored can be monitored.

[0106] If the switch status of the monitoring service of the monitoring resource item is represented as a closed state, the monitoring resource item may not be monitored.

[0107] In the method provided in the embodiment of the present invention, based on the above solution, specifically, the database monitoring system further includes a configuration module, and the method further includes:

[0108] The configuration module displays a configuration interface; the configuration interface includes a target server and a switch control for each of the monitoring resource items;

[0109] In response to the user performing a first operation on any one of the switch controls, the configuration module sets the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control to a closed state.

[0110] In the method provided in the embodiment of the present invention, based on the above solution, specifically, performing an alarm operation based on the abnormal alarm level includes:

[0111] Determine an alarm field of the monitoring data corresponding to the abnormal alarm level;

[0112] generating alarm information based on the alarm field;

[0113] The alarm information is sent to a user corresponding to the monitoring resource item to which the monitoring data belongs, so as to alert the user.

[0114] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0116] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0117] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0118] The above is a detailed introduction to a server monitoring method provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A server monitoring system, characterized in that: include: At least one front-end data acquisition module, a data transmission module, a data analysis module and an alarm module corresponding to each of the front-end data acquisition modules; wherein each of the front-end data acquisition modules is deployed on a target server corresponding to each of the front-end data acquisition modules; Each of the front-end data collection modules is used to determine the resource items to be monitored of the target server when the monitoring service of the corresponding target server is in an enabled state, and collect monitoring data of each of the resource items to be monitored; Wherein, the front-end data acquisition module includes: a first determination submodule, used to determine the switch state of the monitoring service of each monitoring resource item in the monitoring resource item set, the monitoring resource item set includes server network connectivity monitoring, server disk space statistics monitoring, server system time monitoring, database size monitoring, database table record quantity monitoring, account login error monitoring, database job running result monitoring, database master-slave synchronization status monitoring, Alwayson fault transfer monitoring and at least one of the above monitoring resource items; a second determination submodule, used to determine the monitoring resource item whose switch state is characterized as the on state as the resource item to be monitored; The data transmission module is used to transmit the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval; The data analysis module is used to determine whether the monitoring data of each resource item to be monitored that has been received by the data center meets the data anomaly condition corresponding to the resource item to be monitored; The alarm module is used to determine the abnormal alarm level of the monitoring data that meets the data abnormality condition, and perform an alarm operation based on the abnormal alarm level; Among them, the alarm module includes: a third determination sub-module, used to determine the alarm field corresponding to the monitoring data and the abnormal alarm level; a generation sub-module, used to generate alarm information based on the alarm field; an alarm sub-module, used to call the PAAS interface to send the alarm information to the PaaS system, so as to alarm the project user corresponding to the resource project to be monitored to which the monitoring data belongs.

2. The system according to claim 1, characterized in that It also includes a system operation monitoring module; The system operation monitoring module is used to collect the operation log of the alarm module and display the operation log on a preset display interface.

3. The system according to claim 1, characterized in that Also includes: Configuration module; The configuration module is used to display a configuration interface; the configuration interface includes a switch control for each target server and each monitoring resource item; In response to the user performing a first operation on any one of the switch controls, the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control is set to an off state.

4. A server monitoring method, characterized in that: Applied to a server monitoring system, the server monitoring system includes a front-end data acquisition module deployed on a target server, a data transmission module corresponding to the front-end data acquisition module, a data analysis module, and an alarm module, the method includes: The front-end data acquisition module determines the resource items to be monitored of the target server when the monitoring service of the target server is in an enabled state, and collects monitoring data of each resource item to be monitored; Wherein, the determining of the resource items to be monitored of the target server includes: determining the switch state of the monitoring service of each monitoring resource item in a preset monitoring resource item set, wherein the monitoring resource item set includes at least one monitoring resource item of server network connectivity monitoring, server disk space statistics monitoring, server system time monitoring, database size monitoring, database table record quantity monitoring, account login error monitoring, database job running result monitoring, database master-slave synchronization status monitoring, and Alwayson failover monitoring; determining the monitoring resource item whose switch state of the monitoring service is characterized as an on state as the resource item to be monitored; The data transmission module transmits the monitoring data of each resource item to be monitored collected by the corresponding front-end data collection module to a preset data center at a preset time interval; The data analysis module determines whether the monitoring data of each resource item to be monitored received by the data center meets the data anomaly condition corresponding to the resource item to be monitored; The alarm module determines an abnormal alarm level of the monitoring data that meets the data abnormality condition, and performs an alarm operation based on the abnormal alarm level; Among them, the execution of the alarm operation based on the abnormal alarm level includes: determining the alarm field of the monitoring data corresponding to the abnormal alarm level; generating alarm information based on the alarm field; calling the PAAS interface to send the alarm information to the PaaS system to alarm the project user corresponding to the monitoring resource project to which the monitoring data belongs.

5. The method according to claim 4, characterized in that The server monitoring system further includes a system operation monitoring module; the method further includes: The system operation monitoring module collects the operation log of the alarm module and displays the operation log on a preset display interface.

6. The method according to claim 4, characterized in that The server monitoring system further includes a configuration module; the method further includes: The configuration module displays a configuration interface; the configuration interface includes a target server and a switch control for each of the monitoring resource items; In response to the user performing a first operation on any one of the switch controls, the configuration module sets the switch state of the monitoring service of the target server or monitoring resource item corresponding to the switch control to a closed state.

Citation Information

Patent Citations

  • Application monitoring method, apparatus and device, and storage medium

    CN110888780A

  • Server monitoring system

    CN111679958A

  • Method and system for improving operation and maintenance safety of data center machine room

    CN112711509A

  • Cloud platform system

    US20200218580A1