CN106886477A - Threshold setting method and device are monitored in a kind of cloud system - Google Patents

Threshold setting method and device are monitored in a kind of cloud system Download PDF

Info

Publication number
CN106886477A
CN106886477A CN201710090014.0A CN201710090014A CN106886477A CN 106886477 A CN106886477 A CN 106886477A CN 201710090014 A CN201710090014 A CN 201710090014A CN 106886477 A CN106886477 A CN 106886477A
Authority
CN
China
Prior art keywords
threshold value
monitoring threshold
definition
range
monitored
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.)
Granted
Application number
CN201710090014.0A
Other languages
Chinese (zh)
Other versions
CN106886477B (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

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 threshold setting method is monitored in a kind of cloud system, the method is comprised the following steps:Receive monitoring threshold value setting instruction;According to monitoring threshold value setting instruction, the monitoring threshold value configuration file that acquisition pre-builds, one or more configuration items are included in monitoring threshold value configuration file, each configuration item includes corresponding section and option, each section is made up of the range of definition, monitored object scope and monitored object mark, and each option is made up of monitored item and monitoring threshold value;It is the corresponding monitoring threshold value of monitored object setting according to each configuration item in monitoring threshold value configuration file.The technical scheme provided using the embodiment of the present invention, monitoring threshold value that can be expeditiously to each monitored object in cloud system carries out concentration setting, improves the manageability of monitoring threshold value in cloud system, reduces management cost, ensures the normal operation of cloud system.The invention also discloses threshold value setting device is monitored in a kind of cloud system, with relevant art effect.

Description

Threshold setting method and device are monitored in a kind of cloud system
Technical field
The present invention relates to field of cloud computer technology, threshold setting method and dress are monitored in more particularly to a kind of cloud system Put.
Background technology
With the fast development of cloud computing technology, monitoring resource is gradually transitioned into cloud system from traditional single host monitoring resource The complicated resource monitoring of virtual machine, cluster, cloud data center rank in system, monitoring threshold value is continuously increased so as to monitoring threshold value Setting become increasingly complex.
Mostly at present is that the monitoring threshold value of each monitored object is set, it is necessary to be expended more manually by technical staff Time and efforts, management cost is higher, and error rate is higher, easily influence cloud system normal operation.
The content of the invention
It is an object of the invention to provide threshold setting method and device is monitored in a kind of cloud system, with expeditiously in cloud system Monitoring threshold value in system to each monitored object carries out concentration setting, improves the manageability of monitoring threshold value in cloud system, reduces pipe Reason cost, ensures the normal operation of cloud system.
In order to solve the above technical problems, the present invention provides following technical scheme:
Threshold setting method is monitored in a kind of cloud system, including:
Receive monitoring threshold value setting instruction;
According to the monitoring threshold value setting instruction, the monitoring threshold value configuration file that acquisition pre-builds, the monitoring threshold value One or more configuration items are included in configuration file, each configuration item includes corresponding section and option, each section by the range of definition, Monitored object scope and monitored object mark are constituted, and each option is made up of monitored item and monitoring threshold value;
It is the corresponding monitoring threshold value of monitored object setting according to each configuration item in the monitoring threshold value configuration file.
It is described according to each configuration in the monitoring threshold value configuration file in a kind of specific embodiment of the invention , it is the corresponding monitoring threshold value of monitored object setting, including:
Determine the rank of the corresponding range of definition of each configuration item in the monitoring threshold value configuration file;
It is that monitored object sets corresponding monitoring threshold value step by step according to the rank of the corresponding range of definition of each configuration item.
In a kind of specific embodiment of the invention, the rank of the range of definition includes virtual machine level, cluster level Not, data center's rank and default level.
In a kind of specific embodiment of the invention, the rank according to the corresponding range of definition of each configuration item, Set corresponding monitoring threshold value step by step for monitored object, including:
Whether there is the range of definition in the lookup monitoring threshold value configuration file is the other configuration item of virtual machine-level;
It is the corresponding corresponding prison of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Control threshold value;
Otherwise, with the presence or absence of the configuration item that the range of definition is cluster rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition Threshold value;
Otherwise, with the presence or absence of the configuration that the range of definition is data center's rank in the lookup monitoring threshold value configuration file ;
It is that corresponding monitored object setting is corresponding if it is, being the configuration item of data center's rank according to the range of definition Monitoring threshold value;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting.
In a kind of specific embodiment of the invention, the information format of the configuration item in the monitoring threshold value configuration file It is INI forms.
Threshold value setting device is monitored in a kind of cloud system, including:
Setting command reception module, for receiving monitoring threshold value setting instruction;
Configuration file obtains module, for according to the monitoring threshold value setting instruction, the monitoring threshold value that acquisition pre-builds Configuration file, includes one or more configuration items in the monitoring threshold value configuration file, each configuration item comprising corresponding section and Option, each section is made up of the range of definition, monitored object scope and monitored object mark, and each option is by monitored item and monitoring threshold Value is constituted;
Monitoring threshold value setting module, it is right to monitor for each configuration item in the monitoring threshold value configuration file As the corresponding monitoring threshold value of setting.
In a kind of specific embodiment of the invention, the monitoring threshold value setting module, specifically for:
Determine the rank of the corresponding range of definition of each configuration item in the monitoring threshold value configuration file;
It is that monitored object sets corresponding monitoring threshold value step by step according to the rank of the corresponding range of definition of each configuration item.
In a kind of specific embodiment of the invention, the rank of the range of definition includes virtual machine level, cluster level Not, data center's rank and default level.
In a kind of specific embodiment of the invention, the monitoring threshold value setting module, specifically for:
Whether there is the range of definition in the lookup monitoring threshold value configuration file is the other configuration item of virtual machine-level;
It is the corresponding corresponding prison of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Control threshold value;
Otherwise, with the presence or absence of the configuration item that the range of definition is cluster rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition Threshold value;
Otherwise, with the presence or absence of the configuration that the range of definition is data center's rank in the lookup monitoring threshold value configuration file ;
It is that corresponding monitored object setting is corresponding if it is, being the configuration item of data center's rank according to the range of definition Monitoring threshold value;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting.
In a kind of specific embodiment of the invention, the information format of the configuration item in the monitoring threshold value configuration file It is INI forms.
The technical scheme provided using the embodiment of the present invention, when monitoring threshold value setting instruction is received, obtains advance The monitoring threshold value configuration file of foundation, one or more configuration items are included in monitoring threshold value configuration file, and each configuration item is included Corresponding section and option, each section are made up of the range of definition, monitored object scope and monitored object mark, and each option is by monitoring Item and monitoring threshold value are constituted, and can be that monitored object setting is corresponding according to each configuration item in monitoring threshold value configuration file Monitoring threshold value.So, monitoring threshold value that can be expeditiously to each monitored object in cloud system carries out concentration setting, improves cloud The manageability of threshold value is monitored in system, management cost is reduced, the normal operation of cloud system is ensured.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the implementing procedure figure of monitoring threshold setting method in a kind of cloud system in the embodiment of the present invention;
Fig. 2 is the structural representation of monitoring threshold value setting device in a kind of cloud system in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
It is shown in Figure 1, the implementation of threshold setting method is provided in a kind of cloud system provided by the embodiment of the present invention Flow chart, the method may comprise steps of:
S110:Receive monitoring threshold value setting instruction.
Under cloud environment, resource provisioning is realized in virtual machine form, can be disperseed script by Intel Virtualization Technology Physical computer resource consolidation into huge resource pool, provide the user the computing resource of " inexhaustible ".It is right For external user, virtual machine is indiscriminate, as long as user is by network interface application and using corresponding virtual machine Can, it is not necessary to be concerned about the specific source of these virtual machines.
In cloud system, several virtual machines can be included, multiple virtual machines can be built into a cluster, multiple clusters Data center can be built into.Each virtual machine has the resources such as internal memory, CPU, interface respectively, ensures internal memory, CPU, interface etc. Resource is in one of essential condition that health status is guarantee virtual machine normal work.So needing to internal memory, CPU, interface etc. Resource is monitored, and these are monitored item, can be these monitored item setting monitoring threshold value, is monitored with to cloud system During, when reaching monitoring threshold value if monitored item, timely outputting alarm information.
Changed a lot in the structure of cloud system, added if any virtual machine, or when thering is virtual machine to exit, in cloud system Corresponding monitored object will also change, it is necessary to be set to the monitoring threshold value of corresponding monitored object in cloud system, fortune Dimension personnel can send monitoring threshold value setting instruction.
After receiving monitoring threshold value setting instruction, the operation of step S120 can be continued executing with.
S120:According to monitoring threshold value setting instruction, the monitoring threshold value configuration file that acquisition pre-builds.
One or more configuration items are included in monitoring threshold value configuration file, each configuration item includes corresponding section and option, Each section is made up of the range of definition, monitored object scope and monitored object mark, and each option is by monitored item and monitoring threshold value structure Into.
In embodiments of the present invention, monitoring device can provide monitoring threshold management interface, by technical staff according to reality Demand is created or modification monitoring threshold value configuration file by order line.
One or more configuration items are included in monitoring threshold value configuration file, each configuration item includes corresponding section and option, Each section is made up of the range of definition, monitored object scope and monitored object mark, and each option is by monitored item and monitoring threshold value structure Into.Monitoring threshold value configuration file type can be INI types, and the information format of the configuration item in monitoring threshold value configuration file can be with It is INI forms.
Specifically, the range of definition, monitored object scope and monitored object mark by colon (:) connect and compose section (section), monitored item and monitoring threshold value constitute option (option).
Such as, certain configuration item is described as follows:
[CLUSTER:VM:{CLUSTER.id}]
CPU=80
Foregoing description shows the monitoring of the CPU of the virtual machine for belonging to CLUSTER.id configured under cluster definition scope Threshold value.The range of definition is cluster (CLUSTER), and monitored object scope is virtual machine (VM), and monitored object is designated CLUSTER.id, monitored object is the virtual machine for belonging to CLUSTER.id, and monitored item is CPU, and monitoring threshold value is 80.
The instantiation for monitoring threshold value configuration file is 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
Monitor threshold value configuration file to pre-build, the setting position of cloud system can be stored in.Receiving prison During control threshold value setting instruction, monitoring threshold value configuration file can be read in the setting position.In actual applications, threshold is monitored Value configuration file can be named with version number, version number information be carried in monitoring threshold value setting instruction, every time to monitoring threshold value Setting need to obtain the monitoring threshold value configuration file of respective version.
S130:It is the corresponding monitoring threshold value of monitored object setting according to each configuration item in monitoring threshold value configuration file.
In step S120, after obtaining monitoring threshold value configuration file, that is, each obtained in monitoring threshold value configuration file is matched somebody with somebody Item is put, the monitored object corresponding to the configuration item is readily obtained from the section of configuration item, be readily obtained from the option of configuration item Monitored item and monitoring threshold value corresponding to the configuration item.
Can be the corresponding monitoring threshold value of monitored object setting according to each configuration item in monitoring threshold value configuration file.
In a kind of specific embodiment of the invention, step S130 may comprise steps of:
Step one:It is determined that monitoring the rank of the corresponding range of definition of each configuration item in threshold value configuration file;
Step 2:It is that monitored object sets corresponding prison step by step according to the rank of the corresponding range of definition of each configuration item Control threshold value.
For ease of description, above-mentioned two set of steps is got up to illustrate.
After obtaining monitoring threshold value configuration file, the section included by configuration item can determine the corresponding range of definition of configuration item Rank.In embodiments of the present invention, the rank of the range of definition include virtual machine level, cluster rank, data center's rank and Default level.
According to the rank of the corresponding range of definition of each configuration item, corresponding monitoring threshold can be step by step set for monitored object Value so that monitoring threshold value comes into force step by step.Such as monitoring threshold value is set step by step according to the small big order of rank.
Specifically, whether there is the range of definition in can first searching monitoring threshold value configuration file is the other configuration of virtual machine-level , that is, inquire about [VM:VM:{ VM.id }] save and option therein;
It is the corresponding corresponding prison of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Control threshold value, as belongs to the corresponding monitoring threshold value of each monitored item setting of the virtual machine of VM.id, makes accordingly to monitor threshold value life Effect;
Otherwise, inquired about with the presence or absence of the configuration item that the range of definition is cluster rank in lookup monitoring threshold value configuration file [CLUSTER:VM:{ CULUSTER.id }] save and option therein;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition Threshold value, as belongs to the corresponding monitoring threshold value of each monitored item setting of the virtual machine of CLUSTER.id, makes accordingly to monitor threshold value Come into force;
Otherwise, it is the configuration item of data center's rank the range of definition to be whether there is in lookup monitoring threshold value configuration file, i.e., Inquiry [DATACENTER:VM:{ DATACENTER.id }] save and option;
It is that corresponding monitored object setting is corresponding if it is, being the configuration item of data center's rank according to the range of definition Monitoring threshold value, as belongs to the corresponding monitoring threshold value of each monitored item setting of the virtual machine of DATACENTER.id, makes corresponding prison Control threshold value comes into force;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting, Inquire about [VM:Default] save and option, complete coming into force for corresponding monitoring threshold value.
The method provided using the embodiment of the present invention, when monitoring threshold value setting instruction is received, is pre-build Monitoring threshold value configuration file, one or more configuration items are included in monitoring threshold value configuration file, each configuration item is comprising corresponding Section and option, each section is made up of the range of definition, monitored object scope and monitored object mark, each option by monitored item and Monitoring threshold value is constituted, and can be the corresponding monitoring of monitored object setting according to each configuration item in monitoring threshold value configuration file Threshold value.So, monitoring threshold value that can be expeditiously to each monitored object in cloud system carries out concentration setting, improves cloud system The manageability of middle monitoring threshold value, reduces management cost, ensures the normal operation of cloud system.
Corresponding to above method embodiment, the embodiment of the present invention monitors threshold value setting dress in additionally providing a kind of cloud system Put, threshold value setting device is monitored in a kind of cloud system described below and is set with monitoring threshold value in a kind of above-described cloud system Method can be mutually to should refer to.
Shown in Figure 2, the device is included with lower module:
Setting command reception module 210, for receiving monitoring threshold value setting instruction;
Configuration file obtains module 220, for according to monitoring threshold value setting instruction, the monitoring threshold value that acquisition pre-builds to be matched somebody with somebody File is put, one or more configuration items are included in monitoring threshold value configuration file, each configuration item includes corresponding section and option, often Individual section is made up of the range of definition, monitored object scope and monitored object mark, and each option is made up of monitored item and monitoring threshold value;
Monitoring threshold value setting module 230, is monitored object for each configuration item in monitoring threshold value configuration file The corresponding monitoring threshold value of setting.
The device provided using the embodiment of the present invention, when monitoring threshold value setting instruction is received, is pre-build Monitoring threshold value configuration file, one or more configuration items are included in monitoring threshold value configuration file, each configuration item is comprising corresponding Section and option, each section is made up of the range of definition, monitored object scope and monitored object mark, each option by monitored item and Monitoring threshold value is constituted, and can be the corresponding monitoring of monitored object setting according to each configuration item in monitoring threshold value configuration file Threshold value.So, monitoring threshold value that can be expeditiously to each monitored object in cloud system carries out concentration setting, improves cloud system The manageability of middle monitoring threshold value, reduces management cost, ensures the normal operation of cloud system.
In a kind of specific embodiment of the invention, monitoring threshold value setting module 230, specifically for:
It is determined that monitoring the rank of the corresponding range of definition of each configuration item in threshold value configuration file;
It is that monitored object sets corresponding monitoring threshold value step by step according to the rank of the corresponding range of definition of each configuration item.
In a kind of specific embodiment of the invention, the rank of the range of definition includes virtual machine level, cluster rank, number According to center rank and default level.
In a kind of specific embodiment of the invention, monitoring threshold value setting module 230, specifically for:
Whether there is the range of definition in lookup monitoring threshold value configuration file is the other configuration item of virtual machine-level;
It is the corresponding corresponding prison of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Control threshold value;
Otherwise, with the presence or absence of the configuration item that the range of definition is cluster rank in lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition Threshold value;
Otherwise, with the presence or absence of the configuration item that the range of definition is data center's rank in lookup monitoring threshold value configuration file;
It is that corresponding monitored object setting is corresponding if it is, being the configuration item of data center's rank according to the range of definition Monitoring threshold value;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting.
In a kind of specific embodiment of the invention, the information format of the configuration item in monitoring threshold value configuration file is INI forms.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.For being filled disclosed in embodiment For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part Illustrate.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, directly can be held with hardware, processor Capable software module, or the two combination is implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In field in known any other form of storage medium.
Specific case used herein is set forth to principle of the invention and implementation method, and above example is said It is bright to be only intended to help and understand technical scheme and its core concept.It should be pointed out that common for the art For technical staff, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these Improve and modification is also fallen into the protection domain of the claims in the present invention.

Claims (10)

1. threshold setting method is monitored in a kind of cloud system, it is characterised in that including:
Receive monitoring threshold value setting instruction;
According to the monitoring threshold value setting instruction, the monitoring threshold value configuration file that acquisition pre-builds, the monitoring threshold value configuration One or more configuration items are included in file, each configuration item includes corresponding section and option, and each section is by the range of definition, monitoring Object range and monitored object mark are constituted, and each option is made up of monitored item and monitoring threshold value;
It is the corresponding monitoring threshold value of monitored object setting according to each configuration item in the monitoring threshold value configuration file.
2. threshold setting method is monitored in cloud system according to claim 1, it is characterised in that described according to the monitoring Each configuration item in threshold value configuration file, is the corresponding monitoring threshold value of monitored object setting, including:
Determine the rank of the corresponding range of definition of each configuration item in the monitoring threshold value configuration file;
It is that monitored object sets corresponding monitoring threshold value step by step according to the rank of the corresponding range of definition of each configuration item.
3. threshold setting method is monitored in cloud system according to claim 2, it is characterised in that the level of the range of definition Bao Kuo not virtual machine level, cluster rank, data center's rank and default level.
4. threshold setting method is monitored in cloud system according to claim 3, it is characterised in that described according to each configuration The rank of the corresponding range of definition of item, is that monitored object sets corresponding monitoring threshold value step by step, including:
Whether there is the range of definition in the lookup monitoring threshold value configuration file is the other configuration item of virtual machine-level;
It is the corresponding corresponding monitoring threshold of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Value;
Otherwise, with the presence or absence of the configuration item that the range of definition is cluster rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring threshold value of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition;
Otherwise, with the presence or absence of the configuration item that the range of definition is data center's rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of data center's rank according to the range of definition Threshold value;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting.
5. threshold setting method is monitored in the cloud system according to any one of Claims 1-4, it is characterised in that the prison The information format of the configuration item in control threshold value configuration file is INI forms.
6. threshold value setting device is monitored in a kind of cloud system, it is characterised in that including:
Setting command reception module, for receiving monitoring threshold value setting instruction;
Configuration file obtains module, for according to the monitoring threshold value setting instruction, the monitoring threshold value configuration that acquisition pre-builds File, includes one or more configuration items in the monitoring threshold value configuration file, each configuration item includes corresponding section and option, Each section is made up of the range of definition, monitored object scope and monitored object mark, and each option is by monitored item and monitoring threshold value structure Into;
Monitoring threshold value setting module, is that monitored object sets for each configuration item in the monitoring threshold value configuration file Fixed corresponding monitoring threshold value.
7. threshold value setting device is monitored in cloud system according to claim 6, it is characterised in that the monitoring threshold value setting Module, specifically for:
Determine the rank of the corresponding range of definition of each configuration item in the monitoring threshold value configuration file;
It is that monitored object sets corresponding monitoring threshold value step by step according to the rank of the corresponding range of definition of each configuration item.
8. threshold value setting device is monitored in cloud system according to claim 7, it is characterised in that the level of the range of definition Bao Kuo not virtual machine level, cluster rank, data center's rank and default level.
9. threshold value setting device is monitored in cloud system according to claim 8, it is characterised in that the monitoring threshold value setting Module, specifically for:
Whether there is the range of definition in the lookup monitoring threshold value configuration file is the other configuration item of virtual machine-level;
It is the corresponding corresponding monitoring threshold of monitored object setting if it is, being the other configuration item of virtual machine-level according to the range of definition Value;
Otherwise, with the presence or absence of the configuration item that the range of definition is cluster rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring threshold value of monitored object setting if it is, being the configuration item of cluster rank according to the range of definition;
Otherwise, with the presence or absence of the configuration item that the range of definition is data center's rank in the lookup monitoring threshold value configuration file;
It is the corresponding corresponding monitoring of monitored object setting if it is, being the configuration item of data center's rank according to the range of definition Threshold value;
Otherwise, it is the configuration item of default level according to the range of definition, is the corresponding corresponding monitoring threshold value of monitored object setting.
10. threshold value setting device is monitored in the cloud system according to any one of claim 6 to 9, it is characterised in that the prison The information format of the configuration item in control threshold value configuration file is INI forms.
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 true CN106886477A (en) 2017-06-23
CN106886477B 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)

