A visual server monitoring system and method
By introducing visual pages and flexible alarm rule templates into the server monitoring system, the problems of inflexible alarm mechanism and system weight in the existing technology are solved, and a lightweight and highly flexible server monitoring system is realized.
Patent Information
- Application Number
- CN202110289498.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-18
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2041-03-18
AI Technical Summary
The alarm mechanism of the existing server monitoring system is inflexible, poor expansion and heavy system, making it difficult to meet the needs of small application scenarios.
It provides a visual server monitoring system, including a server data acquisition module, an alarm trigger module and a data indicator display module. It realizes flexible alarm settings through preset alarm rule templates (based on rule expressions and scripting languages), and uses FlashDB for data storage to realize a lightweight monitoring system.
It improves the flexibility and reusability of the alarm mechanism, realizes a lightweight visual server monitoring system, reduces post-maintenance costs, and supports a variety of data display templates.
Smart Images

Figure HDA0002981886160000011 
Figure HDA0002981886160000012 
Figure HDA0002981886160000013
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a visual server monitoring system and method. Background Art
[0002] At present, the Internet is developing rapidly. Many companies' development teams do not have dedicated operation and maintenance personnel, and colleagues engaged in technical development lack professional operation and maintenance knowledge. For example, a very common scenario: web services, nginx, mysql, and redis are deployed on a Linux server. This is originally a small application scenario, but if you want to monitor the running status of each service and set alarms for each service, you have to install one or more monitoring systems. Most of these open source systems are cumbersome to configure and are not suitable for small application scenarios.
[0003] At present, as far as the existing technology is concerned, ZABBIX and Nagios are usually used in small application scenarios for monitoring and alarming. ZABBIX is an enterprise-level open source solution based on a web interface that provides distributed system monitoring and network monitoring functions. It consists of two parts: zabbix server and optional component zabbix agent. Zabbix agent needs to be installed on the monitored target server. It mainly completes the collection of hardware information or memory, CPU and other information related to the operating system. Zabbix server can provide remote server / network status monitoring through SNMP, zabbix agent, ping, port monitoring and other methods. Nagios is a monitoring system that monitors system operation status and network information. Nagios can monitor specified local or remote hosts and services, and provide exception notification functions, etc. Nagios can run on Linux / Unix platforms and provide an optional browser-based WEB interface to facilitate system administrators to view network status, various system problems and logs.
[0004] However, the disadvantages of using ZABBIX are as follows: the installation and configuration are relatively complex, the overall system is heavy, and the subsequent maintenance cost is high; the data is read-only and the monitoring data cannot be aggregated; the alarm mechanism is not flexible enough and difficult to reuse. The disadvantages of Nagios are as follows: it can only be configured in the terminal based on the file configuration method, which is not convenient for expansion, has poor readability, and is time-consuming to manage. It does not have enough built-in functions, and many common requirements need to be implemented through plug-ins. For example, if you want the indicators to be implemented in the form of charts, you need to install the third-party plug-in pnp4nagios. If you need to persist the data in the database, you need to install NDOUtils. Summary of the invention
[0005] In order to solve the technical problems of inflexible alarm mechanism, poor scalability and heavy system of server monitoring system in the prior art, the present invention provides a visual server monitoring system.
[0006] The present invention provides a visual server monitoring system, comprising:
[0007] Server data collection module, used to collect server data in real time;
[0008] An alarm triggering module, which is communicatively connected to the server data acquisition module, is used to obtain a user target alarm rule template based on a preset alarm rule template, and to determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, an alarm behavior is triggered and alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language;
[0009] A data indicator display module is communicatively connected to the server data acquisition module and the alarm trigger module, and is used to visually display the server data, the preset alarm rule template, the user target alarm rule template and the alarm data according to a preset display template.
[0010] The above-mentioned visual server monitoring system, wherein the visual server monitoring system further includes:
[0011] The data storage module is communicatively connected to the server data acquisition module and is used to store the server data in chronological order using FlashDB.
[0012] The above-mentioned visual server monitoring system, wherein the alarm triggering module includes:
[0013] The business tracking point processing unit is communicatively connected to the server data acquisition module, and is used to output the service data to the target location in accordance with a preset data format when the server data corresponding to the target scene is detected, and to notify relevant users for processing.
[0014] In the above-mentioned visual server monitoring system, the method for setting the preset alarm rule template based on the rule expression in the alarm trigger module specifically includes:
[0015] A first alarm relationship between the single server data and a first preset threshold is established, and the preset alarm rule template based on the rule expression is set based on the first alarm relationship. When the single server data satisfies the first alarm relationship, the alarm behavior is triggered.
[0016] In the above-mentioned visual server monitoring system, the method for setting the preset alarm rule template based on the scripting language in the alarm trigger module specifically includes:
[0017] A second alarm relationship between the multiple server data and a second preset threshold is established, a trigger rule is established based on the second alarm relationship, and the preset alarm rule template based on the scripting language is set based on the trigger rule. When the multiple server data meet the trigger rule, the alarm behavior is triggered.
[0018] The above-mentioned visual server monitoring system, wherein the visual server monitoring system further includes:
[0019] The system deployment module is used to deploy the visual server monitoring system based on a war package or a jar package.
[0020] The above-mentioned visual server monitoring system, wherein the visual server monitoring system further includes:
[0021] The configuration module is used to configure and generate system configuration information that can be modified and copied.
[0022] The above-mentioned visual server monitoring system, wherein the server data in the server data acquisition module includes but is not limited to: CPU status data, memory status data, hard disk status data and server process data; the server process data includes but is not limited to: redis process data, mysql process data, nginx process data and tomcat process data.
[0023] In the above-mentioned visual server monitoring system, the triggering alarm behavior in the alarm trigger module includes but is not limited to: notifying the user or performing corresponding operations through email, SMS, enterprise WeChat and DingTalk based on the user target alarm rule template.
[0024] The present invention also provides a visual server monitoring method, comprising:
[0025] Server data collection step, collecting server data in real time;
[0026] The alarm triggering step is to obtain a user target alarm rule template based on a preset alarm rule template, and determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, an alarm behavior is triggered and alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language;
[0027] The indicator display step visually displays the server data, the preset alarm rule template, the user target alarm rule template and the alarm data according to a preset display template.
[0028] Technical effects or advantages of the present invention:
[0029] The present invention provides a visual server monitoring system, including a server data acquisition module, an alarm trigger module and a data indicator display module, wherein the server data acquisition module is respectively connected to the alarm trigger module and the data indicator display module, the alarm trigger module is connected to the data direct mark display module, the server data acquisition module is used to collect server data in real time, the alarm trigger module is used to obtain the user target alarm rule template based on the preset alarm rule template, and judge whether the server data meets the user target alarm rule template, if the user target alarm rule template is met, the alarm behavior is triggered and the alarm data is recorded, wherein the preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language, and the data indicator display module is used to visually display the server data, the preset alarm rule template, the target alarm rule template and the alarm data according to the preset display template. Through the above method, the present invention simply deploys the server monitoring system based on the visual page, and by setting a variety of alarm rule templates, the flexibility and reusability of the alarm mechanism are improved, and a lightweight visual server monitoring system is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the structure of a visual server monitoring system provided by an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of the structure of another visual server monitoring system provided by an embodiment of the present invention;
[0032] Figure 3 A flowchart of a visual server monitoring method provided by an embodiment of the present invention;
[0033] Figure 4 A framework diagram of an electronic device provided by an embodiment of the present invention;
[0034] In the above picture:
[0035] 1. Server data collection module; 2. Alarm trigger module; 21. Business embedding processing unit; 3. Data indicator display module; 4. Data storage module; 5. System deployment module; 6. Configuration module;
[0036] 10. Bus; 11. Processor; 12. Memory; 13. Communication interface. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0038] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the content disclosed in the present application, some changes such as design, manufacturing or production based on the technical content disclosed in the present application are just conventional technical means, and should not be understood as insufficient content disclosed in the present application. The reference to "embodiment" in the present application means that the specific features, structures or characteristics described in conjunction with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various positions in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by ordinary technicians in the field that the embodiments described in the present application can be combined with other embodiments without conflict. Unless otherwise defined, the technical terms or scientific terms involved in the present application should be the common meaning understood by people with general skills in the technical field to which the present application belongs. The words "one", "a", "a kind of", "the" and the like used in this application do not indicate a quantitative limitation and may indicate the singular or the plural. The terms "include", "comprise", "have" and any variations thereof used in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units that are inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0039] The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are merely used to distinguish similar objects and do not represent a specific ordering of objects.
[0040] In order to solve the technical problems of inflexible alarm mechanism, poor scalability and heavy system of server monitoring system in the prior art, the present invention provides a visual server monitoring system, which simply deploys the server monitoring system based on a visual page, improves the flexibility and reusability of the alarm mechanism by setting a variety of alarm rule templates, and realizes a lightweight visual server monitoring system.
[0041] The technical solution of the present invention is described in detail below in conjunction with specific embodiments and the accompanying drawings.
[0042] This embodiment provides a visual server monitoring system, including:
[0043] Server data collection module 1, used for collecting server data in real time;
[0044] The alarm triggering module 2 is communicatively connected to the server data acquisition module 1, and is used to obtain a user target alarm rule template based on a preset alarm rule template, and determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, an alarm behavior is triggered and alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language;
[0045] The data indicator display module 3 is communicatively connected to the server data acquisition module 1 and the alarm trigger module 2, and is used to visually display the server data, the preset alarm rule template, the user target alarm rule template and the alarm data according to a preset display template.
[0046] This embodiment provides a visual server monitoring system, which simply deploys the server monitoring system based on a visual page, improves the flexibility and reusability of the alarm mechanism by setting a variety of alarm rule templates, and implements a lightweight visual server monitoring system.
[0047] refer to Figure 1 , Figure 1A structural diagram of a visual server monitoring system provided in this embodiment. A visual server monitoring system provided in this embodiment includes a server data acquisition module 1, an alarm trigger module 2, a data indicator display module 3, a data storage module 4, a system deployment module 5 and a configuration module 6, wherein the server data acquisition module 1 is respectively connected to the alarm trigger module 2, the data indicator display module 3 and the data storage module 4 in communication, and the data indicator display module 3 is connected to the alarm trigger module 2 in communication.
[0048] The server data collection module 1 is used to collect server data in real time. The server data in the server data collection module 1 include but are not limited to: CPU status data, memory status data, hard disk status data and server process data; the server process data include but are not limited to: redis process data, mysql process data, nginx process data and tomcat process data. The redis process data include but are not limited to survival status data, connection usage status data, rejected connection status data, new connection status data, used memory status data, total memory status data, usage percentage status data, connection number status data, connection usage status data and memory fragmentation rate status data; nginx process data include but are not limited to QPS status data, error rate status data, request processing time status data, accepted connection status data, successfully processed connection status data, currently active connection status data, discarded connection status data, client request status data, waiting connection status data, executing read operation connection status data and executing write operation connection status data. MySQL process data includes but is not limited to QPS status data, TPS status data, number of connections status data, number of connections in use status data, maximum number of connections status data, slow query status data, traffic statistics status data, Innodb status data and MyISAM buffer pool status data.
[0049] The alarm trigger module 2 is communicatively connected to the server data acquisition module 1, and is used to obtain the user target alarm rule template based on the preset alarm rule template, and determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, the alarm behavior is triggered and the alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language. The setting method of the preset alarm module based on a rule expression in the alarm trigger module 2 specifically includes:
[0050] A first alarm relationship between the single server data and a first preset threshold is established, and the preset alarm rule template based on the rule expression is set based on the first alarm relationship. When the single server data satisfies the first alarm relationship, the alarm behavior is triggered.
[0051] The method for setting the preset alarm rule template based on the scripting language in the alarm trigger module 2 specifically includes:
[0052] A second alarm relationship between the multiple server data and a second preset threshold is established, a trigger rule is established based on the second alarm relationship, and the preset alarm rule template based on the scripting language is set based on the trigger rule. When the multiple server data meet the trigger rule, the alarm behavior is triggered.
[0053] In this embodiment, the preset alarm rule template can be configured through the visual interface, and the user target alarm rule template can be saved. When the user adds a new server, the saved user target alarm rule template can be directly used without repeated configuration.
[0054] In a specific application, the preset alarm rule template based on the rule expression can be set as follows: for example, a first alarm relationship is established that when the server CPU data is greater than the first threshold, an alarm behavior is triggered, and a preset alarm rule template based on the rule expression is set based on the first alarm relationship. The preset alarm rule template based on the scripting language can determine whether the data indicator is abnormal based on the two server data. If it is abnormal, the corresponding command is executed first, and then the operation is restarted, and finally the alarm behavior is triggered. For example: monitor the JVM status data and the server CPU status data, establish a second alarm relationship that the JVM memory status data is greater than the second threshold and the server CPU status data is greater than the second threshold (this second threshold and the above-mentioned second threshold can be set according to actual conditions, and this embodiment does not make specific limitations), and establish a trigger rule based on the second alarm relationship that when the second alarm relationship is met, a jump is executed to export the jump information, and then the Web server is restarted, and finally the alarm behavior is triggered.
[0055] In this embodiment, the alarm triggering behavior in the alarm triggering module 2 includes but is not limited to: notifying the user or performing corresponding operations through email, SMS, enterprise WeChat and DingTalk based on the user target alarm rule.
[0056] In specific applications, the alarm behavior can be to execute corresponding operations, such as executing the jmp command and saving the stack information when monitoring the JVM, or it can be a communication behavior, such as notification through email, SMS, phone, WeChat, etc. It should be noted that the detection program will generate jitter due to some external reasons. For example, when detecting nginx access, the time threshold is 1s, but due to network reasons, a certain access takes 2s. In this case, there is no need to trigger an alarm behavior. Therefore, when formulating user target alarm rules based on the preset alarm rule template, it is necessary to consider whether the alarm behavior is triggered when the user alarm rule is met once, or when the user alarm rule is met N times in a row.
[0057] The alarm trigger module 2 also includes a business tracking point processing unit 21, wherein the business tracking point processing unit 2 is communicatively connected to the server data acquisition module 1, and is used to output the service data to the target location in accordance with a preset data format when the server data corresponding to the target scene is detected, and notify relevant users for processing.
[0058] In specific applications, when the business needs to notify the user of a target scenario, it is only necessary to output the server data to the target location in the specified format. The visual server monitoring system can automatically scan the server data and notify the user for processing.
[0059] The data indicator display module 3 is used to visually display the server data, the preset alarm rule template, the target alarm rule and the alarm data according to a preset display template.
[0060] In this embodiment, the preset display templates include but are not limited to a line graph, an area graph, a heat map, a pie chart, or a table.
[0061] The data storage module 4 is used to store the server data in chronological order using FlashDB.
[0062] In this embodiment, FlashDB is used to store server data. Since FlashDB itself has extremely low resource usage and almost zero memory usage, FlashDB also supports multiple partitions, multiple instances, wear leveling, power-off protection, high reliability, and support for modifying the status of each TSDB record, which facilitates user management and realizes a lightweight visual server monitoring system.
[0063] The system deployment module 5 is used to deploy the visual server monitoring system based on a war package or a jar package.
[0064] In this embodiment, the system deployment module 5 provides a finished war package or jar package for deployment, with a built-in tomcat container, which can be executed as an independent application. When deploying, the war package or jar package file is directly copied to the server, and the visual server monitoring system can be started by running java-jar demo.war. This embodiment implements a more lightweight visual server monitoring system through the system deployment module 5.
[0065] Configuration module 6 is used to configure and generate system configuration information that can be modified and copied.
[0066] In a specific application, assuming that a system A is deployed on server A, and a visual monitoring service system is installed on server A, and another system B similar to system A is deployed on server B and also needs to install a visual monitoring service system, then based on the system configuration information generated by the configuration module 6 in the visual monitoring service system installed on server A, the system configuration information can be copied to the corresponding directory of server B. This embodiment implements a more lightweight visual server monitoring system through the configuration module 6.
[0067] The visual server monitoring system provided in this embodiment simply deploys the server monitoring system based on a visual page, improves the flexibility and reusability of the alarm mechanism by setting a variety of alarm rule templates, and implements a lightweight visual server monitoring system.
[0068] refer to Figure 3 The embodiment of the present invention also provides a visual server monitoring method, comprising the following steps:
[0069] Server data collection step S1, collecting server data in real time;
[0070] The alarm triggering step S2 is to obtain the user target alarm rule based on the preset alarm rule template, and determine whether the server data satisfies the target alarm rule. If the target alarm rule is satisfied, the alarm behavior is triggered and the alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language;
[0071] Indicator display step S3, visually displaying the server data, the preset alarm rule template, the target alarm rule and the alarm data according to a preset display template.
[0072] The visual server monitoring method provided in this embodiment simply deploys a server monitoring system based on a visual page, improves the flexibility and reusability of the alarm mechanism by setting a variety of alarm rule templates, and implements a lightweight visual server monitoring system.
[0073] refer to Figure 4 This embodiment also provides a computer device, including a memory 12, a processor 11, and a computer program stored in the memory 12 and executable on the processor 11. When the processor 11 executes the computer program, the data noise detection method based on the SAMME algorithm as described above is implemented.
[0074] The device may include a processor 11 and a memory 12 storing computer program instructions. Specifically, the processor 11 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0075] Among them, the memory 12 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 12 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 12 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 12 may be inside or outside a data processing device. In a specific embodiment, the memory 12 is a non-volatile memory. In a specific embodiment, the memory 12 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable ProgrammableRead-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0076] The memory 12 may be used to store or cache various data files that need to be processed and / or used for communication, as well as possible computer program instructions executed by the processor 11 .
[0077] The processor 11 implements any one of the data noise detection methods based on the SAMME algorithm in the above embodiments by reading and executing computer program instructions stored in the memory 12 .
[0078] In some of the embodiments, the computer device may further include a communication interface 13 and a bus 10. Figure 4 The processor 11, the memory 12, and the communication interface 13 are connected through the bus 10 and communicate with each other. The communication interface 13 is used to realize the communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 13 can also realize data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.
[0079] The bus 10 includes hardware, software or both, and couples the components of the electronic device to each other. The bus 10 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 10 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 10 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0080] In addition, in combination with the data noise detection method based on the SAMME algorithm in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the data noise detection methods based on the SAMME algorithm in the above embodiment is implemented.
[0081] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A visual server monitoring system, characterized in that: include: Server data collection module, used to collect server data in real time; An alarm triggering module, which is communicatively connected to the server data acquisition module, is used to obtain a user target alarm rule template based on a preset alarm rule template, and to determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, an alarm behavior is triggered and alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language; A data indicator display module, which is communicatively connected to the server data acquisition module and the alarm trigger module, and is used to visually display the server data, the preset alarm rule template, the user target alarm rule template and the alarm data according to a preset display template; the data indicator display module includes a visualization interface, through which the preset alarm rule template can be configured and the user target alarm rule template can be saved; The alarm triggering module includes: A service tracking processing unit, which is communicatively connected to the server data acquisition module, is used to output the service data to the target location according to a preset data format when the server data corresponding to the target scenario is detected, and to notify the relevant user for processing; The method for setting the preset alarm rule template based on the rule expression in the alarm trigger module specifically includes: Establishing a first alarm relationship between the single server data and a first preset threshold, setting the preset alarm rule template based on the rule expression based on the first alarm relationship, and triggering the alarm behavior when the single server data satisfies the first alarm relationship; The method for setting the preset alarm rule template based on the scripting language in the alarm trigger module specifically includes: A second alarm relationship between the multiple server data and a second preset threshold is established, a trigger rule is established based on the second alarm relationship, and the preset alarm rule template based on the scripting language is set based on the trigger rule. When the multiple server data meet the trigger rule, the alarm behavior is triggered.
2. The visual server monitoring system according to claim 1, characterized in that: The visual server monitoring system further includes: The data storage module is communicatively connected to the server data acquisition module and is used to store the server data in chronological order using FlashDB.
3. The visual server monitoring system according to claim 1, characterized in that: The visual server monitoring system further includes: The system deployment module is used to deploy the visual server monitoring system based on a war package or a jar package.
4. The visual server monitoring system according to claim 1, characterized in that: The visual server monitoring system further includes: The configuration module is used to configure and generate system configuration information that can be modified and copied.
5. The visual server monitoring system according to claim 1, characterized in that: The server data in the server data acquisition module includes but is not limited to: CPU status data, memory status data, hard disk status data and server process data; the server process data includes but is not limited to: redis process data, mysql process data, nginx process data and tomcat process data.
6. The visual server monitoring system according to claim 1, characterized in that: The alarm triggering behavior in the alarm triggering module includes but is not limited to: notifying the user or performing corresponding operations via email, SMS, enterprise WeChat and DingTalk based on the user target alarm rule template.
7. A visual server monitoring method, characterized in that: The steps include: Server data collection step, collecting server data in real time; The alarm triggering step is to obtain a user target alarm rule template based on a preset alarm rule template, and determine whether the server data satisfies the user target alarm rule template. If the user target alarm rule template is satisfied, an alarm behavior is triggered and alarm data is recorded. The preset alarm rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a scripting language; An indicator display step, visually displaying the server data, the preset alarm rule template, the user target alarm rule template and the alarm data according to a preset display template; the indicator display step also includes: configuring the preset alarm rule template and saving the user target alarm rule template through a visual interface; The alarm triggering step specifically includes: A service tracking processing step is used to output the service data to the target location according to a preset data format when the server data corresponding to the target scenario is detected, and to notify the relevant user for processing; The method for setting the preset alarm rule template based on the rule expression in the alarm triggering step specifically includes: Establishing a first alarm relationship between the single server data and a first preset threshold, setting the preset alarm rule template based on the rule expression based on the first alarm relationship, and triggering the alarm behavior when the single server data satisfies the first alarm relationship; The method for setting the preset alarm rule template based on the scripting language in the alarm triggering step specifically includes: A second alarm relationship between the multiple server data and a second preset threshold is established, a trigger rule is established based on the second alarm relationship, and the preset alarm rule template based on the scripting language is set based on the trigger rule. When the multiple server data meet the trigger rule, the alarm behavior is triggered.
Citation Information
Patent Citations
Server monitoring system
CN111679958A