CN108055342B - Data monitoring method and device - Google Patents

Data monitoring method and device Download PDF

Info

Publication number
CN108055342B
CN108055342B CN201711429439.6A CN201711429439A CN108055342B CN 108055342 B CN108055342 B CN 108055342B CN 201711429439 A CN201711429439 A CN 201711429439A CN 108055342 B CN108055342 B CN 108055342B
Authority
CN
China
Prior art keywords
proxy server
target
monitoring
monitoring system
determining
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
CN201711429439.6A
Other languages
Chinese (zh)
Other versions
CN108055342A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201711429439.6A priority Critical patent/CN108055342B/en
Publication of CN108055342A publication Critical patent/CN108055342A/en
Application granted granted Critical
Publication of CN108055342B publication Critical patent/CN108055342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a data monitoring method and a device, comprising the following steps: receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data; determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item; acquiring load information of each proxy server contained in the target monitoring system; determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system; and feeding back the information of the target proxy server to the client, and forwarding the monitoring item data to the target proxy server. The proxy server is scheduled according to the load degree of the proxy server, so that the load resource of the proxy server can be utilized to the maximum extent, the monitoring system can bear a larger number of clients, and the load capacity of the monitoring system is greatly improved.

Description

Data monitoring method and device
Technical Field
The invention relates to the technical field of data monitoring, in particular to a data monitoring method and device.
Background
Zabbix has been widely used in the industry as a mature open source monitoring system. The Zabbix monitoring system comprises a server and a client. The server may monitor the status of the remote server through the client. Specifically, the client needs to be installed on a monitored target server, and mainly collects hardware information of the target server or information such as memory and a CPU related to an operating system. The server informs the administrator of the target server of quickly positioning and solving various problems of the target server according to the information collected by the client.
At present, a Zabbix monitoring system has two common deployment modes, one is that a client is directly connected with a server, information collected by the client is directly reported to the server, and the other is that the client is indirectly connected with the server through a proxy server, and the information collected by the client is firstly reported to the proxy server and then is uniformly sent to the server by the proxy server.
However, in the actual use process, the deployment mode that the client is directly connected to the server limits the scale of load expansion of the Zabbix monitoring system due to the limited number of clients that the server can bear. And the client is indirectly connected with the server through the proxy server, and the configuration is complex, so that the feasibility of load expansion of the Zabbix monitoring system is limited.
Therefore, how to improve the load expansion capability of the Zabbix monitoring system becomes a problem to be solved urgently by the people in the industry.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data monitoring method and apparatus, which can improve the load expansion capability of a Zabbix monitoring system.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of data monitoring, comprising:
receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data;
determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item;
acquiring load information of each proxy server contained in the target monitoring system;
determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system;
and feeding back the information of the target proxy server to the client, and forwarding the monitoring data to the target proxy server.
Preferably, the obtaining load information of each proxy server included in the target monitoring system includes:
acquiring the network connection number of each proxy server contained in the target monitoring system;
then, the determining, according to the load information of each proxy server included in the target monitoring system, that the proxy server with the lightest load in the target monitoring system is the target proxy server includes:
and determining the proxy server with the least network connection number in the target monitoring system as the target proxy server according to the network connection number of each proxy server contained in the target monitoring system.
Preferably, the method further comprises:
receiving an aggregation monitoring result acquisition request sent by a client, and determining a plurality of monitoring items corresponding to the aggregation monitoring result;
determining a target monitoring system according to the aggregation monitoring result obtaining request, wherein the target monitoring system is a monitoring system registered with the plurality of monitoring items;
acquiring a monitoring result corresponding to each monitoring item in the target monitoring system;
performing aggregation calculation on the monitoring result corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result;
and feeding back the aggregation monitoring result to the client.
Preferably, the method further comprises:
and acquiring the state information of each proxy server contained in the target monitoring system.
Preferably, the determining, according to the load information of each proxy server included in the target monitoring system, that the proxy server with the lightest load in the target monitoring system is the target proxy server includes:
determining a proxy server with a normal state in the target monitoring system according to the state information of each proxy server contained in the target monitoring system;
and determining the proxy server with the lightest load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server in the target monitoring system.
A data monitoring apparatus, comprising:
the receiving module is used for receiving monitoring data sent by a client and determining a monitoring item corresponding to the monitoring data;
the target monitoring system determining module is used for determining a target monitoring system according to the monitoring data, and the target monitoring system is a monitoring system registered with the monitoring item;
the acquisition module is used for acquiring the load information of each proxy server contained in the target monitoring system;
the target proxy server determining module is used for determining a proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system;
and the feedback module is used for feeding back the information of the target proxy server to the client and forwarding the monitoring data to the target proxy server.
Preferably, the load information acquiring module is specifically configured to:
acquiring the network connection number of each proxy server contained in the target monitoring system;
then, the target proxy server determining module is specifically configured to:
and determining the proxy server with the least network connection number in the target monitoring system as the target proxy server according to the network connection number of each proxy server contained in the target monitoring system.
Preferably, the receiving module is further configured to receive an aggregation monitoring result obtaining request sent by a client, and determine a plurality of monitoring items corresponding to the aggregation monitoring result;
the target monitoring system determining module is further configured to determine a target monitoring system according to the aggregated monitoring result obtaining request, where the target monitoring system is a combination of monitoring systems in which the multiple monitoring items are registered;
the acquisition module is further configured to acquire a monitoring result corresponding to each monitoring item in the target monitoring system;
the device further comprises: the aggregation calculation module is used for performing aggregation calculation on the monitoring result corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result;
the feedback module is further configured to feed back the aggregated monitoring result to the client.
Preferably, the obtaining module is further configured to:
and acquiring the state information of each proxy server contained in the target monitoring system.
Preferably, the target monitoring system determination module is specifically configured to:
determining a proxy server with a normal state in the target monitoring system according to the state information of each proxy server contained in the target monitoring system;
and determining the proxy server with the lightest load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server in the target monitoring system.
Based on the above technical solution, the embodiment of the present invention discloses a data monitoring method and device, including: receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data; determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item; acquiring load information of each proxy server contained in the target monitoring system; determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system; and feeding back the information of the target proxy server to the client, and forwarding the monitoring data to the target proxy server. The proxy server is scheduled according to the load degree of the proxy server, so that the load resource of the proxy server can be utilized to the maximum extent, the monitoring system can bear a larger number of clients, and the load capacity of the monitoring system is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data monitoring method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another data monitoring method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another data monitoring method according to an embodiment of the present invention;
fig. 4 is a block diagram of a data monitoring apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of another data monitoring apparatus 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 data monitoring method disclosed by the invention is applied to a Zabbix monitoring system based on AMP (middleware), and the system is characterized in that an AMP system is added between a client and a proxy server on the basis of a deployment mode that the client is indirectly connected with the server through the proxy server. The AMP system is a software system which is separately installed on a third party server, when the AMP-based Zabbix monitoring system is deployed, a client end is fixedly connected to a domain name address of the AMP, an IP list of schedulable proxy servers is added to a database of the AMP, and the schedulable proxy servers can be subordinate to different Zabbix monitoring systems. And then, the client sends a user request to the domain name address of the AMP, and the AMP can schedule the proxy server with the minimum current load according to the user request.
According to the invention, through the development and introduction of middleware, the native architecture of the Zabbix monitoring system is optimized, the AMP can schedule the proxy server according to the load degree of the proxy server, the load resource of the proxy server can be utilized to the maximum extent, so that the Zabbix monitoring system can bear a larger number of clients, and the load expansion capability of the Zabbix monitoring system is greatly improved.
Referring to fig. 1, a flow chart of a data monitoring method according to an embodiment of the present invention is shown, where an executing subject of the method is AMP, and the method includes the following steps:
and S100, receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data.
The client is installed on a monitored target server and is responsible for monitoring the monitored target server and generating monitoring data, for example, the client generates the monitoring data by collecting hardware information of the target server or information such as memory and a CPU related to an operating system. It should be noted that, for different types of monitoring data, the client sets a plurality of monitoring tasks to be respectively obtained, each monitoring task is completed by a monitoring item of the client, and different monitoring tasks correspond to different monitoring items. In order to distinguish the monitoring data obtained by different monitoring items, an identifier for indicating the corresponding monitoring item may be set in the monitoring data, and in this embodiment, the monitoring item corresponding to the monitoring data may be determined according to the identifier for indicating the corresponding monitoring item set in the monitoring data.
Specifically, the client sends the monitoring data to the domain name address of the AMP, and the AMP may receive the monitoring data sent by the client through the user interface layer.
Step S110, determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item.
It should be noted that, in this embodiment, the monitoring system may be a Zabbix monitoring system, and after a monitoring item is created, the monitoring item is registered in a set of Zabbix monitoring systems, and monitoring data acquired from the monitoring item is only sent to the set of Zabbix monitoring systems. However, one AMP may correspond to a plurality of Zabbix monitoring systems, and therefore, after receiving the monitoring data sent by the client, it needs to determine which set of Zabbix monitoring system the monitoring data corresponds to.
And step S120, acquiring the load information of each proxy server contained in the target monitoring system.
Wherein, a set of Zabbix monitoring system comprises a plurality of proxy servers. Specifically, the network connection number of each proxy server included in the target monitoring system may be acquired as the load information of each proxy server included in the target monitoring system. The network connection specifically refers to the number of network connections established by the proxy server for transmitting the monitoring data, the number can be obtained in real time, different types of monitoring data are transmitted, different network connections need to be established, when one type of monitoring data is transmitted, the corresponding type of network connection is disconnected, and the corresponding number of network connections is reduced by one.
Step S130, determining the proxy server with the minimum load in the target monitoring system as the target proxy server according to the load information of each proxy server contained in the target monitoring system.
Specifically, the proxy server with the least number of network connections in the target monitoring system may be determined to be the target proxy server according to the number of network connections of each proxy server included in the target monitoring system.
Step S140, feeding back the information of the target proxy server to the client, and reporting the monitoring data to the target proxy server.
It should be noted that the information of the target proxy server may specifically be a domain name and a port of the target proxy server, that is, a socket. The purpose of feeding back the information of the target server to the client is to enable the client to directly send subsequently generated monitoring data to the target proxy server.
The embodiment provides a data monitoring method, which comprises the following steps: receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data; determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item; acquiring load information of each proxy server contained in the target monitoring system; determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system; and feeding back the information of the target proxy server to the client, and forwarding the monitoring data to the target proxy server. The proxy server is scheduled according to the load degree of the proxy server, so that the load resource of the proxy server can be utilized to the maximum extent, the monitoring system can bear a larger number of clients, and the load capacity of the monitoring system is greatly improved.
Referring to fig. 2, a schematic flow chart of another data monitoring method according to an embodiment of the present invention is shown, where an executing subject of the method is AMP, and the method includes the following steps:
and S200, receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data.
Step S210, determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item.
Step S220, obtaining load information of each proxy server included in the target monitoring system.
Step S230, obtaining status information of each proxy server included in the target monitoring system.
Specifically, the status identifier of each proxy server included in the target monitoring system may be obtained as the status information of each proxy server, and the status identifier may be of various types, for example, when the status identifier of a proxy server is 0, it indicates that the proxy server is in a normal state, and when the status identifier of a proxy server is 1, it indicates that the proxy server is in an abnormal state. It should be noted that the status flag is monitored and determined by the proxy server itself, and is automatically updated at regular intervals (for example, 30 seconds) to ensure that when a certain proxy server is abnormal, a failover can be performed in a quasi-real time manner.
Step S240, determining the proxy server in the normal state in the target monitoring system according to the state information of each proxy server included in the target monitoring system.
Step S250, determining the proxy server with the minimum load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server contained in the target monitoring system.
Step S260, feeding back the information of the target proxy server to the client, and reporting the monitoring data to the target proxy server.
The data monitoring method provided by the embodiment can perform failover when the proxy server fails, so that the robustness of the Zabbix monitoring system is improved.
Referring to fig. 3, a flow diagram of another data monitoring method according to an embodiment of the present invention is provided, where the method may be executed by an AMP alone, or may be executed in parallel with the data monitoring method disclosed in the foregoing embodiment, and the method includes the following steps:
step 300, receiving an aggregation monitoring result acquisition request sent by a client, and determining a plurality of monitoring items corresponding to the aggregation monitoring result.
According to the requirements of users, monitoring data obtained by different monitoring items are obtained under a set of Zabbix monitoring system, and the monitoring data are aggregated to generate an aggregation monitoring result. The aggregation calculation specifically includes summing, averaging, and the like, for example, a user has a cluster formed by three servers, only the current network card traffic data of the three servers in the Zabbix monitoring system, and at this time, the user wants to observe the load of the current network card traffic by the dimension of the cluster, and then the network card traffic monitoring items of the three servers can be registered as an aggregation value to calculate the real-time summation and average value of the network card traffic of the three machines. Therefore, the average condition of the current whole cluster network flow can be known by a user by observing one index.
And 310, determining a target monitoring system according to the aggregated monitoring result obtaining request, wherein the target monitoring system is a monitoring system registered with the plurality of monitoring items.
And 320, acquiring a monitoring result corresponding to each monitoring item in the target monitoring system.
And 330, performing aggregation calculation on the monitoring results corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result.
And step 340, feeding back the aggregation monitoring result to the client.
The data monitoring method provided by the embodiment can realize that monitoring data of different monitoring items are aggregated according to monitoring requirements of users, so that the statistical characteristic of the monitoring data is realized.
On the basis of the data monitoring method provided by the above embodiment, the present invention further provides a data monitoring apparatus, which specifically comprises the following steps:
referring to fig. 4, a block diagram of a data monitoring device according to an embodiment of the present invention is shown, where the data monitoring device may specifically be an AMP, and the data monitoring device specifically includes:
the receiving module 100 is configured to receive monitoring data sent by a client, and determine a monitoring item corresponding to the monitoring data;
a target monitoring system determining module 110, configured to determine a target monitoring system according to the monitoring data, where the target monitoring system is a monitoring system registered with the monitoring item;
an obtaining module 120, configured to obtain load information of each proxy server included in the target monitoring system;
a target proxy server determining module 130, configured to determine, according to load information of each proxy server included in the target monitoring system, that a proxy server with the smallest load in the target monitoring system is a target proxy server;
a feedback module 140, configured to feed back information of the target proxy server to the client, and forward the monitoring item data to the target proxy server.
Optionally, the load information acquiring module is specifically configured to:
acquiring the network connection number of each proxy server contained in the target monitoring system;
then, the target proxy server determining module is specifically configured to:
and determining the proxy server with the least network connection number in the target monitoring system as the target proxy server according to the network connection number of each proxy server contained in the target monitoring system.
The receiving module is further configured to receive an aggregation monitoring result acquisition request sent by a client, and determine a plurality of monitoring items corresponding to the aggregation monitoring result;
the target monitoring system determining module is further configured to determine a target monitoring system according to the aggregated monitoring result obtaining request, where the target monitoring system is a combination of monitoring systems in which the multiple monitoring items are registered;
the acquisition module is further configured to acquire a monitoring result corresponding to each monitoring item in the target monitoring system;
referring to fig. 5, a block diagram of another data monitoring apparatus according to an embodiment of the present invention is shown, where the apparatus further includes: the aggregation calculation module 150 is configured to perform aggregation calculation on the monitoring result corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result;
optionally, the feedback module is further configured to feed back the aggregation monitoring result to the client.
The obtaining module is further configured to:
and acquiring the state information of each proxy server contained in the target monitoring system.
The target monitoring system determination module is specifically configured to:
determining a proxy server with a normal state in the target monitoring system according to the state information of each proxy server contained in the target monitoring system;
and determining the proxy server with the lightest load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server in the target monitoring system.
It should be noted that, for specific function implementation of each module, reference may be made to relevant descriptions of the method embodiment, and details are not described in this embodiment again.
In summary, the following steps:
the embodiment of the invention provides a data monitoring method and a device, comprising the following steps: receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data; determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item; acquiring load information of each proxy server contained in the target monitoring system; determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system; and feeding back the information of the target proxy server to the client, and forwarding the monitoring item data to the target proxy server. The proxy server is scheduled according to the load degree of the proxy server, so that the load resource of the proxy server can be utilized to the maximum extent, the monitoring system can bear a larger number of clients, and the load capacity of the monitoring system is greatly improved.
The embodiments in the present description are described in a progressive manner, 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.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data monitoring method is applied to a Zabbix monitoring system based on middleware (AMP), an AMP system is added between a client and a proxy server, the AMP system is a software system which is independently installed on a third-party server, when the Zabbix monitoring system based on the AMP is deployed, the client is fixedly connected to a domain name address of the AMP, an IP list of a schedulable proxy server is added to a database of the AMP, and the schedulable proxy server can be subordinate to different Zabbix monitoring systems, and the data monitoring method comprises the following steps:
receiving monitoring data sent by a client, and determining a monitoring item corresponding to the monitoring data;
determining a target monitoring system according to the monitoring data, wherein the target monitoring system is a monitoring system registered with the monitoring item;
acquiring load information of each proxy server contained in the target monitoring system;
determining the proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system;
and feeding back the information of the target proxy server to the client, so that the client directly sends the subsequently generated monitoring data to the target proxy server and forwards the monitoring data to the target proxy server.
2. The method of claim 1, wherein the obtaining load information of each proxy server included in the target monitoring system comprises:
acquiring the network connection number of each proxy server contained in the target monitoring system;
then, the determining, according to the load information of each proxy server included in the target monitoring system, that the proxy server with the lightest load in the target monitoring system is the target proxy server includes:
and determining the proxy server with the least network connection number in the target monitoring system as the target proxy server according to the network connection number of each proxy server contained in the target monitoring system.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving an aggregation monitoring result acquisition request sent by a client, and determining a plurality of monitoring items corresponding to the aggregation monitoring result;
determining a target monitoring system according to the aggregation monitoring result obtaining request, wherein the target monitoring system is a monitoring system registered with the plurality of monitoring items;
acquiring a monitoring result corresponding to each monitoring item in the target monitoring system;
performing aggregation calculation on the monitoring result corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result;
and feeding back the aggregation monitoring result to the client.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and acquiring the state information of each proxy server contained in the target monitoring system.
5. The method according to claim 4, wherein the determining that the proxy server with the lightest load in the target monitoring system is the target proxy server according to the load information of each proxy server included in the target monitoring system comprises:
determining a proxy server with a normal state in the target monitoring system according to the state information of each proxy server contained in the target monitoring system;
and determining the proxy server with the lightest load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server in the target monitoring system.
6. A data monitoring apparatus applied to an AMP-based Zabbix monitoring system, wherein an AMP system is added between a client and a proxy server, an IP list of schedulable proxy servers is added to a database of AMPs, and the schedulable proxy servers may be subordinate to different Zabbix monitoring systems, the data monitoring apparatus comprising:
the receiving module is used for receiving monitoring data sent by a client and determining a monitoring item corresponding to the monitoring data;
the target monitoring system determining module is used for determining a target monitoring system according to the monitoring data, and the target monitoring system is a monitoring system registered with the monitoring item;
the acquisition module is used for acquiring the load information of each proxy server contained in the target monitoring system;
the target proxy server determining module is used for determining a proxy server with the minimum load in the target monitoring system as a target proxy server according to the load information of each proxy server contained in the target monitoring system;
and the feedback module is used for feeding back the information of the target proxy server to the client, so that the client directly sends the subsequently generated monitoring data to the target proxy server and forwards the monitoring data to the target proxy server.
7. The apparatus according to claim 6, wherein the load information obtaining module is specifically configured to:
acquiring the network connection number of each proxy server contained in the target monitoring system;
then, the target proxy server determining module is specifically configured to:
and determining the proxy server with the least network connection number in the target monitoring system as the target proxy server according to the network connection number of each proxy server contained in the target monitoring system.
8. The apparatus according to claim 6 or 7, wherein the receiving module is further configured to receive an aggregation monitoring result obtaining request sent by a client, and determine a plurality of monitoring items corresponding to the aggregation monitoring result;
the target monitoring system determining module is further configured to determine a target monitoring system according to the aggregated monitoring result obtaining request, where the target monitoring system is a combination of monitoring systems in which the multiple monitoring items are registered;
the acquisition module is further configured to acquire a monitoring result corresponding to each monitoring item in the target monitoring system;
the device further comprises: the aggregation calculation module is used for performing aggregation calculation on the monitoring result corresponding to each monitoring item in the target monitoring system to generate an aggregation monitoring result;
the feedback module is further configured to feed back the aggregated monitoring result to the client.
9. The apparatus of claim 6 or 7, wherein the obtaining module is further configured to:
and acquiring the state information of each proxy server contained in the target monitoring system.
10. The apparatus of claim 9, wherein the target monitoring system determination module is specifically configured to:
determining a proxy server with a normal state in the target monitoring system according to the state information of each proxy server contained in the target monitoring system;
and determining the proxy server with the lightest load in the proxy servers with normal states in the target monitoring system as the target proxy server according to the load information of each proxy server in the target monitoring system.
CN201711429439.6A 2017-12-26 2017-12-26 Data monitoring method and device Active CN108055342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711429439.6A CN108055342B (en) 2017-12-26 2017-12-26 Data monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711429439.6A CN108055342B (en) 2017-12-26 2017-12-26 Data monitoring method and device

