CN107463484B - Method and system for collecting monitoring records - Google Patents

Method and system for collecting monitoring records Download PDF

Info

Publication number
CN107463484B
CN107463484B CN201710651387.0A CN201710651387A CN107463484B CN 107463484 B CN107463484 B CN 107463484B CN 201710651387 A CN201710651387 A CN 201710651387A CN 107463484 B CN107463484 B CN 107463484B
Authority
CN
China
Prior art keywords
monitoring
node
time
record
error range
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.)
Active
Application number
CN201710651387.0A
Other languages
Chinese (zh)
Other versions
CN107463484A (en
Inventor
段璐恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201710651387.0A priority Critical patent/CN107463484B/en
Publication of CN107463484A publication Critical patent/CN107463484A/en
Application granted granted Critical
Publication of CN107463484B publication Critical patent/CN107463484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for collecting monitoring records, wherein the method comprises the following steps: the monitoring node acquires a monitoring record and writes the monitoring record into a database; the master control node sends a query command to the monitoring node, wherein the query command comprises a time to be queried and an error range; and after receiving the query command, the monitoring node searches the latest monitoring record within the error range from the database according to the time to be queried and sends the latest monitoring record to the master control node. When the time recorded when the monitoring node writes the monitoring record into the database is inconsistent with the time of the main control node, the monitoring node queries the monitoring record within the error range of the time to be queried, so that the event monitored by the monitoring record occurring at the time to be queried can be acquired. Therefore, the master control node can obtain the monitoring records of different monitoring nodes at the same time, and the monitoring indexes of the whole system can be formed by summarizing the monitoring records.

Description

Method and system for collecting monitoring records
Technical Field
The invention relates to the field of computers, in particular to a method and a system for collecting monitoring records.
Background
Distributed clustering has become the mainstream system today. In a system, different modules or units may be arranged in a distributed manner or in a cluster manner. Distributed configuration, namely different service modules are deployed on different servers or the same service module is divided into a plurality of sub-services and deployed on different servers, so that the problem of high concurrency is solved, and the normal functions of other resources are not influenced by the fault of one unit or resource (software or hardware); in the cluster type arrangement, one service is deployed on a plurality of machines, so that the availability of the system is improved, for example, in a system with more than one level of small machines such as IBM and HP, one host is provided with a plurality of terminals. There are different nodes for different modules and units, and there are many such nodes in a system. Because the number of nodes in the whole system is large, the probability of the node breakdown or the problem of parts is greatly increased, and in order to reduce the system fault caused by hardware fault, each index of each node must be monitored.
The distributed monitoring is adopted to distribute the system monitoring pressure to each node, and the method is a common system monitoring method. In one system, a main control node and monitoring nodes are provided, monitoring of each monitoring node is independent, monitoring records of the monitoring nodes are collected by the main control node, and monitoring information of the whole system can be obtained. In practical application, the monitoring node usually writes the monitoring record into the database, and when receiving a command for acquiring the monitoring record sent by the main control node, queries the monitoring record from the database and sends the monitoring record to the main control node. However, the monitoring records sent to the main control node by different monitoring nodes are often not at the same time point, which makes the main control node unable to summarize the monitoring records to form the monitoring index of the whole system.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a system for collecting monitoring records, which are used for enabling a main control node to obtain the monitoring records of different monitoring nodes at the same time point in a distributed monitoring system, and forming a monitoring index of the whole system by summarizing the monitoring records.
In order to solve the above technical problem, the present invention provides a method for collecting monitoring records, comprising:
the monitoring node acquires a monitoring record and writes the monitoring record into a database;
the master control node sends a query command to the monitoring node, wherein the query command comprises a time to be queried and an error range;
and after receiving the query command, the monitoring node searches the latest monitoring record in the error range from the database according to the time to be queried and sends the latest monitoring record to the master control node.
Preferably, before the master node sends the query command to the monitoring node, the method further includes:
and the time synchronization server adjusts the time of the main control node and the time of the monitoring node.
Preferably, the radius of the error range is the sum of the node time difference and the monitoring command running time, the lower limit of the error range is the difference value obtained by subtracting the radius from the time to be queried, and the upper limit of the error range is the sum value obtained by adding the radius to the time to be queried;
the node time difference is specifically a time difference between the monitoring node and the master control node, and the monitoring command running time is specifically a time required for the monitoring node to acquire the monitoring record and write the monitoring record into the database.
Preferably, the sending time and frequency for the main control node to send the query command to the monitoring node are the same as the obtaining time and frequency for the monitoring node to obtain the monitoring record.
Preferably, when the monitoring node sends the latest monitoring record to the master control node, the method further includes:
and the monitoring node sends the time of writing the latest monitoring record into the database to the main control node.
In order to solve the above technical problem, the present invention provides a system for collecting monitoring records, including:
the master control node is used for sending a query command to the monitoring node and receiving the monitoring record sent by the monitoring node; the query command comprises a time to be queried and an error range;
the monitoring node is used for acquiring the monitoring record and writing the monitoring record into a database; and after receiving the query command sent by the master control node, the system is further configured to find the latest monitoring record within the error range from the database according to the time to be queried and send the monitoring record to the master control node.
Preferably, the method further comprises the following steps:
and the time synchronization server is used for adjusting the time of the main control node and the time of the monitoring node.
Preferably, the radius of the error range is the sum of the node time difference and the monitoring command running time, the lower limit of the error range is the difference value obtained by subtracting the radius from the time to be queried, and the upper limit of the error range is the sum value obtained by adding the radius to the time to be queried; the node time difference is specifically a time difference between the monitoring node and the master control node, and the monitoring command running time is specifically a time required for the monitoring node to acquire the monitoring record and write the monitoring record into the database.
Preferably, the sending time and frequency of the query command sent by the master control node to the monitoring node are the same as the time and frequency of the monitoring node starting to acquire the monitoring record.
Preferably, when the monitoring node sends the latest monitoring record to the master node, the monitoring node is further configured to: and sending the time of the latest monitoring record written into the database to the master control node.
The monitoring node acquires the monitoring record and writes the monitoring record into a database, and then the main control node sends a query command to the monitoring node, wherein the query command comprises the time to be queried and an error range; after receiving the query command, the monitoring node searches the monitoring records in the error range of the time to be queried in the database and sends the latest monitoring records to the master control node. When the time recorded when the monitoring node writes the monitoring record into the database is inconsistent with the time of the main control node, because the monitoring node inquires the monitoring record within the error range of the time to be inquired, the event monitored by the monitoring record which occurs at the same time of the time to be inquired can be obtained as much as possible, and the situation that the actual occurrence time of the event monitored by the monitoring node sending the monitoring record of the main control node is different from the time to be inquired of the main control node can not occur. Therefore, the master control node can obtain the monitoring records of different monitoring nodes at the same time, and the monitoring indexes of the whole system can be formed by summarizing the monitoring records.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for collecting monitoring records according to an embodiment of the present invention;
fig. 2 is a flowchart of a second method for collecting monitoring records according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a system for collecting monitoring records according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the 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.
The core of the invention is to provide a method and a system for collecting monitoring records, which are used for leading a main control node to obtain the monitoring records of different monitoring nodes at the same time, and the monitoring indexes of the whole system can be formed by summarizing the monitoring records.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a method for collecting monitoring records according to an embodiment of the present invention. As shown in fig. 1, the method for collecting monitoring records includes:
s10: and the monitoring node acquires the monitoring record and writes the monitoring record into the database.
S11: the master control node sends a query command to the monitoring node, wherein the query command comprises the time to be queried and an error range.
S12: and after receiving the query command, the monitoring node searches the latest monitoring record within the error range from the database according to the time to be queried and sends the latest monitoring record to the master control node.
In a specific implementation, for S10, there are multiple monitoring nodes in a system, and the monitoring nodes execute the monitoring command periodically, and the process of the monitoring nodes acquiring the monitoring records and writing the monitoring records into the database is the process of the monitoring nodes executing the monitoring command. The monitoring command of each monitoring node is preset, for example, the hardware temperature is inquired and recorded every 15s, the monitoring node which is preset with the monitoring command is triggered every 15s until the currently obtained monitoring record is written into the database, the execution of the monitoring command is completed, and the time of the completion of the execution is recorded as the generation time of the monitoring record in the database.
For S11, after triggering a query task, the master node sends a query command to the monitoring nodes, and collects the monitoring records returned by the monitoring nodes, thereby forming a monitoring index of the entire system. The query command includes a time to be queried and an error range, where the time to be queried may be a current time or a historical time, and the error range refers to an error range of the time to be queried, for example, the time to be queried is 12:00:00, and the error range may be represented as-1 s to +2s, or may be represented as 11:59:59 to 12:00:02, that is, a monitoring record between 11:59:59 to 12:00:02 is queried.
For S12, the monitoring node receives the query command sent by the main control node, searches the latest monitoring record within the error range of the time to be queried from the database according to the time to be queried in the query command, queries the latest monitoring record between 11:59:59 to 12:00:02 from the database according to the example in the previous natural paragraph, and sends the latest monitoring record to the main control node. The latest monitoring record here may be a monitoring record generated in the database at 12:00:02, or a monitoring record generated in the database before 12:00: 02.
In the method for acquiring monitoring records provided by the embodiment of the invention, the monitoring node acquires the monitoring records and writes the monitoring records into the database, and the master control node sends a query command to the monitoring node, wherein the query command comprises the time to be queried and the error range; after receiving the query command, the monitoring node searches the monitoring records in the error range of the time to be queried in the database and sends the latest monitoring records to the master control node. In an actual situation, the time of the monitoring node is often asynchronous with the time of the main control node, and the like, and the time recorded when the monitoring node writes the data of the monitoring record in the database is very likely not to be the real time (based on the main control node) of the event monitored by the monitoring record, that is, the time recorded has an error, so that the query command includes the time to be queried and the error range of the time to be queried, the monitoring node finds the monitoring record in the error range of the time to be queried and returns the latest monitoring record to the main control node, and the error can be offset, and the monitoring node sends the monitoring record with correct time to the main control node. Therefore, the master control node can obtain the monitoring records of different monitoring nodes at the same time, and the monitoring indexes of the whole system can be formed by summarizing the monitoring records.
Fig. 2 is a flowchart of a second method for collecting monitoring records according to an embodiment of the present invention. As shown in fig. 2, on the basis of the above embodiment, in another embodiment, before step S11, the method further includes:
s20: the time synchronization server adjusts the time of the main control node and the time of the monitoring node.
It should be noted that the time synchronization server preferably uses NTPD (clock synchronization service), and the mechanism of NTPD is to calibrate the time little by little, which is safer for the whole system, and if a way similar to NTPDATE is used to synchronize the time adjustment in one step, it may cause logic confusion of the system.
In specific implementation, step S20 may be performed before step S10, simultaneously with step S10, or after step S10. If step S20 is performed simultaneously with step S10 or after step S10, the time difference between the master node and the monitor node can be reduced by adjusting the time of the master node and the time of the monitor node after the monitor node writes the monitor record into the database, but the error is larger and the adjustment effect is not good because the time difference exists between different monitor nodes. If step S20 is performed before step S10, the monitoring node writes the monitoring record into the database after adjusting the time of the master node and the monitoring node to be consistent, so as to reduce the time difference between the master node and the monitoring node to the maximum extent, and also reduce the time difference between different monitoring nodes to the maximum extent.
According to the method for acquiring the monitoring records, the time synchronization server is adopted to adjust the time of the main control node and the time of the monitoring node, so that the time difference between the main control node and the monitoring node is reduced as much as possible, and the main control node can be prevented from acquiring wrong monitoring records to a great extent.
On the basis of the second method for collecting monitoring records provided in the embodiment of the present invention, in another embodiment of the present invention, a method for calculating an error range specifically includes:
the radius of the error range is the sum of the time difference of the nodes and the running time of the monitoring command, the lower limit of the error range is the difference value of the radius subtracted from the time to be inquired, and the upper limit of the error range is the sum of the time to be inquired and the radius; the node time difference is specifically the time difference between the monitoring node and the master control node, and the monitoring command running time is specifically the time required for the monitoring node to acquire the monitoring record and write the monitoring record into the database.
It should be noted that the node time difference is specifically the time of the monitoring node minus the time of the master node, or the node time difference here is that the time of the monitoring node is faster than the time of the master node, and may be a positive number, a negative number, or zero. If the time of the monitoring node is 11:59:59 when the master node is 12:00:00, the time difference of the nodes is-1 s. The generation of the monitoring command running time is started after the monitoring node triggers the monitoring task and is started until the monitoring record is written into the database. This is because the monitoring record of a certain monitoring node may be more than one item of monitoring data at a certain time, the monitoring node needs a certain time when acquiring the monitoring data, and needs a certain time when writing the monitoring record composed of the monitoring data into the database, and the database only records the time when the monitoring record is written, and the two periods of time are the error between the actual time of the event recorded by the monitoring record and the recording time. Therefore, the node time difference and the monitoring command running time are calculated in the error range to be searched, and the errors can be reduced.
In addition, different monitoring nodes have different time differences with the master control node, and different monitoring nodes have different time for executing the monitoring command, so that the node time difference and the monitoring command running time have different values. First, in the second method for collecting monitoring records provided in the embodiment of the present invention, before the main control node executes the query task, the time synchronization server has already adjusted the time of the main control node and the monitoring nodes, and although the node time differences of different monitoring nodes have positive values and negative values and have zero values, the node time differences approach to zero, so that the resulting errors are negligible, and it is only necessary to calculate the maximum value of the absolute values of the node time differences of each monitoring node as the uniform node time difference. Similarly, although the monitoring command running times of different monitoring nodes are different, the error is much smaller compared with the monitoring command running time generated by a single monitoring node, and the time interval for triggering the monitoring command by the monitoring node is much longer than the monitoring command running time in specific implementation, so that the maximum value of the monitoring command running times of different monitoring nodes can be calculated as the unified monitoring command running time.
The method for acquiring monitoring records provided by the embodiment of the invention limits the upper and lower limit calculation methods of the error range on the basis of the second method for acquiring monitoring records provided by the embodiment of the invention, calculates the node time difference and the monitoring command running time which are possibly generated under the actual condition in the error range, and can eliminate the errors. As described above, the monitoring node searches the latest monitoring record within the error range in the database according to the time to be queried in the query command, the node time difference approaches zero, the error range is more influenced by the running time of the monitoring command, and the running time of the monitoring command is a positive value.
On the basis of the second method for collecting monitoring records provided by the embodiment of the present invention, in another embodiment, the method further includes:
the sending time and frequency of the query command sent by the main control node to the monitoring node are the same as the time and frequency of the monitoring node for obtaining the monitoring record.
It should be noted that, the time difference of the node is minimized based on the time synchronization server, and it can be ensured that the sending time and frequency for the main control node to send the query command to the monitoring node are the same as the time and frequency for the monitoring node to obtain the monitoring record.
On the basis of the second embodiment of the present invention, the sending time and frequency of the query command sent by the main control node to the monitoring node are the same as the time and frequency of the monitoring node obtaining the monitoring record, so that the effect of collecting the monitoring record of the system in real time can be achieved, and monitoring personnel can observe various monitoring indexes of the system conveniently to adjust the system.
On the basis of the above-mentioned specific embodiments, in another embodiment of the present invention, the method further includes:
and the monitoring node sends the time of the latest monitoring record written into the database to the main control node.
In the above description, it is mentioned that the time when the monitoring node writes the monitoring record of the time to be queried into the database has a certain error with the time to be queried, in order to eliminate the influence of the errors, the query command needs to include the time to be queried and an error range, and the monitoring node finds the latest monitoring record in the error range in the database according to the time to be queried and sends the latest monitoring record to the master control node. The error ranges of the monitoring nodes can be directly obtained by sending the latest time for writing the monitoring records into the database to the main control node through the monitoring nodes, so that the error ranges of the monitoring nodes of the whole system can be obtained through calculation.
The method for collecting monitoring records provided by the embodiment of the invention further comprises the step of sending the latest time for writing the monitoring records into the database to the main control node by the monitoring node on the basis of the specific implementation mode, so that the error range of the monitoring node of the whole system can be calculated by counting the errors generated by different monitoring nodes.
On the basis of the above detailed description of the embodiments corresponding to the method for collecting monitoring records, the invention also discloses a system for collecting monitoring records corresponding to the above method. Fig. 3 is a schematic diagram of a system for collecting monitoring records according to an embodiment of the present invention. As shown in fig. 3, the system for collecting monitoring records includes:
the main control node 301 is configured to send a query command to the monitoring node and receive a monitoring record sent by the monitoring node; the query command comprises a time to be queried and an error range.
The monitoring node 302 is used for acquiring a monitoring record and writing the monitoring record into a database; and the system is also used for searching the latest monitoring record in the error range from the database according to the time to be inquired after receiving the inquiry command sent by the main control node, and sending the monitoring record to the main control node.
It should be noted that there is more than one monitoring node 302.
Since the embodiment of the system part corresponds to the embodiment of the method part, the embodiment of the system part is described with reference to the embodiment of the method part, and is not repeated here.
In the system for acquiring monitoring records provided by the embodiment of the invention, the monitoring node acquires the monitoring records and writes the monitoring records into the database, and the master control node sends a query command to the monitoring node, wherein the query command comprises the time to be queried and the error range; after receiving the query command, the monitoring node searches the monitoring records in the error range of the time to be queried in the database and sends the latest monitoring records to the master control node. In an actual situation, the time of the monitoring node is often asynchronous with the time of the main control node, and the like, and the time recorded when the monitoring node writes the data of the monitoring record in the database is very likely not to be the real time (based on the main control node) of the event monitored by the monitoring record, that is, the time recorded has an error, so that the query command includes the time to be queried and the error range of the time to be queried, the monitoring node finds the monitoring record in the error range of the time to be queried and returns the latest monitoring record to the main control node, and the error can be offset, and the monitoring node sends the monitoring record with correct time to the main control node. Therefore, the master control node can obtain the monitoring records of different monitoring nodes at the same time, and the monitoring indexes of the whole system can be formed by summarizing the monitoring records.
The method and system for collecting monitoring records provided by the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (6)

1. A method of collecting monitoring records, comprising:
the monitoring node acquires a monitoring record and writes the monitoring record into a database;
the master control node sends a query command to the monitoring node, wherein the query command comprises a time to be queried and an error range;
after receiving the query command, the monitoring node searches the latest monitoring record in the error range from the database according to the time to be queried and sends the latest monitoring record to the master control node;
before the master control node sends the query command to the monitoring node, the method further includes:
the time synchronization server adjusts the time of the main control node and the time of the monitoring node;
the radius of the error range is the sum of the node time difference and the monitoring command running time, the lower limit of the error range is the difference value obtained by subtracting the radius from the time to be queried, and the upper limit of the error range is the sum value obtained by adding the radius to the time to be queried;
the node time difference is specifically a time difference between the monitoring node and the master control node, and the monitoring command running time is specifically a time required for the monitoring node to acquire the monitoring record and write the monitoring record into the database.
2. The method according to claim 1, wherein the sending time and frequency of the query command sent by the master node to the monitoring node are the same as the obtaining time and frequency of the monitoring node to obtain the monitoring record.
3. The method according to claim 1 or 2, wherein when the monitoring node sends the latest monitoring record to the master node, the method further comprises:
and the monitoring node sends the time of writing the latest monitoring record into the database to the main control node.
4. A system for collecting monitoring records, comprising:
the master control node is used for sending a query command to the monitoring node and receiving the monitoring record sent by the monitoring node; the query command comprises a time to be queried and an error range;
the monitoring node is used for acquiring the monitoring record and writing the monitoring record into a database; the system is also used for searching the latest monitoring record in the error range from the database according to the time to be inquired after receiving the inquiry command sent by the main control node, and sending the monitoring record to the main control node;
further comprising:
the time synchronization server is used for adjusting the time of the main control node and the time of the monitoring node;
the radius of the error range is the sum of the node time difference and the monitoring command running time, the lower limit of the error range is the difference value obtained by subtracting the radius from the time to be queried, and the upper limit of the error range is the sum value obtained by adding the radius to the time to be queried; the node time difference is specifically a time difference between the monitoring node and the master control node, and the monitoring command running time is specifically a time required for the monitoring node to acquire the monitoring record and write the monitoring record into the database.
5. The system according to claim 4, wherein the sending time and frequency of the query command sent by the master node to the monitoring node are the same as the time and frequency of the monitoring node starting to obtain the monitoring record.
6. The system for collecting monitoring records according to claim 4 or 5, wherein when the monitoring node sends the latest monitoring record to the master node, the monitoring node is further configured to: and sending the time of the latest monitoring record written into the database to the master control node.
CN201710651387.0A 2017-08-02 2017-08-02 Method and system for collecting monitoring records Active CN107463484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710651387.0A CN107463484B (en) 2017-08-02 2017-08-02 Method and system for collecting monitoring records

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710651387.0A CN107463484B (en) 2017-08-02 2017-08-02 Method and system for collecting monitoring records

Publications (2)

Publication Number Publication Date
CN107463484A CN107463484A (en) 2017-12-12
CN107463484B true CN107463484B (en) 2020-11-20

Family

ID=60548095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710651387.0A Active CN107463484B (en) 2017-08-02 2017-08-02 Method and system for collecting monitoring records

Country Status (1)

Country Link
CN (1) CN107463484B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297814A (en) * 2019-05-22 2019-10-01 中国平安人寿保险股份有限公司 Method for monitoring performance, device, equipment and the storage medium of database manipulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117878A (en) * 2013-01-30 2013-05-22 浪潮电子信息产业股份有限公司 Design method of Nagios-based distribution monitoring system
CN103501253A (en) * 2013-10-18 2014-01-08 浪潮电子信息产业股份有限公司 Monitoring organization method for high-performance computing application characteristics
CN105022833A (en) * 2015-08-10 2015-11-04 浪潮(北京)电子信息产业有限公司 Data processing method, nodes and monitoring system
CN109270882A (en) * 2017-07-17 2019-01-25 南京海印通信设备有限公司 A kind of warehouse environment monitoring method based on wireless communication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9830801B2 (en) * 2013-11-20 2017-11-28 Medical Informatics Corp. Alarm management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117878A (en) * 2013-01-30 2013-05-22 浪潮电子信息产业股份有限公司 Design method of Nagios-based distribution monitoring system
CN103501253A (en) * 2013-10-18 2014-01-08 浪潮电子信息产业股份有限公司 Monitoring organization method for high-performance computing application characteristics
CN105022833A (en) * 2015-08-10 2015-11-04 浪潮(北京)电子信息产业有限公司 Data processing method, nodes and monitoring system
CN109270882A (en) * 2017-07-17 2019-01-25 南京海印通信设备有限公司 A kind of warehouse environment monitoring method based on wireless communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Agent的网络安全日志收集系统设计与实现;桑柏嵩;《中国优秀硕士学位论文全文数据库》;20150815;全文 *

Also Published As

Publication number Publication date
CN107463484A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US9779128B2 (en) System and method for massively parallel processing database
US9176798B2 (en) Computer-readable recording medium, failure prediction device and applicability determination method
CN113609139A (en) Monitoring data management method and device, electronic equipment and storage medium
CN112751726B (en) Data processing method and device, electronic equipment and storage medium
US10365978B1 (en) Synchronization of snapshots in a distributed consistency group
CN111049928B (en) Data synchronization method, system, electronic device and computer readable storage medium
CN109218100A (en) Distributed objects storage cluster and its request responding method, system and storage medium
JP6633642B2 (en) Method and device for processing data blocks in a distributed database
CN109298978B (en) Recovery method and system for database cluster of specified position
CN111552701B (en) Method for determining data consistency in distributed cluster and distributed data system
CN110196780B (en) Method, device, storage medium and electronic device for determining server state
JP6252309B2 (en) Monitoring omission identification processing program, monitoring omission identification processing method, and monitoring omission identification processing device
CN106201772A (en) The backup of a kind of operating system based on data center, restoration methods and device
CN106487852B (en) Method, device, terminal equipment and system for realizing client file synchronization
CN107463484B (en) Method and system for collecting monitoring records
US20210397599A1 (en) Techniques for generating a consistent view of an eventually consistent database
Pankowski Consistency and availability of Data in replicated NoSQL databases
CN115587147A (en) Data processing method and system
CN111209138A (en) Operation and maintenance method and device of data storage system
CN109254880A (en) A kind of method and device handling database delay machine
CN114116253A (en) Message processing method and system for message queue
CN108897645B (en) Database cluster disaster tolerance method and system based on standby heartbeat disk
CN107710165A (en) Method and apparatus for the request of memory node synchronous service
CN105205168A (en) Exposure system based on Redis database and operation method thereof
CN111522875A (en) Data copy consistency monitoring method for distributed system with full data synchronization

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201102

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant