Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application program monitoring method, device and system

A technology of application programs and monitoring devices, applied in the computer field, can solve problems such as the difficulty of accurately judging whether an application program has been monitored, and achieve the effect of convenient monitoring and management

Pending Publication Date: 2019-07-02
NEW H3C TECH CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an application program monitoring method, device and system to solve the problem in the prior art that it is difficult to accurately determine whether the application program has been monitored

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program monitoring method, device and system
  • Application program monitoring method, device and system
  • Application program monitoring method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] In the embodiment provided by the present invention, the applied container cluster is described by taking the creation of the container cluster based on the Kubernetes open source orchestration software, that is, the k8s container cluster as an example.

[0053] In a k8s cluster, there are generally multiple hosts, and multiple Pods run on each host. The Pod is the basic operating unit of the k8s cluster. A Pod consists of one container or multiple containers. The containers contained in the Pod run on the same On the host, using the same network command space, IP address and port, they can discover and communicate with each other through the local host, and can also share a storage volume space. Applications in the same Pod can see each other's processes, and can also Use systemVipc or posix message queues for communication.

[0054] figure 1 A flowchart of an application program monitoring method according to an embodiment of the present invention is shown. The meth...

Embodiment 2

[0072] figure 2 A flow chart of another application program monitoring method according to an embodiment of the present invention is shown. The method is applied to the host in the above-mentioned k8s cluster, the host includes at least one Pod, and one of the at least one Pod is deployed with a monitoring server agent, and the monitoring server agent monitors at least one application agent. This method can be used for each application in the container cluster program to monitor, such as figure 2 As shown, the method includes the following steps:

[0073] Step S201: The monitoring server agent receives the query ID sent by the application program agent, and the query ID is generated by the port ID of each application program and the Pod ID of the Pod where it is located.

[0074] Specifically, for the generation process of the above-mentioned query identifier, refer to the relevant descriptions of the above-mentioned step S101 and step S102, and details are not repeated he...

Embodiment 3

[0088] image 3 A flow chart of another application program monitoring method according to an embodiment of the present invention is shown. This method is applied to monitor the monitoring server of the above-mentioned k8s cluster, and this method can be used to monitor various applications in the container cluster, such as image 3 As shown, the method includes the following steps:

[0089] Step S301: The monitoring server receives the query ID sent by the monitoring server agent, and the query ID is generated by the port ID of each application program and the Pod ID of the Pod where it is located.

[0090] Specifically, for the generation process of the above-mentioned query identifier, refer to the relevant descriptions of the above-mentioned step S101 and step S102, and details are not repeated here. In practical applications, the query identifier sent by the monitoring server agent is received through the above monitoring server.

[0091] Step S302: The monitoring serv...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an application program monitoring method, device and system. The monitoring method of the application program is applied to a host, wherein the host comprises at least one Pod,the Pod comprises at least two containers, one of the at least two containers is deployed with an application proxy, the other containers of the at least two containers are deployed with at least oneapplication program, and the method comprises the following steps: obtaining a port identifier of each application program and a Pod identifier of the Pod where the application program is located; generating a query identifier of each application program according to the port identifier and the corresponding Pod identifier; and sending query identifiers. By implementing the method and the device,the unique identification of the application program is realized, when the IP address of the application program is changed or a plurality of application programs are deployed in the same container,the query identifier corresponding to each application program is not changed, and whether each application program is monitored or not can be judged according to the uniqueness of the query identifier.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an application program monitoring method, device and system. Background technique [0002] With the popularity of microservice architecture, Kubernetes open source orchestration software (k8s for short) and container technology, more and more systems use container clusters to manage, deploy, and run system component services. As an important part of the entire security operation and maintenance management, the monitoring system needs to monitor the applications deployed in the container, obtain various indicator data during the running of the applications, discover application failures in time and provide data for the resolution of application failures Base. [0003] At present, traditional application program monitoring systems are out-of-band monitoring, that is, various index data of various applications are collected through various protocols. Since the existing a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30
CPCG06F11/302G06F11/3017
Inventor 王文岩
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products