CN109597735A - Monitoring method, system and storage medium - Google Patents

Monitoring method, system and storage medium Download PDF

Info

Publication number
CN109597735A
CN109597735A CN201811456581.4A CN201811456581A CN109597735A CN 109597735 A CN109597735 A CN 109597735A CN 201811456581 A CN201811456581 A CN 201811456581A CN 109597735 A CN109597735 A CN 109597735A
Authority
CN
China
Prior art keywords
data
host
target
monitoring
server
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
Application number
CN201811456581.4A
Other languages
Chinese (zh)
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.)
Shouyue Technology Beijing Co Ltd
Original Assignee
Shouyue Technology Beijing 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 Shouyue Technology Beijing Co Ltd filed Critical Shouyue Technology Beijing Co Ltd
Priority to CN201811456581.4A priority Critical patent/CN109597735A/en
Publication of CN109597735A publication Critical patent/CN109597735A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring 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
    • 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

Abstract

This application discloses a kind of monitoring method, system and storage mediums.Wherein, monitoring method includes: to acquire data relevant to host operation by defaulting in the monitoring programme of host, wherein the monitoring programme is used to store target according to pre-set data, and data collected are stored to position pointed by data storage target;And data collected are stored to the data by the monitoring programme and store position pointed by target, wherein the data storage target is directed toward the example run in the database of server, and the example is set in advance as storing data collected.In this way, it not only meets and second grade acquisition is carried out to the operation data on host, the historical data for also meeting acquisition can store to be used for subsequent query.The technical issues of solving the historical data of data acquisition and acquisition that existing monitoring system can not meet second grade simultaneously in turn can store for subsequent query.

Description

Monitoring method, system and storage medium
Technical field
This application involves monitoring system fields, more particularly to a kind of monitoring method, system and storage medium.
Background technique
Monitoring system is particularly important to especially Internet company, each company, needs to understand in real time the operation feelings of system Condition needs to be alerted according to the rule of setting, guarantees the stable operation and the operation of quick recovery system of system.It is existing to open Source scheme can basically meet the daily monitoring needs of system, but the monitoring of these systems second grade substantially difficult to realize. Although Zabbix can be with the acquisition for setting low granularity, due to the storage of its data and acquisition mode, in machine quantity When more, very big pressure can be generated to system if carrying out the data acquisition of second grade, while carrying out data query When can be very slow.Netdata is the host second grade monitoring system of an open source, low-resource occupancy may be implemented, while meeting complete The data acquisition in orientation and second grade, but Netdata is the acquisition of single machine and the data storage of single machine, and default data stores In memory, so the data of history can not be saved.So we need the data acquisition of second grade, acquisition when, cannot Increase excessive resource occupation to gathered person, while the historical data acquired can store for subsequent query, the history of acquisition Data can be visualized.
For above-mentioned existing monitoring system existing in the prior art can not meet simultaneously the second grade data acquisition with And historical data the technical issues of can store for subsequent query of acquisition, currently no effective solution has been proposed.
Summary of the invention
Embodiment of the disclosure provides a kind of monitoring method, system and storage medium, at least to solve the prior art Present in existing monitoring system can not meet simultaneously the second grade data acquisition and acquisition historical data can store confession The technical issues of subsequent query.
According to the one aspect of the embodiment of the present disclosure, a kind of monitoring method is provided, comprising: by the prison for defaulting in host Programmed acquisition data relevant to host operation are controlled, wherein monitoring programme is used to store target according to pre-set data, will Data collected are stored to position pointed by data storage target;And data collected are stored by monitoring programme To position pointed by data storage target, wherein data storage target is directed toward the example run in the database of server, And example is set in advance as storing data collected.
According to the another aspect of the embodiment of the present disclosure, a kind of monitoring system is additionally provided, including running on the prison on host Control program and the server connecting with host, wherein monitoring programme is configured to control host and executes following operation: monitoring journey Sequence acquires data relevant to host operation, and wherein monitoring programme is used to store target according to pre-set data, will be adopted The data of collection are stored to position pointed by data storage target;And data collected are stored to data and are deposited by monitoring programme Position pointed by target is stored up, wherein data storage target is directed toward the example run in the database of server, and example It is set in advance as storing data collected.
According to the other side of the embodiment of the present disclosure, a kind of storage medium is additionally provided, storage medium includes storage Program, wherein the method as described in processor execution any of the above one in program operation.
According to the other side of the embodiment of the present disclosure, a kind of monitoring system is additionally provided, comprising: acquisition module is used for Monitoring programme by defaulting in host acquires data relevant to host operation, and wherein monitoring programme is preset for basis Data store target, by data collected store to data storage target pointed by position;And memory module, it is used for Data collected are stored to data by monitoring programme and store position pointed by target, wherein data storage target is directed toward The example in the database of server is run on, and example is set in advance as storing data collected.
To which the monitoring method and system provided through this embodiment can satisfy user to the daily of each host Monitoring needs.And monitoring system can not only carry out second grade acquisition to the operation data on host, also meet going through for acquisition History data can store to be used for subsequent query.And then solve existing monitoring system can not meet simultaneously the second grade data adopt The technical issues of collection and the historical data of acquisition can store for subsequent query.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the disclosure, constitutes part of this application, this public affairs The illustrative embodiments and their description opened do not constitute the improper restriction to the disclosure for explaining the disclosure.In the accompanying drawings:
Fig. 1 is [terminal (or mobile device)] for realizing the method according to the embodiment of the present disclosure 1 Hardware block diagram;
Fig. 2 is the schematic diagram of the system of the monitoring method according to the embodiment of the present disclosure 1;
Fig. 3 is the flow diagram of the monitoring method according to the first aspect of the embodiment of the present disclosure 1;
Fig. 4 is the schematic diagram of the monitoring system according to the embodiment of the present disclosure 2;
Fig. 5 is the work flow diagram of the monitoring system according to the embodiment of the present disclosure 2;And
Fig. 6 is the schematic diagram of the monitoring system according to the embodiment of the present disclosure 3.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution of the disclosure, implement below in conjunction with the disclosure Attached drawing in example, is clearly and completely described the technical solution in the embodiment of the present disclosure.Obviously, described embodiment The only embodiment of disclosure a part, instead of all the embodiments.Based on the embodiment in the disclosure, this field is common Disclosure protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to the present embodiment, a kind of monitoring method embodiment is provided, it should be noted that illustrate in the process of attached drawing The step of can execute in a computer system such as a set of computer executable instructions, although also, showing in flow charts Go out logical order, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
Embodiment of the method provided by the present embodiment can be in mobile terminal, terminal or similar arithmetic unit Middle execution.Fig. 1 shows a kind of hardware block diagram of terminal (or mobile device) for realizing monitoring method.Such as Shown in Fig. 1, terminal 10 (or mobile device 10) may include it is one or more (using 102a, 102b ... ... in figure, 102n is shown) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA to processor 102 Deng processing unit), memory 104 for storing data and for the transmission module 106 of communication function.In addition to this, It can also include: that display, input/output interface (I/O interface), the port universal serial bus (USB) (can be used as I/O to connect Mouthful port in a port included), network interface, power supply and/or camera.Those of ordinary skill in the art can manage Solution, structure shown in FIG. 1 are only to illustrate, and do not cause to limit to the structure of above-mentioned electronic device.For example, terminal 10 It may also include than shown in Fig. 1 more perhaps less component or with the configuration different from shown in Fig. 1.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter In any one in other elements in calculation machine terminal 10 (or mobile device).As involved in the embodiment of the present disclosure, The data processing circuit controls (such as the selection for the variable resistance end path connecting with interface) as a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as the monitoring in the embodiment of the present disclosure Corresponding program instruction/the data storage device of method, the software program that processor 102 is stored in memory 104 by operation And module realizes the monitoring method of above-mentioned application program thereby executing various function application and data processing.Storage Device 104 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processing The remotely located memory of device 102, these remote memories can pass through network connection to terminal 10.Above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with The user interface of terminal 10 (or mobile device) interacts.
Herein it should be noted that in some optional embodiments, above-mentioned computer equipment shown in FIG. 1 (or movement is set It is standby) it may include hardware element (including circuit), software element (including the computer generation that may be stored on the computer-readable medium Code) or both hardware element and software element combination.It should be pointed out that Fig. 1 is only a reality of particular embodiment Example, and it is intended to show that the type for the component that may be present in above-mentioned computer equipment (or mobile device).
Fig. 2 is the schematic diagram of the system of the monitoring method according to the present embodiment.Referring to shown in Fig. 2, which includes: Server 100 and run on monitoring programme on host 200.Wherein system can be by the monitoring that runs on host 200 Operation data on programmed acquisition host 200, then the data being collected are stored in by monitoring programme by the number in server 100 According to library.Referring to shown in Fig. 2, host 200 can be multiple main frames.The monitoring system monitoring by being set on each host respectively The data being collected are stored in the database in server 100 by program.It should be noted that server 100 in system with And run on the applicable hardware configuration recited above of monitoring programme on host 200.
Under above-mentioned running environment, according to the first aspect of the present embodiment, provide a kind of monitoring method, this method by Server 100 shown in Fig. 2 and the monitoring programme run on host 200 are realized jointly.
Fig. 3 shows the flow diagram of this method, refering to what is shown in Fig. 3, this method comprises:
S302: the monitoring programme by defaulting in host acquires data relevant to host operation, and wherein monitoring programme is used In storing target according to pre-set data, data collected are stored to position pointed by data storage target;With And
S304: data collected are stored to data by monitoring programme and store position pointed by target, wherein counting Be directed toward the example run in the database of server according to storage target, and example be set in advance as it is collected for storing Data.
Specifically, monitoring system provided by the present embodiment can satisfy user and carry out to the operation data on each host The needs of daily monitoring.I.e. monitoring system is by the monitoring programme in advance on host 200, when acquisition is run with host 200 The relevant data generated.Wherein, monitoring system can be acquired the operation data in multiple main frames by monitoring programme. Also, monitoring programme is used for according to the data storage target pre-set, i.e., according to the data storage path pre-set, By collected relevant data are run to host 200 store to specific position.Such as: the prison on host 200 in advance Controlling program can be Netdata.
As described in the background art, low-resource occupancy may be implemented in Netdata, while meeting grade of comprehensive and second Data acquisition.But Netdata is the acquisition of single machine and the data storage of single machine, and default data is stored in memory, institute The data of history can not be saved.
For the technical problem, monitoring system described in the present embodiment can be by storing mesh to Netdata configuration data Mark may be implemented for the collected data of Netdata to be transferred to position pointed by data storage target in real time.
Further, monitoring system is by the monitoring programme in advance on host 200, by collected and host 200 Run position pointed by relevant data storage to data storage target.Wherein, the position that data storage target is directed toward is fortune Example of the row in the database of server 100, and the example is set in advance as storing running with host 200 for acquisition When the relevant data that generate.Such as: monitoring system is set as running on server by the way that the data of Netdata are stored target Example in 100 database, so that collected data are transferred to by Netdata in real time runs on server 100 Database in example.The database for wherein running on server 100 can be the time series database of an open source: InfluxDB.It can have multiple examples in InfluxDB, be respectively used to store the relevant number generated when the operation of each host According to.
To which the data that monitoring system generates when being run by monitoring programme to host 200 carry out second grade acquisition, then pass through Configuration data stores target, so that monitoring programme data collected can store in the database in server 100, rather than It is stored in local memory.In this way, it not only meets and second grade acquisition is carried out to the operation data on host, also meet The historical data of acquisition can store to be used for subsequent query.Second grade can not be met simultaneously by solving existing monitoring system in turn Data acquisition and acquisition historical data the technical issues of can store for subsequent query.
Optionally, data collected are stored to data to the behaviour for storing position pointed by target by monitoring programme Make, comprising: label is added to data collected by monitoring programme;And being acquired for label will be had by monitoring programme Data store to data storage target pointed by position.
Specifically, in the case where monitoring system is monitored the operation data in multiple main frames, monitoring system needs During data transmission, label is added to data collected, for distinguishing which host is data collected be.Cause This, monitoring system can add label to data collected by monitoring programme.The IP attribute etc. of machine in order to prevent simultaneously It changes, monitoring system uses host sequence number instead as label.Then, monitoring system will have label by monitoring programme Data collected store to position pointed by data storage target and (run on certain in the database in server 100 One example).To the operation data of the multiple main frames of acquisition be distinguished, Jin Erti by adding tagged mode For high performance data storage and query service, so that the subsequent operation that data collected are inquired and retrieved is more It is convenient.
Other databases can also be used to be replaced you need to add is that running on the database of server 100, example Such as: KairosDB, Prometheus and Cassandra.
In addition, refering to what is shown in Fig. 1, providing a kind of storage medium 104 according to the second aspect of the present embodiment.Storage Medium 104 includes the program of storage, wherein the method for executing any of the above one by processor in program operation.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Fig. 4 shows the monitoring system 400 according to the present embodiment, refering to what is shown in Fig. 4, the monitoring system 400 includes: The monitoring programme 410 run on host and the server 420 connecting with host, wherein monitoring programme 410 is configured to control Host processed executes following operation: acquiring data relevant to host operation by monitoring programme 410, wherein monitoring programme 410 is used In storing target according to pre-set data, data collected are stored to position pointed by data storage target;With And data collected are stored to data by monitoring programme 410 and store position pointed by target, wherein data store mesh Mark is directed toward the example run in the database of server 420, and example is set in advance as storing data collected.
Specifically, the monitoring programme 410 run on host can be real-time performance monitoring instrument: Netdata.And with The server 420 of host connection is configured with the time series database of an open source: InfluxDB.
Then, monitoring programme 410 is configured to control host and executes following operation: passing through the monitoring being set on host in advance Program 410 (i.e. Netdata) acquires the relevant data generated when running to host.Wherein, host can pass through Netdata Operation data in multiple main frames is acquired.
As described in the background art, low-resource occupancy may be implemented in Netdata, while meeting grade of comprehensive and second Data acquisition.But Netdata is the acquisition of single machine and the data storage of single machine, and default data is stored in memory, institute The data of history can not be saved.
For the technical problem, in the monitoring system 400 described in the present embodiment, Netdata is used for basis and presets Good data store target, i.e., according to the data storage path pre-set, by number relevant to host operation collected According to storing to specific position.Such as: second grade can be carried out after Netdata service starting to the operation data of place host and is adopted Collection.Then host can be may be implemented the collected data of Netdata are real by storing target to Netdata configuration data When be transferred to data storage target pointed by position.
Data relevant to host operation collected are stored by Netdata in addition, monitoring programme 410 controls host To position pointed by data storage target.Wherein, the position that data storage target is directed toward is the data for running on server 420 Example in library, and the example is set in advance as the relevant data generated when running to host for storing acquisition.Its In run on server 420 database can for one open source time series database: InfluxDB.Such as: monitoring programme 410 Collected data are transferred to by control host in real time by Netdata runs on the database of server 420 (i.e. InfluxDB the example in).It can have multiple examples in InfluxDB, be respectively used to store and generate when the operation of each host Relevant data.
To, the data that monitoring system 400 generates when being run by monitoring programme 410 to host carry out second grade acquisition, then Target is stored by configuration data, so that the data collected of monitoring programme 410 can store in the data in server 420 Library, without being stored in local memory.In this way, it not only meets and the operation data progress second grade on host is adopted Collection, the historical data for also meeting acquisition can store to be used for subsequent query.Solving existing monitoring system in turn can not The technical issues of meeting the historical data of data acquisition and the acquisition of second grade simultaneously can store for subsequent query.
Optionally, example can be multiple examples, and server is additionally provided with load balancer, for institute is received It distributes to data load balance to multiple examples, and wherein monitoring programme is additionally configured to execute following operation: being deposited according to data Target is stored up, data collected are sent to server.
Specifically, multiple examples be can have in the database run on server 420.Also, server 420 is also set It is equipped with load balancer, for distributing received data load balance to multiple examples.Wherein, server 420 can lead to Overload balanced device distributes the operation data of the collected same host into the same example.Also, monitoring programme 410 Be additionally configured to execute following operation: monitoring programme 410 stores target according to preconfigured data, and data collected are sent To server 420.In such a way that the data of acquisition are sent to server 420 by monitoring programme 410, so that server 420 can By load balancer load balancing received data to be distributed to multiple examples.
Optionally, server is configured to execute following operation: by load balancer, load balancing by number collected Position pointed by target is stored according to storing to data.Specifically, server 420 can pass through load balancer, load balancing Ground stores data collected to position pointed by data storage target, i.e., in the database run on server 420 In specific example.In this way, ensured that the operation data of the same host is distributed into the same example.
Optionally, server is configured to execute following operation: the inquiry of data collected is inquired in the request for receiving input Request;Inquiry data corresponding with inquiry request are transferred from database;And inquiry data are visualized.
Specifically, in the case where user has the demand of nearly three days operation datas on inquiry host A, clothes can be passed through Business device 420 is inquired.Server 420 receives the inquiry request of user's input at this time, and then server 420 is adjusted from database Take out inquiry data corresponding in inquiry request.I.e. server 420 is stored with all operation datas of host A from database Nearly three days operation datas on host A are transferred in example.Then, server 420 visualizes the data inquired. Wherein, server 420 can show template by the preconfigured data of visualization tool Grafana, carry out second grade data It visualizes.To in this way, user be allowed to inquire simultaneously the data run on collected host The effect of storage optimization.
Optionally, database is configured with application programming interface, and the operation of inquiry data is transferred from database, It include: that inquiry data are transferred from database by application programming interface.Specifically, database is configured with application program Programming interface, then server 420 can transfer inquiry data by the application programming interface from database.
Optionally, server is additionally configured to execute following operation: receiving the label information of input and according to label information The retrieval request that data collected are retrieved;According to label information, to the data collected being stored in database profession It is retrieved, obtains retrieval data;And retrieval data are visualized.
Specifically, in the demand that there is user three days operation datas nearly to host A to be retrieved, user can be to clothes Business device 420 inputs the label information (such as host sequence number) of host A.Server 420 receives the label letter of user's input at this time Breath and retrieval request.Then server 420 is carried out according to host sequence number three days operation datas nearly to host A of host A Retrieval, and obtain retrieving data accordingly.Finally, server 420 visualizes obtained retrieval data.Wherein take Business device 420 can will retrieve the visual presentation that data carry out second grade data by visualization tool Grafana.
In addition, Fig. 5 shows the work flow diagram of monitoring system provided in this embodiment.It is as shown in Figure 5: monitoring system packet The monitoring programme (not shown) and server (not shown) run on N number of host is included, wherein server is equal configured with load Weighing apparatus, multiple databases and visualization tool.There is the demand being monitored to the operation data on this N number of host in user When, the operation data on the host at place can be acquired respectively by the monitoring programme run on N number of host.Then Monitoring programme reports to the load balancer run on server according to pre-set store path, by acquisition data.So Back loading balanced device is distributed data are acquired into database A, database B and database C.Have in user to a certain host On operation data inquired and/or retrieved demand when, user can input corresponding inquiry and/or retrieval to server Demand.At this point, server transfers relevant data according to the inquiry and/or Search Requirement of user, and pass through visualization tool pair The related data being deployed into is visualized.To which Fig. 5 has embodied the entire of monitoring system provided by the present embodiment Workflow.
Embodiment 3
Fig. 6 shows the monitoring system 600 according to the present embodiment, the monitoring system 600 with according to the of embodiment 1 Method described in one aspect is corresponding.Refering to what is shown in Fig. 6, the monitoring system 600 includes: acquisition module 610, for by pre- Monitoring programme set on host acquires data relevant to host operation, and wherein monitoring programme is used for according to pre-set data Target is stored, data collected are stored to position pointed by data storage target;And memory module 620, for leading to It crosses monitoring programme to store data collected to position pointed by data storage target, wherein data storage target is directed toward fortune Example of the row in the database of server, and example is set in advance as storing data collected.
Optionally, acquisition module 610 includes: addition submodule, for by monitoring programme addition label to collected Data;And sub-module stored, mesh is stored for storing the data collected with label to data by monitoring programme The pointed position of mark.
To which the monitoring system provided through this embodiment can satisfy user to the daily monitoring needs of each host. And monitoring system can not only carry out second grade acquisition to the operation data on host, and the historical data that also meet acquisition can be with Storage is used for subsequent query.The data acquisition and acquisition of second grade can not be met simultaneously by solving existing monitoring system in turn Historical data the technical issues of can store for subsequent query.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of monitoring method characterized by comprising
Monitoring programme by defaulting in host acquires data relevant to host operation, wherein the monitoring programme is used for Target is stored according to pre-set data, data collected are stored to position pointed by data storage target; And
Data collected are stored to the data by the monitoring programme and store position pointed by target, wherein described Data storage target is directed toward the example run in the database of server, and the example is set in advance as storing The data of acquisition.
2. the method according to claim 1, wherein by the monitoring programme by data collected store to The operation of position pointed by the data storage target, comprising:
Label is added to data collected by the monitoring programme;And
The data collected with label are stored to the data by the monitoring programme and store position pointed by target It sets.
3. a kind of monitoring system, which is characterized in that including the monitoring programme run on host and the service being connect with host Device, wherein the monitoring programme, which is configured to control host, executes following operation:
Data relevant to host operation are acquired by the monitoring programme, wherein the monitoring programme is used for according in advance The data of setting store target, and data collected are stored to position pointed by data storage target;And
Data collected are stored to the data by the monitoring programme and store position pointed by target, wherein described Data storage target is directed toward the example run in the database of server, and the example is set in advance as storing The data of acquisition.
4. system according to claim 3, which is characterized in that the example is multiple examples, and the server is also It is provided with load balancer, for distributing received data load balancing to the multiple example, and wherein
The monitoring programme is additionally configured to execute following operation: storing target according to the data, data collected are sent To the server.
5. system according to claim 4, which is characterized in that the server is configured to execute following operation:
By the load balancer, load balancing data collected are stored to pointed by data storage target Position.
6. system according to claim 3, which is characterized in that the server is configured to execute following operation:
The inquiry request of data collected is inquired in the request for receiving input;
Inquiry data corresponding with the inquiry request are transferred from the database;And
The inquiry data are visualized.
7. system according to claim 6, which is characterized in that the database is configured with application programming interface, and And the operation of the inquiry data is transferred from the database, comprising:
By the application programming interface, the inquiry data are transferred from the database.
8. system according to claim 3, which is characterized in that the server is additionally configured to execute following operation:
The retrieval request for receiving the label information of input and data collected being retrieved according to the label information;
According to the label information, the data collected being stored in the database are retrieved, obtain retrieval data; And
The retrieval data are visualized.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When as processor perform claim require any one of 1 to 8 described in method.
10. a kind of monitoring system characterized by comprising
Acquisition module acquires data relevant to host operation for the monitoring programme by defaulting in host, wherein institute Monitoring programme is stated for storing target according to pre-set data, data collected are stored to the data and store target Pointed position;And
Memory module stores pointed by target for being stored data collected to the data by the monitoring programme Position, wherein data storage target is directed toward the example run in the database of server, and the example is set in advance It is set to for storing data collected.
CN201811456581.4A 2018-11-30 2018-11-30 Monitoring method, system and storage medium Pending CN109597735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811456581.4A CN109597735A (en) 2018-11-30 2018-11-30 Monitoring method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811456581.4A CN109597735A (en) 2018-11-30 2018-11-30 Monitoring method, system and storage medium

Publications (1)

Publication Number Publication Date
CN109597735A true CN109597735A (en) 2019-04-09

Family

ID=65959108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811456581.4A Pending CN109597735A (en) 2018-11-30 2018-11-30 Monitoring method, system and storage medium

Country Status (1)

Country Link
CN (1) CN109597735A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037579A (en) * 2019-12-09 2021-06-25 中盈优创资讯科技有限公司 Data network flow management method and device, computer equipment and readable storage medium
CN114428706A (en) * 2022-01-06 2022-05-03 前海飞算云智软件科技(深圳)有限公司 Interface monitoring method and device, storage medium and electronic equipment
CN115174651A (en) * 2022-06-24 2022-10-11 浪潮工业互联网股份有限公司 Communication method, device and medium for multiple hosts and one slave

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150052406A1 (en) * 2013-08-19 2015-02-19 Concurix Corporation Combined Performance Tracer and Snapshot Debugging System
CN108121635A (en) * 2017-12-01 2018-06-05 银联商务股份有限公司 Link monitoring method and device
CN108512719A (en) * 2018-03-02 2018-09-07 南京易捷思达软件科技有限公司 A kind of Integrative resource monitoring system based on cloud platform of increasing income

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150052406A1 (en) * 2013-08-19 2015-02-19 Concurix Corporation Combined Performance Tracer and Snapshot Debugging System
CN108121635A (en) * 2017-12-01 2018-06-05 银联商务股份有限公司 Link monitoring method and device
CN108512719A (en) * 2018-03-02 2018-09-07 南京易捷思达软件科技有限公司 A kind of Integrative resource monitoring system based on cloud platform of increasing income

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
ANDREYRADYGIN: "Add custom label for prometheus export", 《HTTPS://GITHUB.COM/NETDATA/NETDATA/ISSUES/3364》 *
GAMEFUNDAS,KTSAOU: "netdata on ephemeral nodes", 《HTTPS://GITHUB.COM/NETDATA/NETDATA/ISSUES/1311》 *
JIMBOJOE: "[Grafana] Beautiful metric & analytic dashboards for monitoring", 《HTTPS://FORUM.YUNOHOST.ORG/T/GRAFANA-BEAUTIFUL-METRIC-ANALYTIC-DASHBOARDS-FOR-MONITORING/2580/2》 *
KHALED MONSOOR: "Templated Netdata Dashboard", 《HTTPS://GRAFANA.COM/GRAFANA/DASHBOARDS/2701》 *
LIMORITAKEU: "Netdata-Prometheus-Grafana Stack輕量級即時監控方案研究", 《HTTP://WWW.LIMORITAKEU.TECH/2018/01/16/NETDATA-PROMETHEUS-GRAFANA-STACK/》 *
LUVPREET: "Monitoring without Netdata? Think again mate", 《HTTPS://LUVPREETSINGH.GITHUB.IO/MONITORING-WITHOUT-NETDATA-THINK-AGAIN-MATE/》 *
LUVPREETSUNGH,KTSAOU: "Sending data to another machine", 《HTTPS://GITHUB.COM/NETDATA/NETDATA/ISSUES/2153》 *
散尽浮华: "Netdata---Linux系统性能实时监控平台部署记录", 《HTTPS://WWW.CNBLOGS.COM/KEVINGRACE/P/7300191.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037579A (en) * 2019-12-09 2021-06-25 中盈优创资讯科技有限公司 Data network flow management method and device, computer equipment and readable storage medium
CN114428706A (en) * 2022-01-06 2022-05-03 前海飞算云智软件科技(深圳)有限公司 Interface monitoring method and device, storage medium and electronic equipment
CN114428706B (en) * 2022-01-06 2022-11-22 前海飞算云智软件科技(深圳)有限公司 Interface monitoring method and device, storage medium and electronic equipment
CN115174651A (en) * 2022-06-24 2022-10-11 浪潮工业互联网股份有限公司 Communication method, device and medium for multiple hosts and one slave
CN115174651B (en) * 2022-06-24 2023-10-27 浪潮工业互联网股份有限公司 Communication method, equipment and medium for multiple hosts and one slave

Similar Documents

Publication Publication Date Title
CN109829308A (en) The management method and device of control strategy, storage medium, electronic device
CN109597735A (en) Monitoring method, system and storage medium
US9923782B1 (en) Computer network virtual entity pathway visualization system
CN110362377A (en) The dispatching method and device of virtual machine
CN105809248A (en) Method for configuring DANN onto SDN and an interaction method between them
CN103475722A (en) Implement system for business collaboration platform
CN109344170A (en) Stream data processing method, system, electronic equipment and readable storage medium storing program for executing
CN109583612A (en) For determining the method, system and storage medium of share-car driver
JP2019075077A (en) Workflow engine framework
CN108337275A (en) Task distribution method, device and equipment for Distributor
CN110019337A (en) Determine methods, devices and systems efficient zoned in database
CN110506259A (en) System and method for calculate node management agreement
CN109478147A (en) Adaptive resource management in distributed computing system
US7562410B2 (en) System and method for managing a computer network
CN109656755A (en) The method and system of detection device state
CN109829015A (en) Finance data storage method, device and storage medium based on HBase
CN110490331A (en) The processing method and processing device of knowledge mapping interior joint
CN109743385A (en) Method for Calculate Mileage, device and storage medium
CN109120444A (en) cloud resource management method, processor and storage medium
CN107294811A (en) Network detecting method, network detection means and intelligent terminal
CN109697249A (en) Search for method, system and the storage medium of target object and issue object
CN103685219B (en) Terminal device and its data communications method
CN110069406A (en) The TPC-DS test method and system of automatic trigger
CN109857579A (en) A kind of data processing method and relevant apparatus
CN109558360A (en) The methods of exhibiting and device of electronic system architecture

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409