Cited By (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 (5)

* 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
CN104410535A (en) * 2014-12-23 2015-03-11 浪潮电子信息产业股份有限公司 Intelligent monitoring and alarming method for cloud resources
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

Patent Citations (5)

* 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
CN104410535A (en) * 2014-12-23 2015-03-11 浪潮电子信息产业股份有限公司 Intelligent monitoring and alarming method for cloud resources
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

Cited By (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

Also Published As

Publication number Publication date
CN106886477B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US10255096B2 (en) Temporal dynamic virtual machine policies
US7483978B2 (en) Providing a unified user interface for managing a plurality of heterogeneous computing environments
CN102789305B (en) Postponing suspend
US9582221B2 (en) Virtualization-aware data locality in distributed data processing
EP3579110A1 (en) Performance testing platform that enables reuse of automation scripts and performance testing scalability
TWI493331B (en) Power optimization via virtualization opportunity
CN104486255A (en) Service resource dispatching method and device
CN107632937B (en) Method and device for testing virtual machine cluster and readable storage medium
US10255124B1 (en) Determining abnormal conditions of host state from log files through Markov modeling
CN103458020A (en) Method and system for monitoring cloud platform based on XCP
CN106886477A (en) Threshold setting method and device are monitored in a kind of cloud system
CN104462612A (en) Method and device for monitoring database information
CN116304233A (en) Telemetry target query injection for enhanced debugging in a micro-service architecture
EP4085336B1 (en) Computer resource leak detection
CN102541620B (en) Seamless application integrated equipment and method
CN109710474A (en) A kind of hard disk fault detection method, device, terminal and readable storage medium storing program for executing
CN104391736B (en) The park mode method to set up and device of virtual machine
CN106227550A (en) Generation method, system and the computer of a kind of Internationalized Graphical User Interface
US20210191798A1 (en) Root cause identification of a problem in a distributed computing system using log files
CN113687779B (en) Data migration method, device, electronic equipment and readable storage medium
CN103729166A (en) Method, device and system for determining thread relation of program
CN113608684B (en) Memory information acquisition method, device and system, electronic equipment and storage medium
CN107528871A (en) Data analysis in storage system
CN104717175B (en) The processing method and system of virtual desktop
CN110908783A (en) Management and control method, system and equipment for virtual machine of cloud data center

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