Publications (2)

Publication Number Publication Date
CN108055342A CN108055342A (en) 2018-05-18
CN108055342B true CN108055342B (en) 2021-05-04

Family

ID=62131847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711429439.6A Active CN108055342B (en) 2017-12-26 2017-12-26 Data monitoring method and device

Country Status (1)

Country Link
CN (1) CN108055342B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166575A (en) * 2019-06-19 2019-08-23 深圳市网心科技有限公司 A kind of http Proxy Method, system, device and computer media
CN110365787B (en) * 2019-07-19 2021-08-17 南京工业大学 Edge calculation optimization layout method based on micro-service framework and applied to container
CN113010373B (en) * 2021-01-25 2023-08-22 腾讯科技(深圳)有限公司 Data monitoring method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320488A (en) * 2014-11-11 2015-01-28 携程计算机技术(上海)有限公司 Proxy server system and proxy service method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8914432B2 (en) * 2001-10-01 2014-12-16 Ixia Real world traffic
CN101699793A (en) * 2008-04-23 2010-04-28 北京恒泰实达科技发展有限公司 Method for implementing automatic backup and load balance of proxy servers
US9258276B2 (en) * 2012-05-22 2016-02-09 Xockets, Inc. Efficient packet handling, redirection, and inspection using offload processors
US20130318269A1 (en) * 2012-05-22 2013-11-28 Xockets IP, LLC Processing structured and unstructured data using offload processors
US9135052B2 (en) * 2012-11-06 2015-09-15 Red Hat Israel, Ltd. Distributed multiple monitor display split using multiple client devices in a virtualization system
CN103944940A (en) * 2013-01-21 2014-07-23 华耀(中国)科技有限公司 Equipment and method for dynamically configuring proxy server
CN106161060B (en) * 2015-04-07 2020-11-06 腾讯科技(深圳)有限公司 Data monitoring method and device
CN105915405A (en) * 2016-03-29 2016-08-31 深圳市中博科创信息技术有限公司 Large-scale cluster node performance monitoring system
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320488A (en) * 2014-11-11 2015-01-28 携程计算机技术(上海)有限公司 Proxy server system and proxy service method

