WO2020015092A1 - Instance monitoring method and apparatus, terminal device and medium - Google Patents

Instance monitoring method and apparatus, terminal device and medium Download PDF

Info

Publication number
WO2020015092A1
WO2020015092A1 PCT/CN2018/105056 CN2018105056W WO2020015092A1 WO 2020015092 A1 WO2020015092 A1 WO 2020015092A1 CN 2018105056 W CN2018105056 W CN 2018105056W WO 2020015092 A1 WO2020015092 A1 WO 2020015092A1
Authority
WO
WIPO (PCT)
Prior art keywords
monitoring
alarm
newly created
instance
created instance
Prior art date
Application number
PCT/CN2018/105056
Other languages
French (fr)
Chinese (zh)
Inventor
林水明
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020015092A1 publication Critical patent/WO2020015092A1/en

Links

Classifications

    • 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
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting

Definitions

  • the present application belongs to the field of monitoring technology, and in particular, relates to an example monitoring method, device, terminal device, and medium.
  • the monitoring system does not know what type of instance it is, nor can it know that the default alarm policy for this type of instance can How to configure it will bring a lot of restrictions to the automatic alarm configuration of the monitored instance, which will increase the user's operation and maintenance costs.
  • the embodiments of the present application provide an instance monitoring method, device, terminal device, and medium to solve the problem that the monitored instance does not have a type attribute, cannot implement automatic alarm configuration, and increases the operation and maintenance cost of the user.
  • a first aspect of the embodiments of the present application provides an instance monitoring method, including:
  • the preset alarm policy including an alarm condition
  • alarm data includes the monitoring type and monitoring data of the newly created instance.
  • a second aspect of the embodiments of the present application provides an example monitoring apparatus, including:
  • An instance obtaining module configured to obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type
  • An association module configured to associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy Including alarm conditions;
  • a judging module configured to determine, after the association, whether the newly created instance meets the alarm conditions in the alarm policy according to the alarm policy of the newly created instance during running;
  • An alarm module is configured to trigger an automatic alarm function and obtain alarm data when the alarm conditions in the alarm policy are met, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
  • a terminal device including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor executes the processor.
  • the computer-readable instructions implement the following steps:
  • the preset alarm policy including an alarm condition
  • alarm data includes the monitoring type and monitoring data of the newly created instance.
  • a computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions implement the following steps when executed by at least one processor:
  • the preset alarm policy including an alarm condition
  • alarm data includes the monitoring type and monitoring data of the newly created instance.
  • the embodiment of the present application first obtains a newly created instance, the newly created instance is configured with a corresponding monitoring type, and then according to the monitoring type corresponding to the newly created instance, the newly created instance and the monitoring system are Associate the stored preset alarm policy of the monitoring type, the preset alarm policy includes alarm conditions, and implement automatic alarm configuration. After the association, the newly created instance is determined according to the alarm policy of the newly created instance. Whether the alarm conditions in the alarm policy are met during operation, and if the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, and the alarm data includes the newly created The monitoring type and monitoring data of the instance to realize the automatic monitoring of the newly created instance.
  • FIG. 1 is a schematic flowchart of an example monitoring method provided by this application
  • FIG. 2 is a schematic flowchart of another embodiment of an example monitoring method provided by the present application.
  • FIG. 3 is a schematic flowchart of still another embodiment of an example monitoring method provided by the present application.
  • FIG. 4 is a schematic flowchart of still another embodiment of an example monitoring method provided by the present application.
  • FIG. 5 is a structural block diagram of an example monitoring device according to an embodiment of the present application.
  • FIG. 6 is a schematic block diagram of a terminal device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of an example monitoring method according to an embodiment of the present application.
  • the example monitoring method may include steps S101 to S104:
  • the monitoring type may include at least one of the following: a host class, a physical machine class, a load balancer class, a database class, and the like.
  • Each instance is configured with a corresponding monitoring type when it is created. Instance, you can get the monitoring type corresponding to the newly created instance.
  • each newly created instance can be registered in the monitoring system.
  • Each newly created instance needs to register instance information when registering.
  • the instance information may include an ID (identity identification number), an instance name, Instance type, tenant ID using the newly created instance, area information of the newly created instance, and readable name, here the instance type is the monitoring type, and the newly created instance is obtained by obtaining the instance information of the newly created instance The monitoring type of the instance.
  • the method may include: obtaining a monitoring type of an existing instance monitored by the monitoring system, and performing a predefined alarm configuration on the monitoring type; wherein the predefined alarm configuration includes At least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following: CPU, memory, and disk space.
  • the existing instance and the newly created instance may include at least one of the following: cloud host, physical machine, load balancer, database, and the predefined alarm configuration corresponding to the monitoring type may include: cloud host alarm configuration , Physical machine alarm configuration, load balancer alarm configuration, database alarm configuration, etc.
  • different monitoring types can correspond to different preset reportable monitoring items.
  • the corresponding preset reportable monitoring items in cloud host monitoring can include: CPU, memory, disk space, disk inode (index node, used to store basic information of files and directories, including time, file name, user And groups, etc.); each monitoring type can monitor multiple instances, and the different instances monitored correspond to unused instance names, but the instance names of the created instances are globally unique, and they are also unique in the system.
  • All the monitoring types in the monitoring system are pre-defined alarm configuration, and the monitoring type of the newly created instance is matched with the corresponding monitoring type configured by the predefined alarm, so that the newly created instance is monitored with the type in the monitoring system. , Automatically configure alarm policies.
  • S102 according to the monitoring type corresponding to the newly created instance, associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system, the preset alarm Policies include alert conditions.
  • the operation portal when a new instance is created on the web portal, the operation portal is different. According to the portal, it is possible to obtain what type of monitoring the newly created instance belongs to, so that the newly created instance is deleted.
  • the monitoring system carries the monitoring type when monitoring.
  • the initialization interface of the monitoring system is called. If the monitoring type of the newly created instance is host monitoring, the host monitoring interface is called to initialize the host alarm policy. If the monitoring type of the newly created instance is For one of physical machine monitoring, load balancer monitoring, and database monitoring, the application monitoring interface is called to initialize the instance alarm policy of the application class.
  • the initialization interface a file of the predefined alarm configuration in the monitoring system Copy to the newly created instance, and associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system.
  • FIG. 2 is a schematic flowchart of another embodiment of an instance monitoring method.
  • FIG. 2 shows that the newly created instance is stored in the monitoring system in S102.
  • the association of the preset alarm policies of the monitoring type may include steps S201 to S203:
  • S202 Acquire a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table
  • S203 Obtain the preset alarm policy from the file of the predefined alarm configuration, and copy the preset alarm policy to the newly created instance.
  • the newly created instance carries the monitoring type
  • the monitoring type carries an identifier.
  • a lookup from a monitoring system is consistent with the monitoring type carried by the newly created instance.
  • Monitoring type In the monitoring system, each of the monitoring type and the corresponding predefined alarm configuration file stores the preset mapping table, and according to the monitoring type, the corresponding preset mapping table can be obtained.
  • the monitoring type corresponding to the host is host monitoring.
  • the host monitoring identifier is used to find the host monitoring consistent with the monitoring type corresponding to the host from the monitoring system identifier.
  • a mapping table is set to obtain a file of the predefined alarm configuration corresponding to host monitoring, wherein the preset mapping table may be a character mapping table, a key in the character mapping table is a monitoring type identifier, and a value is the preset Defines the address of the alarm configuration file. Acquiring the preset alarm policy monitored by the host from the file of the predefined alarm configuration, and copying the preset alarm policy to the newly created instance to implement the newly created instance and monitoring Association of preset alarm policies of the monitoring type stored in the system.
  • the preset alarm strategy may include at least one of the following: indicators of monitoring items, additional attributes of the indicators, maximum number of warnings, alarm priority, statistical functions, comparison operators, alarm thresholds, alarm remarks, and effective alarm policies
  • the alarm policy of the newly created instance may be a preset alarm policy corresponding to the monitoring type of the newly created instance or a modified preset alarm policy.
  • the alarm policy of the instance can be modified by the tenant of the newly created instance, specifically: sending a modification signal of the predefined alarm configuration in the newly created instance to the tenant of the newly created instance, and receiving all The modified predefined alarm configuration sent by the tenant is described, and the alarm policy of the newly created instance is obtained from the modified predefined alarm configuration.
  • each instance can be shared by multiple tenants, but each tenant is predefined with a namespace.
  • the configuration data for the newly created instance may include: APP ID, tenant ID, instance name, monitoring type, area information of the instance (the address where the instance was created), and a readable name (the instance name that can be changed) )
  • the monitoring data may include monitoring data of preset reportable monitoring items or data of the preset alarm strategy, or the monitoring data may include modified preset reportable Monitoring data of the monitoring item or data of the preset alarm strategy after modification. Therefore, each instance corresponds to a tenant, and the tenant can only modify the configuration data corresponding to the tenant.
  • the alarm policy of the newly created instance determine whether the newly created instance meets the alarm conditions in the alarm strategy during the running process.
  • the newly created instance is monitored as a host, it is determined whether the host meets the alarm conditions during the running process.
  • step S104 if the alarm conditions in the alarm policy are met, an automatic alarm function is triggered, and alarm data is obtained, where the alarm data includes a monitoring type and monitoring data of the newly created instance.
  • an alarm signal is automatically sent to the monitoring system and alarm data is obtained, where different types of monitoring correspond to different preset reportable monitoring item.
  • the newly created instance is further configured with a corresponding instance name; after obtaining the alarm data, the monitoring data corresponding to the newly created instance is filtered from the alarm data, and according to the The corresponding instance name reports the filtered monitoring data to a tenant corresponding to the newly created instance; wherein the monitoring data includes monitoring data of the preset reportable monitoring items and the preset alarm policy
  • the monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage, memory usage, and disk space usage.
  • the data of the preset alarm policy includes the maximum number of warnings and the severity level. .
  • the corresponding monitoring type is a host type
  • the corresponding preset reportable monitoring item may include a CPU usage rate
  • the alarm data is filtered out from the alarm data.
  • the monitoring data corresponding to the host, the monitoring data corresponding to the host may include monitoring data (CPU usage rate) of a preset reportable monitoring item corresponding to the host and data of a preset alarm policy (maximum warning times) And severity levels).
  • the data is processed, and the tenant may be a user.
  • FIG. 3 is a schematic flowchart of still another embodiment of an instance monitoring method.
  • the instance monitoring method may further include steps S301 to S302:
  • S301 classify and configure the monitoring type of the existing instance, and configure an attribute identifier, where the attribute identifier includes a host type monitoring identifier and an application type monitoring identifier, and the monitoring attributes corresponding to the attribute identifier include host type monitoring and application type monitoring;
  • the monitoring type of the existing instance is classified and an attribute identifier is configured.
  • the monitoring attributes corresponding to the attribute identifier can be mainly divided into host-type monitoring and application-type monitoring.
  • the host-type monitoring may include: Host type
  • the application type monitoring may include at least one of the following types of monitoring: physical machine type, load balancer type, and database type.
  • the attribute identifier corresponding to the monitoring type the predefined alarm configuration is respectively performed on the host type monitoring and the application type monitoring. If the newly created instance is associated with a preset alarm policy in the predefined alarm configuration, it may directly Find a monitoring attribute corresponding to the newly created instance, copy a preset alarm policy corresponding to the monitoring attribute to the newly created instance, and complete the association.
  • FIG. 4 is a schematic flowchart of still another embodiment of an example monitoring method.
  • FIG. 4 shows the pre-defined alarm configuration for the monitoring attribute according to the attribute identification in S302, which may include: Steps S401 to S403:
  • the newly created instance carrying the attribute identifier is acquired, and based on the attribute identifier, it is determined whether the monitoring system has the attribute identifier that is consistent with the newly created instance, for example, When the newly created instance is a host, the corresponding monitoring type is host class, and the corresponding monitoring attribute is host class monitoring. According to the attribute identifier carried by the host, it is compared with all attribute identifiers in the monitoring system.
  • the embodiment of the present application first obtains a newly created instance, the newly created instance is configured with a corresponding monitoring type, and then according to the monitoring type corresponding to the newly created instance, the newly created instance is The instance is associated with a preset type of alarm policy of the monitoring type stored in the monitoring system.
  • the preset alarm policy includes alarm conditions to implement automatic alarm configuration. After the association, it determines the location of the alarm according to the alarm policy of the newly created instance. Describes whether the newly created instance meets the alarm conditions in the alarm policy during operation. If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered, and alarm data is obtained.
  • the alarm data The monitoring type and monitoring data of the newly created instance are included to realize automatic monitoring of the newly created instance.
  • FIG. 5 shows a structural block diagram of an example monitoring apparatus provided by an embodiment of the present application. For convenience of explanation, only the parts related to this embodiment are shown.
  • the device includes:
  • An instance obtaining module 501 is configured to obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type;
  • An association module 502 configured to associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm
  • the strategy includes alarm conditions
  • a judging module 503, configured to determine, after association, whether the newly created instance meets the alarm conditions in the alarm policy according to an alarm policy of the newly created instance;
  • the alarm module 504 is configured to trigger an automatic alarm function and obtain alarm data when the alarm conditions in the alarm policy are met, where the alarm data includes a monitoring type and monitoring data of the newly created instance.
  • the instance monitoring device may further include: a first alarm configuration module, configured to: before the acquiring a newly created instance, acquire a monitoring type of an existing instance monitored by the monitoring system, and perform monitoring on the monitoring Pre-defined alarm configuration of the type; wherein the pre-defined alarm configuration includes at least one of the following: a preset reportable monitoring item, a reportable instance name, a preset alarm policy, and the preset reportable monitoring Items include at least one of the following: CPU, memory, disk space.
  • a first alarm configuration module configured to: before the acquiring a newly created instance, acquire a monitoring type of an existing instance monitored by the monitoring system, and perform monitoring on the monitoring Pre-defined alarm configuration of the type; wherein the pre-defined alarm configuration includes at least one of the following: a preset reportable monitoring item, a reportable instance name, a preset alarm policy, and the preset reportable monitoring Items include at least one of the following: CPU, memory, disk space.
  • the association module 502 includes:
  • a searching unit configured to search for the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance
  • An obtaining unit configured to obtain a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table
  • the association unit obtains the preset alarm policy from the file of the predefined alarm configuration, and copies the preset alarm policy to the newly created instance.
  • the newly created instance is further configured with a corresponding instance name
  • the device further includes a monitoring data filtering module for filtering the alarm data from the new alarm data after obtaining the alarm data.
  • the monitoring data corresponding to the created instance and reporting the filtered monitoring data to a tenant corresponding to the newly created instance according to the corresponding instance name;
  • the monitoring data includes monitoring data of the preset reportable monitoring items and data of the preset alarm policy, and monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage Rate, memory usage rate, disk space usage rate, and the data of the preset alarm strategy includes the maximum number of warnings and the severity level.
  • the instance monitoring apparatus further includes: an attribute configuration module, configured to classify the monitoring type of the existing instance and configure an attribute identifier, where the attribute identifier includes a host-type monitoring identifier and an application-type monitoring identifier, and The monitoring attributes corresponding to the attribute identifiers include host-type monitoring and application-type monitoring;
  • a second alarm configuration module is configured to perform the predefined alarm configuration on the monitoring attribute according to the attribute identifier.
  • the second alarm configuration module includes:
  • An attribute identifier search unit configured to obtain the newly created instance, and find whether the attribute identifier that is consistent with the newly created instance exists in the monitoring system according to the attribute identifier carried by the newly created instance ;
  • An alarm configuration unit configured to obtain a file of the predefined alarm configuration corresponding to the attribute identifier consistent with the newly created instance when the attribute identifier consistent with the newly created instance exists, and A preset alarm policy in a file of a predefined alarm configuration is copied to the newly created instance;
  • a creating unit configured to create a new monitoring type and monitoring attribute in the monitoring system when there is no attribute identifier consistent with the newly created instance, and configure the new monitoring type and the newly created
  • the instance carries a consistent attribute identifier, and configures a new predefined alarm configuration file for the new monitoring attribute according to the newly created instance.
  • FIG. 6 is a schematic block diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 6 of this embodiment includes a processor 60 and a memory 61.
  • the memory 61 stores computer-readable instructions 62 that can be run on the processor 60, such as an example monitoring method program. .
  • the processor 60 executes the computer-readable instructions 62, the steps in the foregoing embodiments of the method for monitoring each instance are implemented, for example, steps 101 to 104 shown in FIG. 1.
  • the processor 60 executes the computer-readable instructions 62
  • the functions of each module / unit in the foregoing device embodiments are implemented, for example, the functions of the units 501 to 504 shown in FIG. 5.
  • the computer-readable instructions 62 may be divided into one or more modules / units, the one or more modules / units are stored in the memory 61 and executed by the processor 60, To complete this application.
  • the one or more modules / units may be a series of computer-readable instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 62 in the terminal device 6.
  • the terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 60 and a memory 61.
  • FIG. 6 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or fewer components than shown in the figure, or combine some components or different components.
  • the terminal device may further include an input / output device, a network access device, a bus, and the like.
  • the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6.
  • the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (SD) provided on the terminal device 6. Card, flash card, etc. Further, the memory 61 may further include both an internal storage unit of the terminal device 6 and an external storage device.
  • the memory 61 is configured to store the computer-readable instructions and other programs and data required by the terminal device.
  • the memory 61 may also be used to temporarily store data that has been output or is to be output.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the foregoing storage media include: U disks, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks and other media that can store program codes .

Abstract

The present application is applicable to the field of monitoring technology, and provided therein are an instance monitoring method and apparatus, a terminal device and a medium. The instance monitoring method comprises: obtaining a newly created instance, said newly created instance being configured with a corresponding monitoring type; according to the monitoring type corresponding to the newly created instance, associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system, the preset alarm policy comprising an alarm condition; after the association, according to the alarm policy of the newly created instance, determining whether the newly created instance meets the alarm condition in the alarm policy during an operation process; if the alarm condition in the alarm policy is met, triggering an automatic alarm function, and obtaining alarm data, said alarm data comprising the monitoring type and monitoring data of the newly created instance.

Description

实例监控方法、装置、终端设备及介质Example monitoring method, device, terminal equipment and medium
本申请申明享有2018年7月18日递交的申请号为201810788598.3、名称为“实例监控方法、计算机可读存储介质和终端设备”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application affirms the priority of Chinese patent application filed on July 18, 2018 with the application number 201810788598.3 and the name "Instance monitoring method, computer-readable storage medium and terminal device". The entire content of this Chinese patent application is referred to The mode is incorporated in this application.
技术领域Technical field
本申请属于监控技术领域,尤其涉及一种实例监控方法、装置、终端设备及介质。The present application belongs to the field of monitoring technology, and in particular, relates to an example monitoring method, device, terminal device, and medium.
背景技术Background technique
现有的监控***中,由于监控的实例不带类型属性,因此,监控***在监控一个实例时,并不知道这是什么类型的实例,也无法知道这种类型的实例的默认的告警策略可以怎么配置,将给监控的实例进行自动化告警配置带来非常多的限制,提高了用户的运维成本。In the existing monitoring system, because the monitored instance does not have a type attribute, when monitoring an instance, the monitoring system does not know what type of instance it is, nor can it know that the default alarm policy for this type of instance can How to configure it will bring a lot of restrictions to the automatic alarm configuration of the monitored instance, which will increase the user's operation and maintenance costs.
技术问题technical problem
有鉴于此,本申请实施例提供了一种实例监控方法、装置、终端设备及介质,以解决监控的实例不带类型属性,无法实现自动化告警配置,提高了用户的运维成本的问题。In view of this, the embodiments of the present application provide an instance monitoring method, device, terminal device, and medium to solve the problem that the monitored instance does not have a type attribute, cannot implement automatic alarm configuration, and increases the operation and maintenance cost of the user.
技术解决方案Technical solutions
本申请实施例的第一方面提供了一种实例监控方法,包括:A first aspect of the embodiments of the present application provides an instance monitoring method, including:
获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
本申请实施例的第二方面提供了一种实例监控装置,包括:A second aspect of the embodiments of the present application provides an example monitoring apparatus, including:
实例获取模块,用于获取新创建的实例,所述新创建的实例配置有对应的监控类型;An instance obtaining module, configured to obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type;
关联模块,用于根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;An association module, configured to associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy Including alarm conditions;
判断模块,用于关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;A judging module, configured to determine, after the association, whether the newly created instance meets the alarm conditions in the alarm policy according to the alarm policy of the newly created instance during running;
告警模块,用于在满足所述告警策略中的所述告警条件时,触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。An alarm module is configured to trigger an automatic alarm function and obtain alarm data when the alarm conditions in the alarm policy are met, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
本申请实施例的第三方面,提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:According to a third aspect of the embodiments of the present application, a terminal device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor executes the processor. The computer-readable instructions implement the following steps:
获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
本申请实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被至少一个处理器执行时实现如下步骤:According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, where the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions implement the following steps when executed by at least one processor:
获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
有益效果Beneficial effect
本申请实施例首先获取新创建的实例,所述新创建的实例配置有对应的监控类型,然后根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件,实现自动化告警配置,关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件,若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据,实现对新创建的实例的自动化监控。与现有技术相比,本申请实施中通过获取新创建的实例的监控类型,再根据监控类型,将所述新创建的实例与对应的预设告警策略进行关联,实现自动化告警配置,能够让每一个实例创建之后都处于监控中的状态,极大地降低了用户的运维成本。The embodiment of the present application first obtains a newly created instance, the newly created instance is configured with a corresponding monitoring type, and then according to the monitoring type corresponding to the newly created instance, the newly created instance and the monitoring system are Associate the stored preset alarm policy of the monitoring type, the preset alarm policy includes alarm conditions, and implement automatic alarm configuration. After the association, the newly created instance is determined according to the alarm policy of the newly created instance. Whether the alarm conditions in the alarm policy are met during operation, and if the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, and the alarm data includes the newly created The monitoring type and monitoring data of the instance to realize the automatic monitoring of the newly created instance. Compared with the prior art, in the implementation of the present application, by acquiring the monitoring type of a newly created instance, and according to the monitoring type, associating the newly created instance with a corresponding preset alarm policy to implement automatic alarm configuration, which enables the After each instance is created, it is in a monitoring state, which greatly reduces the user's operation and maintenance costs.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图 1是本申请提供的一种实例监控方法的实施例示意流程图;FIG. 1 is a schematic flowchart of an example monitoring method provided by this application;
图2是本申请提供的一种实例监控方法的另一实施例示意流程图;2 is a schematic flowchart of another embodiment of an example monitoring method provided by the present application;
图3是本申请提供的一种实例监控方法的再一实施例示意流程图;3 is a schematic flowchart of still another embodiment of an example monitoring method provided by the present application;
图4是本申请提供的一种实例监控方法的又一实施例示意流程图;4 is a schematic flowchart of still another embodiment of an example monitoring method provided by the present application;
图5是本申请实施例提供的一种实例监控装置的结构框图;5 is a structural block diagram of an example monitoring device according to an embodiment of the present application;
图6是本申请实施例提供的一种终端设备的示意性框图。FIG. 6 is a schematic block diagram of a terminal device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solution described in this application, specific examples are used for description below.
参见图1,图1是本申请实施例提供的一种实例监控方法的实施例示意流程图,在该实施例中,实例监控方法可以包括步骤S101至S104:Referring to FIG. 1, FIG. 1 is a schematic flowchart of an example monitoring method according to an embodiment of the present application. In this embodiment, the example monitoring method may include steps S101 to S104:
S101,获取新创建的实例,所述新创建的实例配置有对应的监控类型。S101. Obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type.
所述监控类型可以包括下述至少一项:主机类、物理机类、负载匀衡器类、数据库类等,每个实例在被创建时,都配置有对应的所述监控类型,通过获取新创建的实例,可以获取新创建的实例对应的监控类型。The monitoring type may include at least one of the following: a host class, a physical machine class, a load balancer class, a database class, and the like. Each instance is configured with a corresponding monitoring type when it is created. Instance, you can get the monitoring type corresponding to the newly created instance.
在本实施例中,可以将每个新创建的实例注册到监控***中,每个新创建的实例在注册时需要注册实例信息,所述实例信息可以包括ID(身份标识号)、实例名称、实例类型、使用新创建的实例的租户ID、新创建的实例的区域信息、添加可读性的名称,这里实例类型即为所述监控类型,通过获取新创建的实例的实例信息,获取新创建的实例的监控类型。In this embodiment, each newly created instance can be registered in the monitoring system. Each newly created instance needs to register instance information when registering. The instance information may include an ID (identity identification number), an instance name, Instance type, tenant ID using the newly created instance, area information of the newly created instance, and readable name, here the instance type is the monitoring type, and the newly created instance is obtained by obtaining the instance information of the newly created instance The monitoring type of the instance.
优选地,在S101中获取新创建的实例之前,可以包括:获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。Preferably, before obtaining the newly created instance in S101, the method may include: obtaining a monitoring type of an existing instance monitored by the monitoring system, and performing a predefined alarm configuration on the monitoring type; wherein the predefined alarm configuration includes At least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following: CPU, memory, and disk space.
本实施例中,所述已有实例和新创建的实例可以包括下述至少一项:云主机、物理机、负载匀衡器、数据库,监控类型对应的预定义告警配置可以包括:云主机告警配置、物理机告警配置、负载匀衡器告警配置、数据库告警配置等,不同的监控类型可以对应着不同的预设可上报的监控项。例如,云主机的监控中对应的预设可上报的监控项可以包括:CPU、内存、磁盘空间,磁盘inode(索引节点,用于存放档案及目录的基本信息,包含时间、档名、使用者及群组等)等;每个监控类型中可以对应监控多个实例,监控的不同的实例对应着不用的实例名,但是创建的实例的实例名是全局唯一的,也是***中唯一的通过对监控***中所有所述监控类型进行预定义告警配置,将新创建的实例的监控类型与预定义告警配置好的对应的监控类型进行匹配,以使新创建的实例在监控***中带类型被监控,自动化配置告警策略。In this embodiment, the existing instance and the newly created instance may include at least one of the following: cloud host, physical machine, load balancer, database, and the predefined alarm configuration corresponding to the monitoring type may include: cloud host alarm configuration , Physical machine alarm configuration, load balancer alarm configuration, database alarm configuration, etc., different monitoring types can correspond to different preset reportable monitoring items. For example, the corresponding preset reportable monitoring items in cloud host monitoring can include: CPU, memory, disk space, disk inode (index node, used to store basic information of files and directories, including time, file name, user And groups, etc.); each monitoring type can monitor multiple instances, and the different instances monitored correspond to unused instance names, but the instance names of the created instances are globally unique, and they are also unique in the system. All the monitoring types in the monitoring system are pre-defined alarm configuration, and the monitoring type of the newly created instance is matched with the corresponding monitoring type configured by the predefined alarm, so that the newly created instance is monitored with the type in the monitoring system. , Automatically configure alarm policies.
参见图1,S102,根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件。Referring to FIG. 1, S102, according to the monitoring type corresponding to the newly created instance, associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system, the preset alarm Policies include alert conditions.
本实施例中,在网络门户上创建新的实例时,操作的入口是不一样的,根据所述入口,可以获取所述新创建的实例属于什么监控类型,以使所述新创建的实例被监控***监控时携带监控类型。创建新的实例后,调用监控***的初始化接口,若所述新创建的实例的监控类型为主机监控,则调用主机监控接口,用于初始化主机告警策略,若所述新创建的实例的监控类型为物理机监控、负载匀衡器监控、数据库监控中的一个,则调用应用监控接口,用于初始化应用类的实例告警策略,通过调用所述初始化接口,将监控***中的预定义告警配置的文件复制到所述新创建的实例中,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联。In this embodiment, when a new instance is created on the web portal, the operation portal is different. According to the portal, it is possible to obtain what type of monitoring the newly created instance belongs to, so that the newly created instance is deleted. The monitoring system carries the monitoring type when monitoring. After the new instance is created, the initialization interface of the monitoring system is called. If the monitoring type of the newly created instance is host monitoring, the host monitoring interface is called to initialize the host alarm policy. If the monitoring type of the newly created instance is For one of physical machine monitoring, load balancer monitoring, and database monitoring, the application monitoring interface is called to initialize the instance alarm policy of the application class. By calling the initialization interface, a file of the predefined alarm configuration in the monitoring system Copy to the newly created instance, and associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system.
参见图2,图2是一种实例监控方法的另一实施例示意流程图,在该实施例中,图2示出了S102中的将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,可以包括步骤S201至S203:Referring to FIG. 2, FIG. 2 is a schematic flowchart of another embodiment of an instance monitoring method. In this embodiment, FIG. 2 shows that the newly created instance is stored in the monitoring system in S102. The association of the preset alarm policies of the monitoring type may include steps S201 to S203:
S201,根据所述新创建的实例对应的所述监控类型,查找与所述监控***中对应的所述监控类型;S201. Find the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance.
S202,根据预设映射表,获取与所述监控类型对应的所述预定义告警配置的文件;S202: Acquire a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table;
S203,从所述预定义告警配置的文件中获取所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中。S203: Obtain the preset alarm policy from the file of the predefined alarm configuration, and copy the preset alarm policy to the newly created instance.
具体地,所述新创建的实例携带有所述监控类型,所述监控类型携带有标识符,根据所述标识符,从监控***中查找与所述新创建的实例携带的所述监控类型一致的监控类型。其中,在监控***中,每个所述监控类型与对应的所述预定义告警配置的文件均存储有所述预设映射表,根据所述监控类型,通过对应的预设映射表,可以获取与所述监控类型对应的所述预定义告警配置的文件。Specifically, the newly created instance carries the monitoring type, and the monitoring type carries an identifier. According to the identifier, a lookup from a monitoring system is consistent with the monitoring type carried by the newly created instance. Monitoring type. In the monitoring system, each of the monitoring type and the corresponding predefined alarm configuration file stores the preset mapping table, and according to the monitoring type, the corresponding preset mapping table can be obtained. A file of the predefined alarm configuration corresponding to the monitoring type.
例如,若新创建的实例为主机时,则主机对应的监控类型为主机监控,针对主机监控,通过主机监控的标识符从监控***中查找到与主机对应的监控类型一致的主机监控,根据预设映射表,获取主机监控对应的所述预定义告警配置的文件,其中,所述预设映射表可以为字符映射表,所述字符映射表中键为监控类型标识符,值为所述预定义告警配置的文件的地址。从所述预定义告警配置的文件中获取所述主机监控的所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中,实现所述新创建的实例与监控***中存储的所述监控类型的预设告警策略的关联。所述预设告警策略中可以包括下述至少一项:监控项的指标、指标的附加属性、最大警告次数、告警优先级、统计函数、比较运算符、告警阈值、告警备注信息、告警策略生效开始时间、告警策略生效结束时间及监控类型的标识符。For example, if the newly created instance is a host, the monitoring type corresponding to the host is host monitoring. For host monitoring, the host monitoring identifier is used to find the host monitoring consistent with the monitoring type corresponding to the host from the monitoring system identifier. A mapping table is set to obtain a file of the predefined alarm configuration corresponding to host monitoring, wherein the preset mapping table may be a character mapping table, a key in the character mapping table is a monitoring type identifier, and a value is the preset Defines the address of the alarm configuration file. Acquiring the preset alarm policy monitored by the host from the file of the predefined alarm configuration, and copying the preset alarm policy to the newly created instance to implement the newly created instance and monitoring Association of preset alarm policies of the monitoring type stored in the system. The preset alarm strategy may include at least one of the following: indicators of monitoring items, additional attributes of the indicators, maximum number of warnings, alarm priority, statistical functions, comparison operators, alarm thresholds, alarm remarks, and effective alarm policies The identifier of the start time, the effective end time of the alarm policy, and the monitoring type.
参见图1,S103,关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件。Referring to FIG. 1 and S103, after the association, it is determined whether the newly created instance meets the alarm conditions in the alarm policy during operation according to the alarm policy of the newly created instance.
本实施例中,关联后,所述新创建的实例的告警策略可以为所述新创建的实例的监控类型对应的预设告警策略或修改后的所述预设告警策略,所述新创建的实例的告警策略可以被所述新创建的实例的租户修改,具体为:向所述新创建的实例的租户发送对所述新创建的实例中的所述预定义告警配置的修改信号,接收所述租户发送的修改后的所述预定义告警配置,从所述修改后的预定义告警配置中获取所述新创建的实例的告警策略。In this embodiment, after being associated, the alarm policy of the newly created instance may be a preset alarm policy corresponding to the monitoring type of the newly created instance or a modified preset alarm policy. The alarm policy of the instance can be modified by the tenant of the newly created instance, specifically: sending a modification signal of the predefined alarm configuration in the newly created instance to the tenant of the newly created instance, and receiving all The modified predefined alarm configuration sent by the tenant is described, and the alarm policy of the newly created instance is obtained from the modified predefined alarm configuration.
其中,在所述监控***中,每个实例可以由多个租户共用,但是每个租户均被预定义一个命名空间,在查询数据时,租户只能查询本租户的配置数据,所述配置数据为所述新创建的实例的配置数据,可以包括:APP的ID、租户ID、实例名、监控类型、实例所在区域信息(实例被创建的地址)、可读性的名称(可以更改的实例名)及对应的所述监控数据,所述监控数据可以包括预设可上报的监控项的监控数据或所述预设告警策略的数据,或者,所述监控数据可以包括修改后的预设可上报的监控项的监控数据或修改后的所述预设告警策略的数据。因此,每个实例对应着一个租户,所述租户只能修改对应本租户的配置数据。根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件,比如,监控主机类的告警条件为cpu使用率连续3次>=80%就告警,其中,最大告警次数为3次,严重级别为3,则监控新创建的实例为主机时,判断所述主机在运行过程中是否满足所述告警条件。In the monitoring system, each instance can be shared by multiple tenants, but each tenant is predefined with a namespace. When querying data, the tenant can only query the configuration data of the tenant. The configuration data The configuration data for the newly created instance may include: APP ID, tenant ID, instance name, monitoring type, area information of the instance (the address where the instance was created), and a readable name (the instance name that can be changed) ) And the corresponding monitoring data, the monitoring data may include monitoring data of preset reportable monitoring items or data of the preset alarm strategy, or the monitoring data may include modified preset reportable Monitoring data of the monitoring item or data of the preset alarm strategy after modification. Therefore, each instance corresponds to a tenant, and the tenant can only modify the configuration data corresponding to the tenant. According to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm strategy during the running process. For example, the alarm condition of the monitoring host class is that the CPU usage rate is 3 consecutive times. > = 80%, the maximum number of alarms is 3, and the severity level is 3. When the newly created instance is monitored as a host, it is determined whether the host meets the alarm conditions during the running process.
步骤S104,若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。In step S104, if the alarm conditions in the alarm policy are met, an automatic alarm function is triggered, and alarm data is obtained, where the alarm data includes a monitoring type and monitoring data of the newly created instance.
本实施例中,若满足所述告警策略中的所述告警条件,则自动发送告警信号至所述监控***,并获取告警数据,其中,不同的监控类型对应着不同的预设可上报的监控项。In this embodiment, if the alarm conditions in the alarm policy are met, an alarm signal is automatically sent to the monitoring system and alarm data is obtained, where different types of monitoring correspond to different preset reportable monitoring item.
优选地,所述新创建的实例还配置有对应的实例名;在获取所述告警数据后,从所述告警数据中筛选出与所述新创建的实例对应的所述监控数据,并根据所述对应的实例名将筛选后的所述监控数据上报至对应所述新创建的实例的租户;其中,所述监控数据包括所述预设可上报的监控项的监控数据及所述预设告警策略的数据,所述预设可上报的监控项的监控数据包括下述至少一项:CPU使用率、内存使用率、磁盘空间使用率,所述预设告警策略的数据包括最大警告次数和严重级别。Preferably, the newly created instance is further configured with a corresponding instance name; after obtaining the alarm data, the monitoring data corresponding to the newly created instance is filtered from the alarm data, and according to the The corresponding instance name reports the filtered monitoring data to a tenant corresponding to the newly created instance; wherein the monitoring data includes monitoring data of the preset reportable monitoring items and the preset alarm policy The monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage, memory usage, and disk space usage. The data of the preset alarm policy includes the maximum number of warnings and the severity level. .
本实施例中,例如,对主机的监控中,对应的监控类型为主机类,则对应着的预设可上报的监控项可以包括CPU使用率,则从所述告警数据中筛选出与所述主机对应的所述监控数据,所述主机对应的所述监控数据可以包括所述主机对应的预设可上报的监控项的监控数据(CPU使用率)和预设告警策略的数据(最大警告次数和严重级别)。In this embodiment, for example, in the monitoring of a host, the corresponding monitoring type is a host type, and the corresponding preset reportable monitoring item may include a CPU usage rate, and the alarm data is filtered out from the alarm data. The monitoring data corresponding to the host, the monitoring data corresponding to the host may include monitoring data (CPU usage rate) of a preset reportable monitoring item corresponding to the host and data of a preset alarm policy (maximum warning times) And severity levels).
若监控到CPU使用率连续3次>=80%且<85%时,则触发告警功能,且最大告警次数为1次,严重级别为1;若监控到CPU使用率连续3次>=85%且<90%时,则触发告警功能,且最大告警次数为2次,严重级别为2;若监控到CPU使用率连续3次>=90%时,则触发告警功能,且最大告警次数为3次,严重级别为3。If the CPU usage is monitored for 3 consecutive times> = 80% and <85%, the alarm function is triggered, and the maximum number of alarms is 1 and the severity level is 1; if the CPU usage is monitored for 3 consecutive times> = 85% When <90%, the alarm function is triggered, and the maximum number of alarms is 2 and the severity level is 2. If the CPU usage is monitored for 3 consecutive times> = 90%, the alarm function is triggered and the maximum number of alarms is 3 Second, the severity level is 3.
例如,所述主机的所述告警数据包括所述主机的监控类型为主机类、所述主机对应的预设可上报的监控项的监控数据为CPU使用率连续3次>=90%,且最大告警次数为3次,严重级别为3,将筛选出的所述新创建的实例(主机)对应的所述监控数据上报至对应所述主机的租户,以使所述租户根据上报的所述监控数据进行处理,所述租户可以为用户。For example, the alarm data of the host includes that the monitoring type of the host is a host type, and the monitoring data of a preset reportable monitoring item corresponding to the host is that the CPU usage rate is 3 consecutive times> = 90%, and the maximum The number of alarms is 3 and the severity level is 3, and the monitoring data corresponding to the newly created instance (host) that is screened out is reported to the tenant corresponding to the host, so that the tenant is based on the reported monitoring The data is processed, and the tenant may be a user.
参见图3,图3为一种实例监控方法的再一实施例示意流程图,在该实施例中,实例监控方法,还可以包括步骤S301至S302:Referring to FIG. 3, FIG. 3 is a schematic flowchart of still another embodiment of an instance monitoring method. In this embodiment, the instance monitoring method may further include steps S301 to S302:
S301,对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识包括主机类监控标识和应用类监控标识,所述属性标识对应的监控属性包括主机类监控和应用类监控;S301: classify and configure the monitoring type of the existing instance, and configure an attribute identifier, where the attribute identifier includes a host type monitoring identifier and an application type monitoring identifier, and the monitoring attributes corresponding to the attribute identifier include host type monitoring and application type monitoring;
S302,根据所述属性标识,对所述监控属性进行所述预定义告警配置。S302. Perform the predefined alarm configuration on the monitoring attribute according to the attribute identifier.
本实施例中,对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识对应的监控属性主要可以分为主机类监控和应用类监控,其中,所述主机类监控可以包括主机类,所述应用类监控可以包括下述至少一类监控类型:物理机类、负载匀衡器类、数据库类。根据监控类型对应的属性标识,分别对主机类监控和应用类监控进行所述预定义告警配置,若所述新创建的实例在与预定义告警配置中的预设告警策略进行关联时,可以直接查找与所述新创建的实例对应的监控属性,将所述监控属性对应的预设告警策略复制到所述新创建的实例中,完成关联。In this embodiment, the monitoring type of the existing instance is classified and an attribute identifier is configured. The monitoring attributes corresponding to the attribute identifier can be mainly divided into host-type monitoring and application-type monitoring. The host-type monitoring may include: Host type, the application type monitoring may include at least one of the following types of monitoring: physical machine type, load balancer type, and database type. According to the attribute identifier corresponding to the monitoring type, the predefined alarm configuration is respectively performed on the host type monitoring and the application type monitoring. If the newly created instance is associated with a preset alarm policy in the predefined alarm configuration, it may directly Find a monitoring attribute corresponding to the newly created instance, copy a preset alarm policy corresponding to the monitoring attribute to the newly created instance, and complete the association.
参见图4,图4为一种实例监控方法的又一实施例示意流程图,图4示出了S302中的根据所述属性标识,对所述监控属性进行所述预定义告警配置,可以包括步骤S401至S403:Referring to FIG. 4, FIG. 4 is a schematic flowchart of still another embodiment of an example monitoring method. FIG. 4 shows the pre-defined alarm configuration for the monitoring attribute according to the attribute identification in S302, which may include: Steps S401 to S403:
S401,获取到所述新创建的实例,根据所述新创建的实例携带的属性标识,查找所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识;S401. Obtain the newly created instance, and find whether there is the attribute identifier that is consistent with the newly created instance in the monitoring system according to the attribute identifier carried by the newly created instance.
S402,若存在与所述新创建的实例携带一致的属性标识,则获取与所述新创建的实例携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述新创建的实例中;S402. If there is an attribute identifier consistent with that of the newly created instance, obtain a file of the predefined alarm configuration corresponding to the attribute identifier of the newly created instance, and configure the predefined alarm configuration. The preset alarm policy in the file is copied to the newly created instance;
S403,若不存在与所述新创建的实例携带一致的属性标识,则在所述监控***中创建新的监控类型及监控属性,对所述新的监控类型配置与所述新创建的实例携带一致的属性标识,并根据所述新创建的实例对所述新的监控属性配置新的预定义告警配置的文件。S403. If there is no attribute identifier that is consistent with the newly created instance, a new monitoring type and monitoring attribute are created in the monitoring system, and the new monitoring type is configured to be carried with the newly created instance. Consistent attribute identification, and a new predefined alarm configuration file is configured for the new monitoring attribute according to the newly created instance.
本实施例中,获取到携带有属性标识的所述新创建的实例,根据所述属性标识,判断所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识,例如,新创建的实例为主机时,则对应的监控类型为主机类,对应的监控属性为主机类监控,根据主机携带的属性标识,与所述监控***中的所有的属性标识进行比对,若存在与所述主机携带一致的属性标识,则获取所述监控***中的与所述主机携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述主机中;若不存在与所述主机携带一致的属性标识,则在所述监控***中创建新的监控类型及监控属性,即创建主机对应的监控类型(主机类)及监控属性(主机类监控),并将所述主机类配置与所述主机携带一致的属性标识,根据主机对所述主机类监控配置新的预定义告警配置的文件。In this embodiment, the newly created instance carrying the attribute identifier is acquired, and based on the attribute identifier, it is determined whether the monitoring system has the attribute identifier that is consistent with the newly created instance, for example, When the newly created instance is a host, the corresponding monitoring type is host class, and the corresponding monitoring attribute is host class monitoring. According to the attribute identifier carried by the host, it is compared with all attribute identifiers in the monitoring system. Carrying the attribute identifier consistent with the host, then obtaining the pre-defined alarm configuration file corresponding to the host carrying the attribute identifier consistent in the monitoring system, and The preset alarm policy is copied to the host; if there is no attribute identifier consistent with the host, a new monitoring type and monitoring attribute are created in the monitoring system, that is, a monitoring type (host class corresponding to the host is created) ) And monitoring attributes (host class monitoring), and the host class configuration and the host carry a consistent attribute identifier, according to the host Monitoring the host-based configuration file new predefined alarm configuration.
综上所述,本申请实施例首先获取新创建的实例,所述新创建的实例配置有对应的监控类型,然后根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件,实现自动化告警配置,关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件,若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据,实现对新创建的实例的自动化监控。与现有技术相比,本申请实施中通过获取新创建的实例的监控类型,再根据监控类型,将所述新创建的实例与对应的预设告警策略进行关联,实现自动化告警配置,能够让每一个实例创建之后都处于监控中的状态,极大地降低了用户的运维成本。In summary, the embodiment of the present application first obtains a newly created instance, the newly created instance is configured with a corresponding monitoring type, and then according to the monitoring type corresponding to the newly created instance, the newly created instance is The instance is associated with a preset type of alarm policy of the monitoring type stored in the monitoring system. The preset alarm policy includes alarm conditions to implement automatic alarm configuration. After the association, it determines the location of the alarm according to the alarm policy of the newly created instance. Describes whether the newly created instance meets the alarm conditions in the alarm policy during operation. If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered, and alarm data is obtained. The alarm data The monitoring type and monitoring data of the newly created instance are included to realize automatic monitoring of the newly created instance. Compared with the prior art, in the implementation of the present application, by acquiring the monitoring type of a newly created instance, and according to the monitoring type, associating the newly created instance with a corresponding preset alarm policy to implement automatic alarm configuration, which enables the After each instance is created, it is in a monitoring state, which greatly reduces the user's operation and maintenance costs.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
对应于上文实施例所述的实例监控方法,图5示出了本申请实施例提供的实例监控装置的结构框图。为了便于说明,仅示出了与本实施例相关的部分。Corresponding to the example monitoring method described in the foregoing embodiment, FIG. 5 shows a structural block diagram of an example monitoring apparatus provided by an embodiment of the present application. For convenience of explanation, only the parts related to this embodiment are shown.
参照图5,该装置包括:Referring to FIG. 5, the device includes:
实例获取模块501,用于获取新创建的实例,所述新创建的实例配置有对应的监控类型;An instance obtaining module 501 is configured to obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type;
关联模块502,用于根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;An association module 502, configured to associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm The strategy includes alarm conditions;
判断模块503,用于关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;A judging module 503, configured to determine, after association, whether the newly created instance meets the alarm conditions in the alarm policy according to an alarm policy of the newly created instance;
告警模块504,用于在满足所述告警策略中的所述告警条件时,触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。The alarm module 504 is configured to trigger an automatic alarm function and obtain alarm data when the alarm conditions in the alarm policy are met, where the alarm data includes a monitoring type and monitoring data of the newly created instance.
可选地,所述实例监控装置还可以包括:第一告警配置模块,用于:在所述获取新创建的实例之前,获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。Optionally, the instance monitoring device may further include: a first alarm configuration module, configured to: before the acquiring a newly created instance, acquire a monitoring type of an existing instance monitored by the monitoring system, and perform monitoring on the monitoring Pre-defined alarm configuration of the type; wherein the pre-defined alarm configuration includes at least one of the following: a preset reportable monitoring item, a reportable instance name, a preset alarm policy, and the preset reportable monitoring Items include at least one of the following: CPU, memory, disk space.
可选地,所述关联模块502包括:Optionally, the association module 502 includes:
查找单元,用于根据所述新创建的实例对应的所述监控类型,查找与所述监控***中对应的所述监控类型;A searching unit, configured to search for the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance;
获取单元,用于根据预设映射表,获取与所述监控类型对应的所述预定义告警配置的文件;An obtaining unit, configured to obtain a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table;
关联单元,从所述预定义告警配置的文件中获取所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中。The association unit obtains the preset alarm policy from the file of the predefined alarm configuration, and copies the preset alarm policy to the newly created instance.
可选地,所述新创建的实例还配置有对应的实例名,该装置还包括:监控数据筛选模块,用于在获取所述告警数据后,从所述告警数据中筛选出与所述新创建的实例对应的所述监控数据,并根据所述对应的实例名将筛选后的所述监控数据上报至对应所述新创建的实例的租户;Optionally, the newly created instance is further configured with a corresponding instance name, and the device further includes a monitoring data filtering module for filtering the alarm data from the new alarm data after obtaining the alarm data. The monitoring data corresponding to the created instance, and reporting the filtered monitoring data to a tenant corresponding to the newly created instance according to the corresponding instance name;
其中,所述监控数据包括所述预设可上报的监控项的监控数据及所述预设告警策略的数据,所述预设可上报的监控项的监控数据包括下述至少一项:CPU使用率、内存使用率、磁盘空间使用率,所述预设告警策略的数据包括最大警告次数和严重级别。The monitoring data includes monitoring data of the preset reportable monitoring items and data of the preset alarm policy, and monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage Rate, memory usage rate, disk space usage rate, and the data of the preset alarm strategy includes the maximum number of warnings and the severity level.
可选地,所述实例监控装置还包括:属性配置模块,用于对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识包括主机类监控标识和应用类监控标识,所述属性标识对应的监控属性包括主机类监控和应用类监控;Optionally, the instance monitoring apparatus further includes: an attribute configuration module, configured to classify the monitoring type of the existing instance and configure an attribute identifier, where the attribute identifier includes a host-type monitoring identifier and an application-type monitoring identifier, and The monitoring attributes corresponding to the attribute identifiers include host-type monitoring and application-type monitoring;
第二告警配置模块,用于根据所述属性标识,对所述监控属性进行所述预定义告警配置。A second alarm configuration module is configured to perform the predefined alarm configuration on the monitoring attribute according to the attribute identifier.
可选地,所述第二告警配置模块,包括:Optionally, the second alarm configuration module includes:
属性标识查找单元,用于获取到所述新创建的实例,根据所述新创建的实例携带的属性标识,查找所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识;An attribute identifier search unit, configured to obtain the newly created instance, and find whether the attribute identifier that is consistent with the newly created instance exists in the monitoring system according to the attribute identifier carried by the newly created instance ;
告警配置单元,用于在存在与所述新创建的实例携带一致的属性标识时,获取与所述新创建的实例携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述新创建的实例中;An alarm configuration unit, configured to obtain a file of the predefined alarm configuration corresponding to the attribute identifier consistent with the newly created instance when the attribute identifier consistent with the newly created instance exists, and A preset alarm policy in a file of a predefined alarm configuration is copied to the newly created instance;
创建单元,用于在不存在与所述新创建的实例携带一致的属性标识时,在所述监控***中创建新的监控类型及监控属性,对所述新的监控类型配置与所述新创建的实例携带一致的属性标识,并根据所述新创建的实例对所述新的监控属性配置新的预定义告警配置的文件。A creating unit, configured to create a new monitoring type and monitoring attribute in the monitoring system when there is no attribute identifier consistent with the newly created instance, and configure the new monitoring type and the newly created The instance carries a consistent attribute identifier, and configures a new predefined alarm configuration file for the new monitoring attribute according to the newly created instance.
图6是本申请实施例提供的一种终端设备的示意性框图。如图6所示,该实施例的终端设备6包括:处理器60以及存储器61,所述存储器61中存储有可在所述处理器60上运行的计算机可读指令62,例如实例监控方法程序。所述处理器60执行所述计算机可读指令62时实现上述各个实例监控方法实施例中的步骤,例如图1所示的步骤101至104。或者,所述处理器60执行所述计算机可读指令62时实现上述各装置实施例中各模块/单元的功能,例如图5所示单元501至504的功能。FIG. 6 is a schematic block diagram of a terminal device according to an embodiment of the present application. As shown in FIG. 6, the terminal device 6 of this embodiment includes a processor 60 and a memory 61. The memory 61 stores computer-readable instructions 62 that can be run on the processor 60, such as an example monitoring method program. . When the processor 60 executes the computer-readable instructions 62, the steps in the foregoing embodiments of the method for monitoring each instance are implemented, for example, steps 101 to 104 shown in FIG. 1. Alternatively, when the processor 60 executes the computer-readable instructions 62, the functions of each module / unit in the foregoing device embodiments are implemented, for example, the functions of the units 501 to 504 shown in FIG. 5.
示例性的,所述计算机可读指令62可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器60执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令62在所述终端设备6中的执行过程。Exemplarily, the computer-readable instructions 62 may be divided into one or more modules / units, the one or more modules / units are stored in the memory 61 and executed by the processor 60, To complete this application. The one or more modules / units may be a series of computer-readable instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 62 in the terminal device 6.
所述终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于处理器60和存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or fewer components than shown in the figure, or combine some components or different components. For example, the terminal device may further include an input / output device, a network access device, a bus, and the like.
所述存储器61可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储所述计算机可读指令以及所述终端设备所需的其他程序和数据。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (SD) provided on the terminal device 6. Card, flash card, etc. Further, the memory 61 may further include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is configured to store the computer-readable instructions and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The foregoing storage media include: U disks, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks and other media that can store program codes .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to describe the technical solution of the present application, rather than limiting them. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still apply the foregoing The technical solutions described in the embodiments are modified, or some technical features are equivalently replaced; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种实例监控方法,其特征在于,包括:An instance monitoring method, comprising:
    获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
    根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
    关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
    若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
  2. 根据权利要求1所述的实例监控方法,其特征在于,在所述获取新创建的实例之前,包括:The method for monitoring an instance according to claim 1, before the acquiring the newly created instance, comprising:
    获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;Acquiring a monitoring type of an existing instance monitored by the monitoring system, and performing a predefined alarm configuration on the monitoring type;
    其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。The predefined alarm configuration includes at least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following : CPU, memory, disk space.
  3. 根据权利要求2所述的实例监控方法,其特征在于,根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,包括:The instance monitoring method according to claim 2, characterized in that, according to the monitoring type corresponding to the newly created instance, a preset alarm of the newly created instance and the monitoring type stored in a monitoring system is generated Associate policies, including:
    根据所述新创建的实例对应的所述监控类型,查找与所述监控***中对应的所述监控类型;Find the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance;
    根据预设映射表,获取与所述监控类型对应的所述预定义告警配置的文件;Obtaining a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table;
    从所述预定义告警配置的文件中获取所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中。Acquiring the preset alarm policy from a file of the predefined alarm configuration, and copying the preset alarm policy to the newly created instance.
  4. 根据权利要求3所述的实例监控方法,其特征在于,所述新创建的实例还配置有对应的实例名;The instance monitoring method according to claim 3, wherein the newly created instance is further configured with a corresponding instance name;
    在获取所述告警数据后,从所述告警数据中筛选出与所述新创建的实例对应的所述监控数据,并根据所述对应的实例名将筛选后的所述监控数据上报至对应所述新创建的实例的租户;After acquiring the alarm data, the monitoring data corresponding to the newly created instance is filtered from the alarm data, and the filtered monitoring data is reported to the corresponding one according to the corresponding instance name The tenant of the newly created instance;
    其中,所述监控数据包括所述预设可上报的监控项的监控数据及所述预设告警策略的数据,所述预设可上报的监控项的监控数据包括下述至少一项:CPU使用率、内存使用率、磁盘空间使用率,所述预设告警策略的数据包括最大警告次数和严重级别。The monitoring data includes monitoring data of the preset reportable monitoring items and data of the preset alarm policy, and monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage Rate, memory usage rate, disk space usage rate, and the data of the preset alarm strategy includes the maximum number of warnings and the severity level.
  5. 根据权利要求4所述的实例监控方法,其特征在于,还包括:The instance monitoring method according to claim 4, further comprising:
    对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识包括主机类监控标识和应用类监控标识,所述属性标识对应的监控属性包括主机类监控和应用类监控;Classify the monitoring types of the existing instances and configure attribute identifiers, where the attribute identifiers include host-type monitoring identifiers and application-type monitoring identifiers, and the monitoring attributes corresponding to the attribute identifiers include host-type monitoring and application-type monitoring;
    根据所述属性标识,对所述监控属性进行所述预定义告警配置。Performing the predefined alarm configuration on the monitoring attribute according to the attribute identification.
  6. 根据权利要求5所述的实例监控方法,其特征在于,根据所述属性标识,对所述监控属性进行所述预定义告警配置,包括:The instance monitoring method according to claim 5, wherein performing the predefined alarm configuration on the monitoring attribute according to the attribute identifier comprises:
    获取到所述新创建的实例,根据所述新创建的实例携带的属性标识,查找所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识;Obtaining the newly created instance, and searching for whether the attribute identifier that is consistent with that of the newly created instance exists in the monitoring system according to the attribute identifier carried by the newly created instance;
    若存在与所述新创建的实例携带一致的属性标识,则获取与所述新创建的实例携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述新创建的实例中;If there is an attribute identifier consistent with that of the newly created instance, obtaining a file of the predefined alarm configuration corresponding to the attribute identifier of the newly created instance, and copying the file of the predefined alarm configuration The preset alarm policy in the copy to the newly created instance;
    若不存在与所述新创建的实例携带一致的属性标识,则在所述监控***中创建新的监控类型及监控属性,对所述新的监控类型配置与所述新创建的实例携带一致的属性标识,并根据所述新创建的实例对所述新的监控属性配置新的预定义告警配置的文件。If there is no attribute identifier consistent with the newly created instance, a new monitoring type and monitoring attribute are created in the monitoring system, and the configuration of the new monitoring type is consistent with that of the newly created instance. Attribute identification, and configure a new predefined alarm configuration file for the new monitoring attribute according to the newly created instance.
  7. 一种实例监控装置,其特征在于,包括:An example monitoring device, comprising:
    实例获取模块,用于获取新创建的实例,所述新创建的实例配置有对应的监控类型;An instance obtaining module, configured to obtain a newly created instance, where the newly created instance is configured with a corresponding monitoring type;
    关联模块,用于根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;An association module, configured to associate the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy Including alarm conditions;
    判断模块,用于关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;A judging module, configured to determine, after the association, whether the newly created instance meets the alarm conditions in the alarm policy according to the alarm policy of the newly created instance during running;
    告警模块,用于在满足所述告警策略中的所述告警条件时,触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。An alarm module is configured to trigger an automatic alarm function and obtain alarm data when the alarm conditions in the alarm policy are met, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
  8. 根据权利要求7所述的实例监控装置,其特征在于,还包括:The instance monitoring device according to claim 7, further comprising:
    第一告警配置模块,用于:在所述获取新创建的实例之前,获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。A first alarm configuration module, configured to: before the acquiring a newly created instance, acquire a monitoring type of an existing instance monitored by the monitoring system, and perform a predefined alarm configuration on the monitoring type; wherein the predefined The alarm configuration includes at least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following: CPU, memory, disk space.
  9. 根据权利要求8所述的实例监控装置,其特征在于,所述关联模块包括:The instance monitoring device according to claim 8, wherein the association module comprises:
    查找单元,用于根据所述新创建的实例对应的所述监控类型,查找与所述监控***中对应的所述监控类型;A searching unit, configured to search for the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance;
    获取单元,用于根据预设映射表,获取与所述监控类型对应的所述预定义告警配置的文件;An obtaining unit, configured to obtain a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table;
    关联单元,从所述预定义告警配置的文件中获取所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中。The association unit obtains the preset alarm policy from the file of the predefined alarm configuration, and copies the preset alarm policy to the newly created instance.
  10. 根据权利要求9所述的实例监控装置,其特征在于,所述新创建的实例还配置有对应的实例名,该装置还包括:The instance monitoring device according to claim 9, wherein the newly created instance is further configured with a corresponding instance name, and the device further comprises:
    监控数据筛选模块,用于在获取所述告警数据后,从所述告警数据中筛选出与所述新创建的实例对应的所述监控数据,并根据所述对应的实例名将筛选后的所述监控数据上报至对应所述新创建的实例的租户;A monitoring data screening module, configured to, after acquiring the alarm data, filter out the monitoring data corresponding to the newly created instance from the alarm data, and filter the filtered data according to the corresponding instance name Reporting the monitoring data to a tenant corresponding to the newly created instance;
    其中,所述监控数据包括所述预设可上报的监控项的监控数据及所述预设告警策略的数据,所述预设可上报的监控项的监控数据包括下述至少一项:CPU使用率、内存使用率、磁盘空间使用率,所述预设告警策略的数据包括最大警告次数和严重级别。The monitoring data includes monitoring data of the preset reportable monitoring items and data of the preset alarm policy, and monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage Rate, memory usage rate, disk space usage rate, and the data of the preset alarm strategy includes the maximum number of warnings and the severity level.
  11. 根据权利要求10所述的实例监控装置,其特征在于,该装置还包括:The instance monitoring device according to claim 10, wherein the device further comprises:
    属性配置模块,用于对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识包括主机类监控标识和应用类监控标识,所述属性标识对应的监控属性包括主机类监控和应用类监控;An attribute configuration module is configured to classify the monitoring type of the existing instance and configure an attribute identifier, where the attribute identifier includes a host class monitoring identifier and an application class monitoring identifier, and the monitoring attributes corresponding to the attribute identifier include host class monitoring and Application monitoring
    第二告警配置模块,用于根据所述属性标识,对所述监控属性进行所述预定义告警配置。A second alarm configuration module is configured to perform the predefined alarm configuration on the monitoring attribute according to the attribute identifier.
  12. 根据权利要求11所述的实例监控装置,其特征在于,所述第二告警配置模块,包括:The instance monitoring device according to claim 11, wherein the second alarm configuration module comprises:
    属性标识查找单元,用于获取到所述新创建的实例,根据所述新创建的实例携带的属性标识,查找所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识;An attribute identifier search unit, configured to obtain the newly created instance, and find whether the attribute identifier that is consistent with the newly created instance exists in the monitoring system according to the attribute identifier carried by the newly created instance ;
    告警配置单元,用于在存在与所述新创建的实例携带一致的属性标识时,获取与所述新创建的实例携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述新创建的实例中;An alarm configuration unit, configured to obtain a file of the predefined alarm configuration corresponding to the attribute identifier consistent with the newly created instance when the attribute identifier consistent with the newly created instance exists, and A preset alarm policy in a file of a predefined alarm configuration is copied to the newly created instance;
    创建单元,用于在不存在与所述新创建的实例携带一致的属性标识时,在所述监控***中创建新的监控类型及监控属性,对所述新的监控类型配置与所述新创建的实例携带一致的属性标识,并根据所述新创建的实例对所述新的监控属性配置新的预定义告警配置的文件。A creating unit, configured to create a new monitoring type and monitoring attribute in the monitoring system when there is no attribute identifier consistent with the newly created instance, and configure the new monitoring type and the newly created The instance carries a consistent attribute identifier, and configures a new predefined alarm configuration file for the new monitoring attribute according to the newly created instance.
  13. 一种终端设备,其特征在于,包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device includes a memory and a processor. The memory stores computer-readable instructions that can run on the processor. When the processor executes the computer-readable instructions, the following steps are implemented: :
    获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
    根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
    关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
    若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
  14. 根据权利要求13所述的终端设备,其特征在于,在所述获取新创建的实例之前,包括:The terminal device according to claim 13, before the acquiring the newly created instance, comprising:
    获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;Acquiring a monitoring type of an existing instance monitored by the monitoring system, and performing a predefined alarm configuration on the monitoring type;
    其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。The predefined alarm configuration includes at least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following : CPU, memory, disk space.
  15. 根据权利要求14所述的终端设备,其特征在于,根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,包括:The terminal device according to claim 14, characterized in that, according to the monitoring type corresponding to the newly created instance, a preset alarm policy of the newly created instance and the monitoring type stored in a monitoring system Make associations, including:
    根据所述新创建的实例对应的所述监控类型,查找与所述监控***中对应的所述监控类型;Find the monitoring type corresponding to the monitoring system according to the monitoring type corresponding to the newly created instance;
    根据预设映射表,获取与所述监控类型对应的所述预定义告警配置的文件;Obtaining a file of the predefined alarm configuration corresponding to the monitoring type according to a preset mapping table;
    从所述预定义告警配置的文件中获取所述预设告警策略,并将所述预设告警策略复制到所述新创建的实例中。Acquiring the preset alarm policy from a file of the predefined alarm configuration, and copying the preset alarm policy to the newly created instance.
  16. 根据权利要求15所述的终端设备,其特征在于,所述新创建的实例还配置有对应的实例名;The terminal device according to claim 15, wherein the newly created instance is further configured with a corresponding instance name;
    在获取所述告警数据后,从所述告警数据中筛选出与所述新创建的实例对应的所述监控数据,并根据所述对应的实例名将筛选后的所述监控数据上报至对应所述新创建的实例的租户;After acquiring the alarm data, the monitoring data corresponding to the newly created instance is filtered from the alarm data, and the filtered monitoring data is reported to the corresponding one according to the corresponding instance name The tenant of the newly created instance;
    其中,所述监控数据包括所述预设可上报的监控项的监控数据及所述预设告警策略的数据,所述预设可上报的监控项的监控数据包括下述至少一项:CPU使用率、内存使用率、磁盘空间使用率,所述预设告警策略的数据包括最大警告次数和严重级别。The monitoring data includes monitoring data of the preset reportable monitoring items and data of the preset alarm policy, and monitoring data of the preset reportable monitoring items includes at least one of the following: CPU usage Rate, memory usage rate, disk space usage rate, and the data of the preset alarm strategy includes the maximum number of warnings and the severity level.
  17. 根据权利要求16所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 16, wherein, when the processor executes the computer-readable instructions, the following steps are further implemented:
    对所述已有实例的监控类型进行分类并配置属性标识,所述属性标识包括主机类监控标识和应用类监控标识,所述属性标识对应的监控属性包括主机类监控和应用类监控;Classify the monitoring types of the existing instances and configure attribute identifiers, where the attribute identifiers include host-type monitoring identifiers and application-type monitoring identifiers, and the monitoring attributes corresponding to the attribute identifiers include host-type monitoring and application-type monitoring;
    根据所述属性标识,对所述监控属性进行所述预定义告警配置。Performing the predefined alarm configuration on the monitoring attribute according to the attribute identification.
  18. 根据权利要求17所述的终端设备,其特征在于,根据所述属性标识,对所述监控属性进行所述预定义告警配置,包括:The terminal device according to claim 17, wherein performing the predefined alarm configuration on the monitoring attribute according to the attribute identifier comprises:
    获取到所述新创建的实例,根据所述新创建的实例携带的属性标识,查找所述监控***中是否存在与所述新创建的实例携带一致的所述属性标识;Obtaining the newly created instance, and searching for whether the attribute identifier that is consistent with that of the newly created instance exists in the monitoring system according to the attribute identifier carried by the newly created instance;
    若存在与所述新创建的实例携带一致的属性标识,则获取与所述新创建的实例携带一致的属性标识对应的所述预定义告警配置的文件,并将所述预定义告警配置的文件中的预设告警策略复制到所述新创建的实例中;If there is an attribute identifier consistent with that of the newly created instance, obtaining a file of the predefined alarm configuration corresponding to the attribute identifier of the newly created instance, and copying the file of the predefined alarm configuration The preset alarm policy in the copy to the newly created instance;
    若不存在与所述新创建的实例携带一致的属性标识,则在所述监控***中创建新的监控类型及监控属性,对所述新的监控类型配置与所述新创建的实例携带一致的属性标识,并根据所述新创建的实例对所述新的监控属性配置新的预定义告警配置的文件。If there is no attribute identifier consistent with the newly created instance, a new monitoring type and monitoring attribute are created in the monitoring system, and the configuration of the new monitoring type is consistent with that of the newly created instance. Attribute identification, and configure a new predefined alarm configuration file for the new monitoring attribute according to the newly created instance.
  19. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:A computer-readable storage medium storing computer-readable instructions, wherein the computer-readable instructions implement the following steps when executed by at least one processor:
    获取新创建的实例,所述新创建的实例配置有对应的监控类型;Obtaining a newly created instance configured with a corresponding monitoring type;
    根据所述新创建的实例对应的所述监控类型,将所述新创建的实例与监控***中存储的所述监控类型的预设告警策略进行关联,所述预设告警策略包括告警条件;Associating the newly created instance with a preset alarm policy of the monitoring type stored in a monitoring system according to the monitoring type corresponding to the newly created instance, the preset alarm policy including an alarm condition;
    关联后,根据所述新创建的实例的告警策略,判断所述新创建的实例在运行过程中是否满足所述告警策略中的所述告警条件;After the association, according to the alarm policy of the newly created instance, determine whether the newly created instance meets the alarm conditions in the alarm policy during operation;
    若满足所述告警策略中的所述告警条件,则触发自动告警功能,并获取告警数据,所述告警数据包括所述新创建的实例的监控类型及监控数据。If the alarm conditions in the alarm policy are met, an automatic alarm function is triggered and alarm data is obtained, where the alarm data includes the monitoring type and monitoring data of the newly created instance.
  20. 根据权利要求19所述的计算机可读存储介质,其特征在于,在所述获取新创建的实例之前,包括:The computer-readable storage medium according to claim 19, before the acquiring the newly created instance, comprising:
    获取所述监控***监控的已有实例的监控类型,对所述监控类型进行预定义告警配置;Acquiring a monitoring type of an existing instance monitored by the monitoring system, and performing a predefined alarm configuration on the monitoring type;
    其中,所述预定义告警配置包括下述至少一项:预设可上报的监控项、可上报的实例名、预设的告警策略;所述预设可上报的监控项包括下述至少一项:CPU、内存、磁盘空间。The predefined alarm configuration includes at least one of the following: preset reportable monitoring items, reportable instance names, and preset alarm policies; the preset reportable monitoring items include at least one of the following : CPU, memory, disk space.
PCT/CN2018/105056 2018-07-18 2018-09-11 Instance monitoring method and apparatus, terminal device and medium WO2020015092A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810788598.3 2018-07-18
CN201810788598.3A CN109240876B (en) 2018-07-18 2018-07-18 Instance monitoring method, computer-readable storage medium, and terminal device

Publications (1)

Publication Number Publication Date
WO2020015092A1 true WO2020015092A1 (en) 2020-01-23

Family

ID=65072045

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105056 WO2020015092A1 (en) 2018-07-18 2018-09-11 Instance monitoring method and apparatus, terminal device and medium

Country Status (2)

Country Link
CN (1) CN109240876B (en)
WO (1) WO2020015092A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019386A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Distributed cluster alarm method, device and equipment based on cloud platform
CN113064800A (en) * 2021-04-19 2021-07-02 上海安畅网络科技股份有限公司 Early warning method and device, electronic equipment and readable storage medium
CN114067524A (en) * 2021-11-23 2022-02-18 安徽富煌科技股份有限公司 Electronic stop board safety protection system of strategy recovery scheme
CN117155772A (en) * 2023-10-27 2023-12-01 广州嘉为科技有限公司 Alarm information enrichment method, device, equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532404B (en) * 2019-09-17 2023-09-22 ***通信集团广东有限公司 Data monitoring method and device and electronic equipment
CN110708197B (en) * 2019-09-27 2022-10-11 招商局金融科技有限公司 Monitoring device, method for setting monitoring policy of monitoring device, and storage medium
CN111193609B (en) * 2019-11-20 2021-09-28 腾讯科技(深圳)有限公司 Application abnormity feedback method and device and application abnormity monitoring system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263556A1 (en) * 2007-04-17 2008-10-23 Michael Zoll Real-time system exception monitoring tool
CN104065510A (en) * 2014-06-27 2014-09-24 北京思特奇信息技术股份有限公司 PetriNet-based system operation and maintenance monitoring method and PetriNet-based system operation and maintenance monitoring system
CN104252485A (en) * 2013-06-29 2014-12-31 北京新媒传信科技有限公司 Database management platform
CN104408059A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Fault processing method and device
CN106936620A (en) * 2015-12-31 2017-07-07 北京神州泰岳软件股份有限公司 The processing method and processing unit of a kind of alarm event
CN108259193A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of network management, Network Management System and Element management system
CN108270726A (en) * 2016-12-30 2018-07-10 杭州华为数字技术有限公司 Application example dispositions method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681882A (en) * 2015-11-06 2017-05-17 上海瑞致软件有限公司 IT-service concentrated monitoring and managing system based on Apriori algorithm
CN107562599A (en) * 2017-08-04 2018-01-09 无锡天脉聚源传媒科技有限公司 A kind of parameter detection method and device
CN108011880A (en) * 2017-12-04 2018-05-08 郑州云海信息技术有限公司 The management method and computer-readable recording medium monitored in cloud data system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263556A1 (en) * 2007-04-17 2008-10-23 Michael Zoll Real-time system exception monitoring tool
CN104252485A (en) * 2013-06-29 2014-12-31 北京新媒传信科技有限公司 Database management platform
CN104065510A (en) * 2014-06-27 2014-09-24 北京思特奇信息技术股份有限公司 PetriNet-based system operation and maintenance monitoring method and PetriNet-based system operation and maintenance monitoring system
CN104408059A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Fault processing method and device
CN106936620A (en) * 2015-12-31 2017-07-07 北京神州泰岳软件股份有限公司 The processing method and processing unit of a kind of alarm event
CN108259193A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of network management, Network Management System and Element management system
CN108270726A (en) * 2016-12-30 2018-07-10 杭州华为数字技术有限公司 Application example dispositions method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019386A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Distributed cluster alarm method, device and equipment based on cloud platform
CN112019386B (en) * 2020-08-28 2022-12-06 北京浪潮数据技术有限公司 Distributed cluster alarm method, device and equipment based on cloud platform
CN113064800A (en) * 2021-04-19 2021-07-02 上海安畅网络科技股份有限公司 Early warning method and device, electronic equipment and readable storage medium
CN113064800B (en) * 2021-04-19 2023-03-24 上海安畅网络科技股份有限公司 Early warning method and device, electronic equipment and readable storage medium
CN114067524A (en) * 2021-11-23 2022-02-18 安徽富煌科技股份有限公司 Electronic stop board safety protection system of strategy recovery scheme
CN117155772A (en) * 2023-10-27 2023-12-01 广州嘉为科技有限公司 Alarm information enrichment method, device, equipment and storage medium
CN117155772B (en) * 2023-10-27 2024-01-30 广州嘉为科技有限公司 Alarm information enrichment method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109240876B (en) 2022-05-27
CN109240876A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2020015092A1 (en) Instance monitoring method and apparatus, terminal device and medium
EP2933973B1 (en) Data protection method, apparatus and system
WO2021051878A1 (en) Cloud resource acquisition method and apparatus based on user permission, and computer device
JP5243804B2 (en) Computer system, method and computer program for managing components
WO2021012568A1 (en) Data processing method and related device
US20050060721A1 (en) User-centric policy creation and enforcement to manage visually notified state changes of disparate applications
CN110795257A (en) Method, device and equipment for processing multi-cluster operation records and storage medium
EP3488346B1 (en) Anomaly detection using sequences of system calls
US9430330B1 (en) System and method for managing environment metadata during data backups to a storage system
US10108634B1 (en) Identification and removal of duplicate event records from a security information and event management database
CN109388671B (en) Data processing method, device, equipment and storage medium
JP4807173B2 (en) Security management system and method
WO2020000676A1 (en) Database automatic alarming method and apparatus, terminal device, and readable storage medium
US20220138188A1 (en) Generic scheduling
JP7207009B2 (en) Anomaly detection device, anomaly detection method and anomaly detection program
CN111597270A (en) Data synchronization method, device, equipment and computer storage medium
US20150278543A1 (en) System and Method for Optimizing Storage of File System Access Control Lists
US11243756B1 (en) Extensible resource compliance management
US8676844B2 (en) Graph authorization
WO2020015098A1 (en) Data management method, terminal device, and medium
CN110855525A (en) Flow statistical method, electronic device, system and medium
WO2023273529A1 (en) Service log monitoring method and apparatus, and storage medium and electronic device
US11588678B2 (en) Generating incident response action recommendations using anonymized action implementation data
CN115580522A (en) Method and device for monitoring running state of container cloud platform
CN106557263B (en) For checking pseudo- shared method and apparatus in data block is deleted

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18927110

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18927110

Country of ref document: EP

Kind code of ref document: A1