CN106886477B - Method and device for setting monitoring threshold in cloud system - Google Patents

Method and device for setting monitoring threshold in cloud system Download PDF

Info

Publication number
CN106886477B
CN106886477B CN201710090014.0A CN201710090014A CN106886477B CN 106886477 B CN106886477 B CN 106886477B CN 201710090014 A CN201710090014 A CN 201710090014A CN 106886477 B CN106886477 B CN 106886477B
Authority
CN
China
Prior art keywords
monitoring threshold
monitoring
setting
level
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710090014.0A
Other languages
Chinese (zh)
Other versions
CN106886477A (en
Inventor
孟庆龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710090014.0A priority Critical patent/CN106886477B/en
Publication of CN106886477A publication Critical patent/CN106886477A/en
Application granted granted Critical
Publication of CN106886477B publication Critical patent/CN106886477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a method for setting a monitoring threshold in a cloud system, which comprises the following steps: receiving a monitoring threshold setting instruction; according to a monitoring threshold setting instruction, obtaining a pre-established monitoring threshold configuration file, wherein the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section consists of a definition range, a monitoring object range and a monitoring object identifier, and each option consists of a monitoring item and a monitoring threshold; and setting a corresponding monitoring threshold value for the monitored object according to each configuration item in the monitoring threshold value configuration file. By applying the technical scheme provided by the embodiment of the invention, the monitoring threshold of each monitored object can be efficiently set in the cloud system in a centralized manner, the manageability of the monitoring threshold in the cloud system is improved, the management cost is reduced, and the normal operation of the cloud system is ensured. The invention also discloses a monitoring threshold setting device in the cloud system, and the device has corresponding technical effects.

Description

Method and device for setting monitoring threshold in cloud system
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a device for setting a monitoring threshold in a cloud system.
Background
With the rapid development of cloud computing technology, resource monitoring gradually transits from traditional single host resource monitoring to complex resource monitoring at the level of virtual machines, clusters and cloud data centers in a cloud system, and a monitoring threshold value is continuously increased, so that the setting of the monitoring threshold value is more and more complex.
At present, technical personnel manually set the monitoring threshold of each monitored object, much time and energy are consumed, the management cost is high, the error rate is high, and the normal operation of a cloud system is easily influenced.
Disclosure of Invention
The invention aims to provide a method and a device for setting monitoring threshold values in a cloud system, which can efficiently set the monitoring threshold values of all monitored objects in the cloud system in a centralized manner, improve the manageability of the monitoring threshold values in the cloud system, reduce the management cost and ensure the normal operation of the cloud system.
In order to solve the technical problems, the invention provides the following technical scheme:
a monitoring threshold setting method in a cloud system comprises the following steps:
receiving a monitoring threshold setting instruction;
according to the monitoring threshold setting instruction, obtaining a pre-established monitoring threshold configuration file, wherein the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section consists of a definition range, a monitoring object range and a monitoring object identifier, and each option consists of a monitoring item and a monitoring threshold;
and setting a corresponding monitoring threshold value for the monitored object according to each configuration item in the monitoring threshold value configuration file.
In a specific embodiment of the present invention, the setting a corresponding monitoring threshold for a monitored object according to each configuration item in the monitoring threshold configuration file includes:
determining the level of a defined range corresponding to each configuration item in the monitoring threshold configuration file;
and setting corresponding monitoring threshold values for the monitored objects step by step according to the level of the defined range corresponding to each configuration item.
In one embodiment of the present invention, the defined range of levels includes a virtual machine level, a cluster level, a data center level, and a default level.
In a specific embodiment of the present invention, the step of setting a corresponding monitoring threshold for the monitored object step by step according to the level of the definition range corresponding to each configuration item includes:
searching whether a configuration item with a defined range as a virtual machine level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the virtual machine level;
otherwise, searching whether a configuration item with a defined range as a cluster level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level;
otherwise, searching whether a configuration item with a defined range as a data center level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for a corresponding monitored object according to the configuration item with the defined range as the data center level;
otherwise, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the default level.
In a specific embodiment of the present invention, the information format of the configuration items in the monitoring threshold configuration file is an INI format.
A monitoring threshold setting device in a cloud system comprises:
the setting instruction receiving module is used for receiving a monitoring threshold setting instruction;
a configuration file obtaining module, configured to obtain a pre-established monitoring threshold configuration file according to the monitoring threshold setting instruction, where the monitoring threshold configuration file includes one or more configuration items, each configuration item includes a corresponding section and an option, each section is composed of a defined range, a monitoring object range and a monitoring object identifier, and each option is composed of a monitoring item and a monitoring threshold;
and the monitoring threshold setting module is used for setting a corresponding monitoring threshold for the monitored object according to each configuration item in the monitoring threshold configuration file.
In an embodiment of the present invention, the monitoring threshold setting module is specifically configured to:
determining the level of a defined range corresponding to each configuration item in the monitoring threshold configuration file;
and setting corresponding monitoring threshold values for the monitored objects step by step according to the level of the defined range corresponding to each configuration item.
In one embodiment of the present invention, the defined range of levels includes a virtual machine level, a cluster level, a data center level, and a default level.
In an embodiment of the present invention, the monitoring threshold setting module is specifically configured to:
searching whether a configuration item with a defined range as a virtual machine level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the virtual machine level;
otherwise, searching whether a configuration item with a defined range as a cluster level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level;
otherwise, searching whether a configuration item with a defined range as a data center level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for a corresponding monitored object according to the configuration item with the defined range as the data center level;
otherwise, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the default level.
In a specific embodiment of the present invention, the information format of the configuration items in the monitoring threshold configuration file is an INI format.
By applying the technical scheme provided by the embodiment of the invention, when a monitoring threshold setting instruction is received, a pre-established monitoring threshold configuration file is obtained, the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section comprises a definition range, a monitoring object range and a monitoring object identifier, each option comprises a monitoring item and a monitoring threshold, and the corresponding monitoring threshold can be set for the monitoring object according to each configuration item in the monitoring threshold configuration file. Therefore, the monitoring threshold values of all the monitored objects can be efficiently set in the cloud system in a centralized manner, the manageability of the monitoring threshold values in the cloud system is improved, the management cost is reduced, and the normal operation of the cloud system is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a method for setting a monitoring threshold in a cloud system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a monitoring threshold setting device in a cloud system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an implementation flowchart of a method for setting a monitoring threshold in a cloud system according to an embodiment of the present invention is shown, where the method includes the following steps:
s110: and receiving a monitoring threshold setting instruction.
In a cloud environment, resource supply is realized in a virtual machine mode, originally dispersed physical computer resources can be integrated into a huge resource pool through a virtualization technology, and inexhaustible computing resources are provided for users. For external users, the virtual machines are indiscriminate, and the users only need to apply for and use the corresponding virtual machines through the network interfaces without being concerned about specific sources of the virtual machines.
In the cloud system, a plurality of virtual machines can be included, a plurality of virtual machines can be constructed into a cluster, and a plurality of clusters can be constructed into a data center. Each virtual machine is provided with resources such as a memory, a CPU (central processing unit), an interface and the like, and the guarantee that the resources such as the memory, the CPU, the interface and the like are in a healthy state is one of important conditions for guaranteeing the normal work of the virtual machine. Therefore, resources such as a memory, a CPU, an interface, and the like, which are monitoring items, need to be monitored, and a monitoring threshold may be set for the monitoring items, so that in the process of monitoring the cloud system, if any monitoring item reaches the monitoring threshold, alarm information is output in time.
When the structure of the cloud system changes, if a virtual machine is added or exits, a corresponding monitoring object in the cloud system also changes, a monitoring threshold of the corresponding monitoring object in the cloud system needs to be set, and operation and maintenance personnel can send a monitoring threshold setting instruction.
After receiving the monitoring threshold setting instruction, the operation of step S120 may be continuously performed.
S120: and acquiring a pre-established monitoring threshold configuration file according to the monitoring threshold setting instruction.
The monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section is composed of a definition range, a monitoring object range and a monitoring object identifier, and each option is composed of a monitoring item and a monitoring threshold.
In the embodiment of the present invention, the monitoring device may provide a monitoring threshold management interface, and a technician creates or modifies a monitoring threshold configuration file according to actual requirements through a command line.
The monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section is composed of a definition range, a monitoring object range and a monitoring object identifier, and each option is composed of a monitoring item and a monitoring threshold. The monitoring threshold configuration file type may be an INI type, and the information format of the configuration items in the monitoring threshold configuration file may be an INI format.
Specifically, the definition range, the monitoring object range and the monitoring object identifier are connected by a colon (: to form a section, and the monitoring item and the monitoring threshold form an option (option).
For example, a configuration item is described as follows:
[CLUSTER:VM:{CLUSTER.id}]
CPU=80
the above description indicates the monitoring thresholds of the CPUs of the virtual machines attributed to the cluster. The defined range is a CLUSTER (CLUSTER), the range of the monitored object is a Virtual Machine (VM), the identification of the monitored object is CLUSTER.id, the monitored object is a virtual machine belonging to CLUSTER.id, the monitoring item is a CPU, and the monitoring threshold is 80.
Specific examples of monitoring threshold profiles are as follows:
[VM:default]
cpu=80,300:90,300
mem=80,300:90,300
storage_read=102400,300:153600,300
storage_write=102400,300:153600,300
interface_read=1024000,300:1228800,300
interface_write=1024000,300:1228800,300
[CLUSTER:VM:6f5ad260-4102-41df-a7f0-f0186307dab0]
cpu=60,300:70,300
the monitoring threshold configuration file is pre-established and can be stored at a set position of the cloud system. Upon receiving a monitoring threshold setting instruction, a monitoring threshold profile may be read at the setting location. In practical application, the monitoring threshold configuration file may be named as a version number, the monitoring threshold setting instruction carries version number information, and the monitoring threshold configuration file of a corresponding version needs to be acquired each time the monitoring threshold is set.
S130: and setting a corresponding monitoring threshold value for the monitored object according to each configuration item in the monitoring threshold value configuration file.
In step S120, after the monitoring threshold configuration file is obtained, each configuration item in the monitoring threshold configuration file is obtained, the monitoring object corresponding to the configuration item is easily obtained from the section of the configuration item, and the monitoring item and the monitoring threshold corresponding to the configuration item are easily obtained from the options of the configuration item.
According to each configuration item in the monitoring threshold configuration file, a corresponding monitoring threshold can be set for the monitored object.
In one embodiment of the present invention, step S130 may include the following steps:
the method comprises the following steps: determining the level of a defined range corresponding to each configuration item in the monitoring threshold configuration file;
step two: and setting corresponding monitoring threshold values for the monitored objects step by step according to the level of the defined range corresponding to each configuration item.
For convenience of description, the above two steps are collectively explained.
After the monitoring threshold configuration file is obtained, the level of the definition range corresponding to the configuration item can be determined through the section contained in the configuration item. In an embodiment of the present invention, the levels defining the scope include a virtual machine level, a cluster level, a data center level, and a default level.
According to the level of the defined range corresponding to each configuration item, a corresponding monitoring threshold value can be set for the monitored object step by step, so that the monitoring threshold value is effective step by step. For example, the monitoring threshold is set in a stepwise manner in the order of the magnitude of the level.
Specifically, whether a configuration item with a definition range of a virtual machine level exists in a monitoring threshold configuration file or not can be searched, namely, a section of [ VM: VM: { VM.id } ] and options in the section are inquired;
if so, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range being the virtual machine level, namely setting a corresponding monitoring threshold value for each monitoring item of the virtual machine belonging to the VM.id, and enabling the corresponding monitoring threshold value to take effect;
otherwise, whether a configuration item with a defined range of a CLUSTER level exists in the monitoring threshold configuration file or not is searched, namely, a [ CLUSTER: VM: { CULUSTER.id } ] section and options in the [ CLUSTER: VM: { CULUSTER.id } ] section are inquired;
if so, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level, namely setting a corresponding monitoring threshold value for each monitoring item of the virtual machine belonging to the CLUSTER.id, and enabling the corresponding monitoring threshold value to take effect;
otherwise, whether a configuration item with a defined range of data center level exists in the monitoring threshold configuration file is searched, namely, the section and the option of [ DATACENTER: VM: { DATACENTER. id } ] are inquired;
if so, setting a corresponding monitoring threshold for the corresponding monitoring object according to the configuration item with the defined range as the data center level, namely setting a corresponding monitoring threshold for each monitoring item of the virtual machine belonging to the DATACENTER.id to enable the corresponding monitoring threshold to take effect;
otherwise, according to the configuration item with the defined range as the default level, setting a corresponding monitoring threshold value for the corresponding monitored object, namely inquiring the [ VM: default ] section and the option, and completing the effect of the corresponding monitoring threshold value.
By applying the method provided by the embodiment of the invention, when a monitoring threshold setting instruction is received, a pre-established monitoring threshold configuration file is obtained, the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section comprises a definition range, a monitoring object range and a monitoring object identifier, each option comprises a monitoring item and a monitoring threshold, and the corresponding monitoring threshold can be set for the monitoring object according to each configuration item in the monitoring threshold configuration file. Therefore, the monitoring threshold values of all the monitored objects can be efficiently set in the cloud system in a centralized manner, the manageability of the monitoring threshold values in the cloud system is improved, the management cost is reduced, and the normal operation of the cloud system is guaranteed.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a device for setting a monitoring threshold in a cloud system, where the device for setting a monitoring threshold in a cloud system described below and the method for setting a monitoring threshold in a cloud system described above may be referred to in a corresponding manner.
Referring to fig. 2, the apparatus includes the following modules:
a setting instruction receiving module 210, configured to receive a monitoring threshold setting instruction;
a configuration file obtaining module 220, configured to obtain a pre-established monitoring threshold configuration file according to a monitoring threshold setting instruction, where the monitoring threshold configuration file includes one or more configuration items, each configuration item includes a corresponding section and an option, each section is composed of a defined range, a monitoring object range and a monitoring object identifier, and each option is composed of a monitoring item and a monitoring threshold;
the monitoring threshold setting module 230 is configured to set a corresponding monitoring threshold for the monitored object according to each configuration item in the monitoring threshold configuration file.
By applying the device provided by the embodiment of the invention, when a monitoring threshold setting instruction is received, a pre-established monitoring threshold configuration file is obtained, the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section comprises a definition range, a monitoring object range and a monitoring object identifier, each option comprises a monitoring item and a monitoring threshold, and the corresponding monitoring threshold can be set for the monitoring object according to each configuration item in the monitoring threshold configuration file. Therefore, the monitoring threshold values of all the monitored objects can be efficiently set in the cloud system in a centralized manner, the manageability of the monitoring threshold values in the cloud system is improved, the management cost is reduced, and the normal operation of the cloud system is guaranteed.
In an embodiment of the present invention, the monitoring threshold setting module 230 is specifically configured to:
determining the level of a defined range corresponding to each configuration item in the monitoring threshold configuration file;
and setting corresponding monitoring threshold values for the monitored objects step by step according to the level of the defined range corresponding to each configuration item.
In one embodiment of the invention, the levels defining the scope include a virtual machine level, a cluster level, a data center level, and a default level.
In an embodiment of the present invention, the monitoring threshold setting module 230 is specifically configured to:
searching whether a configuration item with a defined range as a virtual machine level exists in a monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the virtual machine level;
otherwise, searching whether a configuration item with a defined range as a cluster level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level;
otherwise, searching whether a configuration item with a defined range as a data center level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for a corresponding monitored object according to the configuration item with the defined range as the data center level;
otherwise, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the default level.
In a specific embodiment of the present invention, the information format of the configuration items in the monitoring threshold configuration file is an INI format.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A method for setting a monitoring threshold in a cloud system is characterized by comprising the following steps:
receiving a monitoring threshold setting instruction;
according to the monitoring threshold setting instruction, obtaining a pre-established monitoring threshold configuration file, wherein the monitoring threshold configuration file comprises one or more configuration items, each configuration item comprises a corresponding section and an option, each section consists of a definition range, a monitoring object range and a monitoring object identifier, and each option consists of a monitoring item and a monitoring threshold;
determining the level of a defined range corresponding to each configuration item in the monitoring threshold configuration file;
and setting corresponding monitoring threshold values for the monitored object step by step according to the level of the defined range corresponding to each configuration item and the order of the level.
2. The method as claimed in claim 1, wherein the defined range levels include a virtual machine level, a cluster level, a data center level, and a default level.
3. The method for setting the monitoring threshold in the cloud system according to claim 2, wherein the step-by-step setting the corresponding monitoring threshold for the monitored object according to the level of the defined range corresponding to each configuration item includes:
searching whether a configuration item with a defined range as a virtual machine level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the virtual machine level;
otherwise, searching whether a configuration item with a defined range as a cluster level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level;
otherwise, searching whether a configuration item with a defined range as a data center level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for a corresponding monitored object according to the configuration item with the defined range as the data center level;
otherwise, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the default level.
4. The method for setting the monitoring threshold in the cloud system according to any one of claims 1 to 3, wherein an information format of the configuration items in the monitoring threshold configuration file is an INI format.
5. A monitoring threshold setting device in a cloud system is characterized by comprising:
the setting instruction receiving module is used for receiving a monitoring threshold setting instruction;
a configuration file obtaining module, configured to obtain a pre-established monitoring threshold configuration file according to the monitoring threshold setting instruction, where the monitoring threshold configuration file includes one or more configuration items, each configuration item includes a corresponding section and an option, each section is composed of a defined range, a monitoring object range and a monitoring object identifier, and each option is composed of a monitoring item and a monitoring threshold;
the monitoring threshold setting module is used for determining the level of a definition range corresponding to each configuration item in the monitoring threshold configuration file; and setting corresponding monitoring threshold values for the monitored object step by step according to the level of the defined range corresponding to each configuration item and the order of the level.
6. The cloud system in monitoring threshold setting apparatus of claim 5, wherein said defined range of levels comprises a virtual machine level, a cluster level, a data center level, and a default level.
7. The device for setting the monitoring threshold in the cloud system according to claim 6, wherein the monitoring threshold setting module is specifically configured to:
searching whether a configuration item with a defined range as a virtual machine level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the virtual machine level;
otherwise, searching whether a configuration item with a defined range as a cluster level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the cluster level;
otherwise, searching whether a configuration item with a defined range as a data center level exists in the monitoring threshold configuration file;
if yes, setting a corresponding monitoring threshold value for a corresponding monitored object according to the configuration item with the defined range as the data center level;
otherwise, setting a corresponding monitoring threshold value for the corresponding monitored object according to the configuration item with the defined range as the default level.
8. The cloud system monitoring threshold setting device of any one of claims 5 to 7, wherein the information format of the configuration items in the monitoring threshold configuration file is an INI format.
CN201710090014.0A 2017-02-20 2017-02-20 Method and device for setting monitoring threshold in cloud system Active CN106886477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710090014.0A CN106886477B (en) 2017-02-20 2017-02-20 Method and device for setting monitoring threshold in cloud system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710090014.0A CN106886477B (en) 2017-02-20 2017-02-20 Method and device for setting monitoring threshold in cloud system

Publications (2)

Publication Number Publication Date
CN106886477A CN106886477A (en) 2017-06-23
CN106886477B true CN106886477B (en) 2021-06-29

Family

ID=59179904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710090014.0A Active CN106886477B (en) 2017-02-20 2017-02-20 Method and device for setting monitoring threshold in cloud system

Country Status (1)

Country Link
CN (1) CN106886477B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067572A (en) * 2018-07-25 2018-12-21 郑州云海信息技术有限公司 Method, device and equipment based on order edlin SNMP configuration file
CN111080834A (en) * 2019-10-31 2020-04-28 北京航天自动控制研究所 Method for configuring criteria for polling data of test and launch control software by using index
CN112367224A (en) * 2020-11-11 2021-02-12 全球能源互联网研究院有限公司 Terminal monitoring device, system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020545A (en) * 2012-12-21 2013-04-03 浪潮电子信息产业股份有限公司 Over-temperature protection method based on Loongson processor
CN105516293A (en) * 2015-12-03 2016-04-20 国家电网公司 Cloud resource monitoring system of intelligent substation
CN105592122A (en) * 2014-11-03 2016-05-18 中国银联股份有限公司 Cloud platform monitoring method and cloud platform monitoring system
CN106100938A (en) * 2016-08-19 2016-11-09 浪潮(北京)电子信息产业有限公司 The monitoring of a kind of distributed cluster system and alarm method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410535B (en) * 2014-12-23 2018-03-30 浪潮电子信息产业股份有限公司 A kind of cloud resource intelligent monitoring alarm method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020545A (en) * 2012-12-21 2013-04-03 浪潮电子信息产业股份有限公司 Over-temperature protection method based on Loongson processor
CN105592122A (en) * 2014-11-03 2016-05-18 中国银联股份有限公司 Cloud platform monitoring method and cloud platform monitoring system
CN105516293A (en) * 2015-12-03 2016-04-20 国家电网公司 Cloud resource monitoring system of intelligent substation
CN106100938A (en) * 2016-08-19 2016-11-09 浪潮(北京)电子信息产业有限公司 The monitoring of a kind of distributed cluster system and alarm method and system

Also Published As

Publication number Publication date
CN106886477A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
EP3606008B1 (en) Method and device for realizing resource scheduling
US10680896B2 (en) Virtualized network function monitoring
US9003239B2 (en) Monitoring and resolving deadlocks, contention, runaway CPU and other virtual machine production issues
US10324754B2 (en) Managing virtual machine patterns
CN109992350B (en) Migration method and device for virtual machines in resource pool of cloud computing system
US10063644B1 (en) Managing operation of instances
CN106886477B (en) Method and device for setting monitoring threshold in cloud system
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
US11381451B2 (en) Methods, systems, and computer readable mediums for selecting and configuring a computing system to support a replicated application
US20180288142A1 (en) Managing idle and active servers in cloud data centers
CN110554917A (en) method, system, terminal and storage medium for efficiently traversing large data volume set
US20240007346A1 (en) Method and Apparatus for Monitoring Application Service, Electronic Device, and Readable Storage Medium
CN109257249A (en) A kind of network interface card stability test method, apparatus, terminal and storage medium
WO2018063668A1 (en) Techniques to determine and mitigate latency in virtual environments
CN105354127A (en) Cloud management platform based monitoring method
US20200272526A1 (en) Methods and systems for automated scaling of computing clusters
CN111078353A (en) Operation method of storage equipment and physical server
CN108234551B (en) Data processing method and device
US20170302588A1 (en) Method and apparatus for provisioning of resources to support applications and their varying demands
CN107704362A (en) A kind of method and device based on Ambari monitoring big data components
CN106330595B (en) Heartbeat detection method and device for distributed platform
CN104657216A (en) Resource allocation method and device for resource pool
CN115951845A (en) Disk management method, device, equipment and storage medium
CN115495151A (en) Rule engine migration method, device, equipment, storage medium and program product
CN111124890A (en) Distributed database performance test method, system, terminal and storage medium

Legal Events

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