Also Published As

Publication number Publication date
CN108055342A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US10958543B2 (en) Monitoring wireless access point events
CN108055342B (en) Data monitoring method and device
TWI510955B (en) Data monitoring method, system and its server side, the client side
CN103634409B (en) Realize that mobile Internet applies always online method and system
CN111367662B (en) Load balancing method, device and system
CN110460732B (en) Network quality monitoring method and device and communication server
CN111459750A (en) Private cloud monitoring method and device based on non-flat network, computer equipment and storage medium
US9294992B2 (en) Method and apparatus for service selection and indication
CN109787827B (en) CDN network monitoring method and device
CN113785535B (en) Data processing entity
CN103150205A (en) Information processing system, information processing device and client terminal
CN109039795B (en) Cloud server resource monitoring method and system
CN108111499B (en) Business processing performance optimization method and device, electronic equipment and storage medium
CN111949404B (en) Method, device and related equipment for adjusting server load
CN106302835B (en) Service connection method, analysis server, client and system
CN112765035A (en) Distributed pressure test system, method, device, electronic equipment and storage medium
CN106790610B (en) Cloud system message distribution method, device and system
CN112631687B (en) Service cluster configuration method, device and equipment
CN107249192B (en) State monitoring method and device for shared network slices
CN108781215B (en) Network service implementation method, service controller and communication system
CN115665173B (en) MQ-based Websocket communication method, system and storage medium
JPWO2014020908A1 (en) System state determination support device and system state determination support method
CN112968788A (en) Network slice capacity setting method, control method, device, equipment and medium
CN106844073B (en) Method for diagnosing application, diagnosis client and system
CN109889545B (en) Data communication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant