CN112988539A - Visual server monitoring system and method - Google Patents
Visual server monitoring system and method Download PDFInfo
- Publication number
- CN112988539A CN112988539A CN202110289498.8A CN202110289498A CN112988539A CN 112988539 A CN112988539 A CN 112988539A CN 202110289498 A CN202110289498 A CN 202110289498A CN 112988539 A CN112988539 A CN 112988539A
- Authority
- CN
- China
- Prior art keywords
- alarm
- data
- server
- rule template
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 73
- 230000000007 visual effect Effects 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004891 communication Methods 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 claims description 26
- 230000006399 behavior Effects 0.000 claims description 24
- 238000012800 visualization Methods 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 11
- 238000013500 data storage Methods 0.000 claims description 6
- 238000013480 data collection Methods 0.000 claims 1
- 230000007246 mechanism Effects 0.000 abstract description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/349—Performance evaluation by tracing or monitoring for interfaces, buses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a visual server monitoring system and a method, wherein the system comprises the following steps: the server data acquisition module is used for acquiring server data in real time; the alarm triggering module is in communication connection with the server data acquisition module and is used for acquiring a user target alarm rule template based on a preset alarm rule template, and when the server data meets the user target alarm rule template, triggering an alarm behavior and recording alarm data; the data index display module is in communication connection with the server data acquisition module and the alarm triggering module and is used for visually displaying server data, a preset alarm rule template, a user target alarm rule template and alarm data according to a preset display template. The method is based on the visual page to simply deploy the server monitoring system, improves the flexibility and reusability of an alarm mechanism by setting a plurality of alarm rule templates, and realizes the lightweight visual server monitoring system.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a visual server monitoring system and a visual server monitoring method.
Background
At present, the internet is rapidly developed, development teams of a plurality of companies do not have special operation and maintenance personnel, and colleagues engaged in technical development lack professional operation and maintenance knowledge. For example, one very common scenario: the web service, nginx, mysql and redis, which is originally a small application scenario, is deployed on one Linux server, but if the running state of each service is monitored and alarm setting is performed on each service, one or more monitoring systems have to be installed, and most of the open-source systems are complex in configuration and are not suitable for the small application scenario.
Currently, in the prior art, ZABBIX and Nagios are generally adopted for monitoring and alarming in small application scenes. ZABBIX is an enterprise-level open source solution providing distributed system monitoring and network monitoring functions based on a web interface, and consists of a ZABBIX server and an optional component ZABBIX agent, wherein the ZABBIX agent needs to be installed on a target server to be monitored, the ZABBIX agent mainly completes the collection of hardware information or information such as a memory and a CPU (Central processing Unit) related to an operating system, and the Zabbix server can provide monitoring on the state of a remote server/network by methods such as SNMP (simple network management protocol), ZABBIX agent, ping and port monitoring. Nagios is a monitoring system that monitors the operational status of the system and network information. Nagios can monitor the designated local or remote host and services while providing exception notification functions, etc. Nagios can run on the Linux/Unix platform while providing an optional browser-based WEB interface to facilitate system administrators to view network status, various system problems, logs, etc.
However, the disadvantages of using ZABBIX are as follows: the installation configuration is relatively complex, the whole system is heavier, and the later maintenance cost is high; the data is read-only and cannot be aggregated with the monitoring data; the alarm mechanism is not flexible enough and is difficult to multiplex. The Nagios disadvantages are as follows: the configuration mode can only be configured at the terminal based on files, so that the expansion is inconvenient, the readability is poor, and the management is time-consuming. The self-contained function is insufficient, and many common requirements need to be realized by a plug-in mode, for example, if the index is expected to be realized in a graph mode, a third-party plug-in pnp4nagios needs to be installed, and if data persistence is needed in a database, NDOUTIls needs to be installed.
Disclosure of Invention
The invention provides a visual server monitoring system, which aims to solve the technical problems that in the prior art, a server monitoring system is inflexible in alarm mechanism, poor in expansibility and heavy in system.
The invention provides a visual server monitoring system, which comprises:
the server data acquisition module is used for acquiring server data in real time;
the warning triggering module is in communication connection with the server data acquisition module and is used for acquiring a user target warning rule template based on a preset warning rule template, judging whether the server data meets the user target warning rule template or not, triggering warning behaviors and recording warning data if the server data meets the user target warning rule template, wherein the preset warning rule template comprises: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a script language;
and the data index display module is in communication connection with the server data acquisition module and the alarm triggering module and is used for 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 above-mentioned visual server monitoring system, wherein, the visual server monitoring system further includes:
and the data storage module is in communication connection with the server data acquisition module and is used for storing the server data by adopting a FlashDB according to a time sequence.
In the above visual server monitoring system, the alarm triggering module includes:
and the service embedded point processing unit is in communication connection with the server data acquisition module and is used for outputting the service data to a target position according to a preset data format and informing a related user to process when the server data corresponding to the target scene is detected.
In the above visual server monitoring system, the method for setting the preset alarm rule template based on the rule expression in the alarm triggering module specifically includes:
establishing a first alarm relation between the single server data and a first preset threshold, setting a preset alarm rule template based on a rule expression based on the first alarm relation, and triggering the alarm behavior when the single server data meets the first alarm relation.
In the visual server monitoring system, the setting method of the preset alarm rule template based on the scripting language in the alarm triggering module specifically includes:
establishing a second alarm relation between the various server data and a second preset threshold, establishing a trigger rule based on the second alarm relation, setting a preset alarm rule template based on a script language based on the trigger rule, and triggering the alarm behavior when the various server data meet the trigger rule.
The above-mentioned visual server monitoring system, wherein, the visual server monitoring system further includes:
and the system deployment module is used for deploying the visual server monitoring system based on a war package or a jar package.
The above-mentioned visual server monitoring system, wherein, the visual server monitoring system further includes:
a configuration module for configuring and generating modifiable and replicated system configuration information.
In the above visualization server monitoring system, the server data in the server data acquisition module includes but is not limited to: CPU state data, memory state data, hard disk state 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.
The visual server monitoring system described above, wherein the alarm triggering behavior in the alarm triggering module includes but is not limited to: and notifying the user or executing corresponding operation through mails, short messages, enterprise WeChats and nails based on the user target alarm rule template.
The invention also provides a visual server monitoring method, which comprises the following steps:
a server data acquisition step, namely acquiring server data in real time;
an alarm triggering step, namely acquiring a user target alarm rule template based on a preset alarm rule template, judging whether the server data meets the user target alarm rule template, if so, triggering an alarm behavior and recording alarm data, wherein the preset alarm rule template comprises: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a script language;
and an index display step of 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 invention has the technical effects or advantages that:
the invention provides a visual server monitoring system, which comprises a server data acquisition module, an alarm triggering module and a data index display module, wherein the server data acquisition module is respectively in communication connection with the alarm triggering module and the data index display module, the alarm triggering module is in communication connection with the data direct standard display module, the server data acquisition module is used for acquiring server data in real time, the alarm triggering module is used for acquiring a user target alarm rule template based on a preset alarm rule template and judging whether the server data meets the user target alarm rule template or not, if so, an alarm behavior is triggered and alarm data is recorded, and the preset alarm rule template comprises: the data index display module is used for visually displaying server data, the preset alarm rule template, the target alarm rule template and alarm data according to the preset display template. Through the mode, the server monitoring system is simply deployed based on the visual page, the flexibility and reusability of an alarm mechanism are improved by setting various alarm rule templates, and the lightweight visual server monitoring system is realized.
Drawings
Fig. 1 is a schematic structural diagram of a visualization server monitoring system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another visualization server monitoring system according to an embodiment of the present invention;
fig. 3 is a flowchart of a monitoring method for a visualization server according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the present invention;
in the above figures:
1. a server data acquisition module; 2. an alarm triggering module; 21. a service embedded point processing unit; 3. a data index display module; 4. a data storage module; 5. a system deployment module; 6. a configuration module;
10. a bus; 11. a processor; 12. a memory; 13. a communication interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another. Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict. Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
In order to solve the technical problems of inflexible alarm mechanism, poor expansibility and system overweight of a server monitoring system in the prior art, the invention provides a visual server monitoring system.
The technical solution of the present invention will be described in detail below with reference to the specific embodiments and the accompanying drawings.
The embodiment provides a visual server monitoring system, including:
the server data acquisition module 1 is used for acquiring server data in real time;
the warning triggering module 2 is in communication connection with the server data acquisition module 1, and is configured to acquire a user target warning rule template based on a preset warning rule template, and determine whether the server data satisfies the user target warning rule template, and if the server data satisfies the user target warning rule template, trigger a warning behavior and record warning data, where the preset warning rule template includes: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a script language;
and the data index display module 3 is in communication connection with the server data acquisition module 1 and the alarm triggering module 2 and is used for 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 embodiment provides a visual server monitoring system, which is based on a visual page, and is simply deployed, and by setting various alarm rule templates, the flexibility and reusability of an alarm mechanism are improved, and a lightweight visual server monitoring system is realized.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a visualization server monitoring system provided in this embodiment. The visual server monitoring system provided by the embodiment comprises a server data acquisition module 1, an alarm triggering module 2, a data index 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 in communication connection with the alarm triggering module 2, the data index display module 3 and the data storage module 4 respectively, and the data index display module 3 is in communication connection with the alarm triggering module 2.
And the server data acquisition module 1 is used for acquiring server data in real time. The server data in the server data acquisition module 1 includes but is not limited to: CPU state data, memory state data, hard disk state 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. The redis process data includes, but is not limited to, survival status data, connection number usage status data, connection number rejection status data, new connection number 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 includes, but is not limited to, QPS state data, error rate state data, request processing time state data, accept connections state data, successfully processed connections state data, current active connections state data, dropped connections state data, client request book state data, pending connections state data, executing read connections state data, and executing write connections state data. mysql process data includes, but is not limited to, QPS state data, TPS state data, number of connections being used state data, maximum number of connections state data, slow query state data, traffic statistics state data, inbodb state data, and MyISAM buffer pool state data.
The warning triggering module 2 is in communication connection with the server data acquisition module 1, and is configured to acquire a user target warning rule template based on a preset warning rule template, and determine whether the server data satisfies the user target warning rule template, and if the server data satisfies the user target warning rule template, trigger a warning behavior and record warning data, where the preset warning rule template includes: the preset alarm rule template based on the rule expression and the preset alarm rule template based on the script language. The method for setting the preset alarm module based on the regular expression in the alarm triggering module 2 specifically includes:
establishing a first alarm relation between the single server data and a first preset threshold, setting a preset alarm rule template based on a rule expression based on the first alarm relation, and triggering the alarm behavior when the single server data meets the first alarm relation.
The method for setting the preset alarm rule template based on the script language in the alarm triggering module 2 specifically comprises the following steps:
establishing a second alarm relation between the various server data and a second preset threshold, establishing a trigger rule based on the second alarm relation, setting a preset alarm rule template based on a script language based on the trigger rule, and triggering the alarm behavior when the various server data meet the trigger rule.
In this embodiment, a preset alarm rule template may be configured through a visual interface, a user target alarm rule template may be stored, and when a new server is added to a user, the stored user target alarm rule template may be directly used without repeated configuration.
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, which triggers an alarm behavior when the CPU data of the server is larger than a first threshold, and a preset alarm rule template based on a rule expression is set based on the first alarm relationship. The preset alarm rule template based on the script language can judge whether the data index is abnormal according to the data of the two servers, if so, the corresponding command is executed firstly, then the operation is restarted, and finally the alarm behavior is triggered. For example: monitoring JVM state data and server CPU state data, establishing a second alarm relationship that the JVM memory state data is greater than a second threshold and the server CPU state data is greater than a second threshold (the second threshold and the second threshold can be set according to actual conditions, and this embodiment is not specifically limited), establishing a triggering rule that when the second alarm relationship is satisfied, jump is executed to derive jump information, then restarting the Web server, and finally triggering an alarm behavior based on the second alarm relationship.
In this embodiment, the alarm triggering behavior in the alarm triggering module 2 includes, but is not limited to: and based on the user target alarm rule, notifying the user or executing corresponding operation through mails, short messages, enterprise WeChats and nails.
In a specific application, the alarm behavior may be a corresponding operation, for example, a jmp command may be executed and stack information may be saved when monitoring the JVM, or a communication behavior, for example, notification may be performed through mail, short message, telephone, and WeChat. It should be noted that the detection program may generate jitter due to some external reasons, for example, the time threshold for detecting nginx access is 1s, but since a certain access reaches 2s due to a network reason, in this case, an alarm behavior does not need to be triggered, so when a user target alarm rule is formulated based on a preset alarm rule template, it is necessary to consider whether the alarm behavior is triggered when a user alarm rule is satisfied once or when the user alarm rule is satisfied N times continuously.
The alarm triggering module 2 further includes a service embedded point processing unit 21, wherein the service embedded point processing unit 2 is in communication connection with the server data acquisition module 1, and is configured to output the service data to a target location according to a preset data format and notify a related user of processing when the server data corresponding to the target scene is detected.
In a specific application, when a target scene of a user needs to be notified in a service, only server data is output to a target position according to a specified format, and the visual server monitoring system can automatically scan the server data to notify the user to process the server data.
And the data index display module 3 is used for visually displaying the server data, the preset alarm rule template, the target alarm rule and the alarm data according to a preset display template.
In the present embodiment, the preset display template includes, but is not limited to, a line graph, an area graph, a thermodynamic diagram, a pie chart or a table.
And the data storage module 4 is used for storing the server data according to a time sequence by adopting a FlashDB.
In the embodiment, the data of the server is stored by adopting the FlashDB, because the resource occupation of the FlashDB is extremely low, the memory occupation is almost 0, and meanwhile, the FlashDB also supports multiple partitions and multiple instances, supports wear balance and power failure protection, has high reliability, supports the modification of the state of each TSDB record, is convenient for a user to manage, and further realizes a lightweight visual server monitoring system.
And the system deployment module 5 is used for deploying the visual server monitoring system based on a war package or a jar package.
In this embodiment, the system deployment module 5 provides a finished product war package or jar package for deployment, a tomcat container is built in, the tomcat container can be executed as an independent application program, during deployment, war package or jar package files are directly copied to a server, and the visual server monitoring system can be started by running java-jar demo. The embodiment realizes a lighter-weight visual server monitoring system through the system deployment module 5.
A configuration module 6 for configuring and generating modifiable and duplicative system configuration information.
In a specific application, assuming that a system a is deployed on a server a, the server a is provided with a visual monitoring service system, and another system B similar to the system a is deployed on a server B and also provided with the visual monitoring service system, the system configuration information is copied to a directory corresponding to the server B based on system configuration information generated by a configuration module 6 in the visual monitoring service system installed on the server a. The embodiment realizes a lighter-weight visualization server monitoring system through the configuration module 6.
The visual server monitoring system provided by the embodiment is based on the visual page, the server monitoring system is simply deployed, the flexibility and reusability of an alarm mechanism are improved by setting various alarm rule templates, and the lightweight visual server monitoring system is realized.
Referring to fig. 3, an embodiment of the present invention further provides a method for monitoring a visualization server, including the following steps:
a server data acquisition step S1 of acquiring server data in real time;
an alarm triggering step S2, obtaining a user target alarm rule based on a preset alarm rule template, and determining whether the server data meets the target alarm rule, if so, triggering an alarm behavior and recording alarm data, where 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 script language;
and an index 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.
The visual server monitoring method provided by the embodiment is based on the visual page, the server monitoring system is simply deployed, the flexibility and reusability of an alarm mechanism are improved by setting various alarm rule templates, and the lightweight visual server monitoring system is realized.
Referring to fig. 4, the present embodiment further provides a computer device, which includes a memory 12, a processor 11, and a computer program stored on the memory 12 and executable on the processor 11, and when the computer program is executed by the processor 11, the data noise detection method based on the SAMME algorithm as described above is implemented.
The apparatus may comprise a processor 11 and a memory 12 in which computer program instructions are stored. Specifically, the processor 11 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
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.
In some of these embodiments, the computer device may also include a communication interface 13 and a bus 10. Referring to fig. 4, the processor 11, the memory 12, and the communication interface 13 are connected via the bus 10 and perform communication with each other. The communication interface 13 is used for implementing communication between modules, devices, units and/or equipment in the embodiment of the present application. The communication port 13 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The bus 10 includes hardware, software, or both to couple the components of the electronic device to one another. Bus 10 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 10 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a HyperTransport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a Microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (AGP) Bus, a Local Video Association (Video Electronics Bus), abbreviated VLB) bus or other suitable bus or a combination of two or more of these. Bus 10 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, in combination with the data noise detection method based on the SAMME algorithm in the above embodiments, embodiments of the present application may be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the SAMME algorithm based data noise detection methods of the above embodiments.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A visualization server monitoring system, comprising:
the server data acquisition module is used for acquiring server data in real time;
the warning triggering module is in communication connection with the server data acquisition module and is used for acquiring a user target warning rule template based on a preset warning rule template, judging whether the server data meets the user target warning rule template or not, triggering warning behaviors and recording warning data if the server data meets the user target warning rule template, wherein the preset warning rule template comprises: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a script language;
and the data index display module is in communication connection with the server data acquisition module and the alarm triggering module and is used for 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.
2. The visualization server monitoring system of claim 1, further comprising:
and the data storage module is in communication connection with the server data acquisition module and is used for storing the server data by adopting a FlashDB according to a time sequence.
3. The visualization server monitoring system according to claim 1, wherein the alarm triggering module comprises:
and the service embedded point processing unit is in communication connection with the server data acquisition module and is used for outputting the service data to a target position according to a preset data format and informing a related user to process when the server data corresponding to the target scene is detected.
4. The visualization server monitoring system according to claim 3, wherein the method for setting the preset alarm rule template based on the rule expression in the alarm triggering module specifically comprises:
establishing a first alarm relation between the single server data and a first preset threshold, setting a preset alarm rule template based on a rule expression based on the first alarm relation, and triggering the alarm behavior when the single server data meets the first alarm relation.
5. The visualization server monitoring system according to claim 4, wherein the method for setting the preset alarm rule template based on the scripting language in the alarm triggering module specifically comprises:
establishing a second alarm relation between the various server data and a second preset threshold, establishing a trigger rule based on the second alarm relation, setting a preset alarm rule template based on a script language based on the trigger rule, and triggering the alarm behavior when the various server data meet the trigger rule.
6. The visualization server monitoring system of claim 1, further comprising:
and the system deployment module is used for deploying the visual server monitoring system based on a war package or a jar package.
7. The visualization server monitoring system of claim 1, further comprising:
a configuration module for configuring and generating modifiable and replicated system configuration information.
8. The visualization server monitoring system of claim 1, wherein the server data in the server data collection module includes but is not limited to: CPU state data, memory state data, hard disk state 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.
9. The visualization server monitoring system of claim 1, wherein the alarm triggering behavior in the alarm triggering module includes, but is not limited to: and notifying the user or executing corresponding operation through mails, short messages, enterprise WeChats and nails based on the user target alarm rule template.
10. A visual server monitoring method is characterized by comprising the following steps:
a server data acquisition step, namely acquiring server data in real time;
an alarm triggering step, namely acquiring a user target alarm rule template based on a preset alarm rule template, judging whether the server data meets the user target alarm rule template, if so, triggering an alarm behavior and recording alarm data, wherein the preset alarm rule template comprises: a preset alarm rule template based on a rule expression and a preset alarm rule template based on a script language;
and an index display step of 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110289498.8A CN112988539A (en) | 2021-03-18 | 2021-03-18 | Visual server monitoring system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110289498.8A CN112988539A (en) | 2021-03-18 | 2021-03-18 | Visual server monitoring system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112988539A true CN112988539A (en) | 2021-06-18 |
Family
ID=76332882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110289498.8A Pending CN112988539A (en) | 2021-03-18 | 2021-03-18 | Visual server monitoring system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988539A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641726A (en) * | 2021-08-06 | 2021-11-12 | 国网北京市电力公司 | Unsupervised sheath current data mining system based on generation countermeasure network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160019350A1 (en) * | 2014-06-26 | 2016-01-21 | Koninklijke Philips N.V. | Visually rendering longitudinal patient data |
CN111679958A (en) * | 2020-06-11 | 2020-09-18 | 上海安畅网络科技股份有限公司 | Server monitoring system |
CN112291112A (en) * | 2020-10-27 | 2021-01-29 | 中国光大银行股份有限公司 | Cloud computing service monitoring system and method |
-
2021
- 2021-03-18 CN CN202110289498.8A patent/CN112988539A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160019350A1 (en) * | 2014-06-26 | 2016-01-21 | Koninklijke Philips N.V. | Visually rendering longitudinal patient data |
CN111679958A (en) * | 2020-06-11 | 2020-09-18 | 上海安畅网络科技股份有限公司 | Server monitoring system |
CN112291112A (en) * | 2020-10-27 | 2021-01-29 | 中国光大银行股份有限公司 | Cloud computing service monitoring system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641726A (en) * | 2021-08-06 | 2021-11-12 | 国网北京市电力公司 | Unsupervised sheath current data mining system based on generation countermeasure network |
CN113641726B (en) * | 2021-08-06 | 2024-01-30 | 国网北京市电力公司 | Unsupervised sheath current data mining system based on generation of countermeasure network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110224858B (en) | Log-based alarm method and related device | |
US10469512B1 (en) | Optimized resource allocation for virtual machines within a malware content detection system | |
US11132356B2 (en) | Optimizing data entries in a log | |
US9575745B1 (en) | Immediately launching applications | |
CN108683668B (en) | Resource checking method, device, storage medium and equipment in content distribution network | |
CN109660426B (en) | Monitoring method and system, computer readable medium and electronic device | |
CN108933798B (en) | Data storage method, storage server and system | |
CN109788068B (en) | Heartbeat state information reporting method, device and equipment and computer storage medium | |
CN108347476B (en) | Cross-machine-room data synchronization method and device and server | |
CN105868056B (en) | Obtain the method, apparatus and secure virtual machine of deleted document in Windows virtual machine | |
US20170090904A1 (en) | Application management device, application management method, and computer-readable recording medium | |
CN113626286A (en) | Multi-cluster instance processing method and device, electronic equipment and storage medium | |
CN105786539B (en) | File downloading method and device | |
CN111158945B (en) | Kernel fault processing method, device, network security equipment and readable storage medium | |
CN114356499A (en) | Kubernetes cluster alarm root cause analysis method and device | |
CN112988539A (en) | Visual server monitoring system and method | |
US11223515B2 (en) | Cluster system, cluster system control method, server device, control method, and non-transitory computer-readable medium storing program | |
CN110881224B (en) | Network long connection method, device, equipment and storage medium | |
CN110534136B (en) | Recording method and device | |
CN114363334A (en) | Network configuration method, device and equipment for cloud system and cloud desktop virtual machine | |
CN111342986A (en) | Distributed node management method and device, distributed system and storage medium | |
CN109284257B (en) | Log writing method and device, electronic equipment and storage medium | |
US9594622B2 (en) | Contacting remote support (call home) and reporting a catastrophic event with supporting documentation | |
CN110780815A (en) | Log deleting method and device | |
CN107025148B (en) | Mass data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |