CN106095641A - A kind of monitoring methods, devices and systems - Google Patents

A kind of monitoring methods, devices and systems Download PDF

Info

Publication number
CN106095641A
CN106095641A CN201610408925.9A CN201610408925A CN106095641A CN 106095641 A CN106095641 A CN 106095641A CN 201610408925 A CN201610408925 A CN 201610408925A CN 106095641 A CN106095641 A CN 106095641A
Authority
CN
China
Prior art keywords
monitor control
control index
monitoring
monitored object
unit
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.)
Pending
Application number
CN201610408925.9A
Other languages
Chinese (zh)
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610408925.9A priority Critical patent/CN106095641A/en
Publication of CN106095641A publication Critical patent/CN106095641A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a kind of monitoring methods, devices and systems, this monitoring method is by definition monitor control index template, determine at least one monitored object, according to monitor control index template, build at least one corresponding monitor control index script for each monitored object, run at least one monitor control index script, determine at least one monitor control index of correspondence for each monitored object, according at least one monitor control index, gather state and the service condition of each monitored object.The scheme that the present invention provides achieves the extension to monitor control index.

Description

A kind of monitoring methods, devices and systems
Technical field
The present invention relates to field of computer technology, monitor methods, devices and systems particularly to one.
Background technology
In server, cluster or cloud platform running, it is often necessary to various services, assembly and resource are supervised Control, to ensure that in server, cluster or cloud platform, various services, assembly and resource are properly functioning.
At present, monitoring device is on stream it has been determined that got well the prison monitored under classification and each monitoring classification Control index, by for service, assembly or resource distribution monitoring classification, it is achieved monitor, wherein, although different service, assembly or The performance indications paid close attention between resource are often not quite similar, but different services, assembly or the money under same monitoring classification Monitor control index corresponding to source is identical.Therefore, existing monitor mode, it is impossible to according to service, assembly or the diversity of resource, to prison Control index is extended.
Summary of the invention
Embodiments provide a kind of monitoring methods, devices and systems, it is achieved that the extension to monitor control index.
A kind of monitoring method, defines monitor control index template, also includes:
Determine at least one monitored object;
According to described monitor control index template, build at least one corresponding monitor control index script for each monitored object;
Run at least one monitor control index script described, determine that for each monitored object at least one monitoring of correspondence refers to Mark;
According at least one monitor control index described, gather state and the service condition of each monitored object.
Preferably, above-mentioned monitoring method farther includes: define at least one monitoring class;
Described according to described monitor control index template, build at least one corresponding monitor control index foot for each monitored object This, run at least one monitor control index script described, determines at least one monitor control index of correspondence, bag for each monitored object Include:
According to described monitor control index template, build at least two monitor control index script;
Run described at least two monitor control index script, define at least two monitor control index;
For at least one monitor control index that each monitoring class distribution is corresponding;
Monitored object any at least one monitored object described is assigned under corresponding monitoring class;
At least one monitor control index described in described basis, gathers state and the service condition of each monitored object, including: According to the monitor control index under monitoring class, the state of each monitored object and service condition under acquisition monitoring class.
Preferably, above-mentioned monitoring method farther includes:
When receiving the request adding new monitored object, according to the attribute of described new monitored object, it may be judged whether There is the target monitoring class mated with described new monitored object, if it is, described new monitored object is assigned to target Under monitoring class, according to the monitor control index under target monitoring class, gather state and the service condition of new monitored object, otherwise, for The monitoring class that described new monitored object definition is new, and be the monitor control index of described new monitoring class distribution correspondence.
Preferably, above-mentioned monitoring method farther includes: definition monitoring gathers specification;
Gather specification according to described monitoring, receive and run self-defined monitoring agent program;
The state of described each monitored object of collection and service condition, including: utilize described self-defining monitoring agent Program, gathers state and the service condition of each monitored object.
Preferably, above-mentioned monitoring method is applied to monitor cloud platform system;
Described monitored object, including: any one or more in service, assembly and resource in cloud platform system;
Farther include: when the monitoring request that the equipment beyond described cloud platform system that receives sends, according to described Monitoring request, determines at least one monitor control index of correspondence, gathers the prison in described equipment for the monitored object in described equipment The state of control object and service condition.
Preferably, above-mentioned monitoring method farther includes: arrange message queue;
The state of monitored object and service condition to gathering are encrypted, and by the transmission encryption of described message queue after The state of monitored object and service condition.
A kind of supervising device, including: unit is set, determines construction unit and collecting unit, wherein,
Described unit is set, is used for defining monitor control index template;
Described determine construction unit, be used for determining at least one monitored object, according to the described monitoring arranging unit definition Indicator template, builds at least one corresponding monitor control index script for each monitored object, runs at least one monitoring described Index script, determines at least one monitor control index of correspondence for each monitored object;
Described collecting unit, for according to described at least one monitor control index determining that construction unit determines, gathers each The state of individual monitored object and service condition.
Preferably, described unit is set, is further used for defining at least one monitoring class;
Described determine construction unit, for according to the described monitor control index template arranging unit definition, building at least two Monitor control index script;Run described at least two monitor control index script, define at least two monitor control index;For described, list is set At least one monitor control index that each of unit's definition monitoring class distribution is corresponding;At least one monitored object described arbitrarily will be supervised Control object is assigned under corresponding monitoring class;
Described collecting unit, for according to described at least one monitoring determining that construction unit is each monitoring class distribution Index, gathers the described state and service condition determining that construction unit is each monitored object that each monitoring class is distributed.
Preferably, described unit is set, is further used for definition monitoring and gathers specification;
Described collecting unit, is further used for arranging, according to described, the monitoring collection specification that unit is arranged, receives and run Self-defined monitoring agent program, utilizes described self-defining monitoring agent program, gather each monitored object state and Service condition.
Preferably, described determine construction unit, be further used for when receiving the request adding new monitored object, for Described new monitored object distribution and the target monitoring class of described new monitored object attributes match.
Preferably, described unit is set, is further used for as the new monitoring class of described new monitored object definition;
Described determine construction unit, be further used for the prison for the described new monitoring class distribution correspondence arranging unit definition Control index.
Preferably, above-mentioned supervising device is connected with at least one cloud platform and at least one equipment of peripheral hardware, is used for monitoring Any one or more in service, assembly and resource at least one cloud platform of peripheral hardware and at least one equipment.
Preferably, above-mentioned supervising device farther includes: ciphering unit and transmission unit, wherein,
Described ciphering unit, for adding state and the service condition of the monitored object that described collecting unit collects Close;
Described transmission unit, is used for arranging message queue, and transmits the encryption of described ciphering unit by described message queue After the state of monitored object and service condition.
A kind of monitoring system, including: any one supervising device above-mentioned, at least one cloud platform and at least one equipment, Wherein,
Described supervising device, any one or more with at least one cloud platform described and at least one equipment is connected, For monitoring the monitored object at least one cloud platform described and at least one equipment, described monitored object, including: service, Any one or more in assembly and resource.
Embodiments providing a kind of monitoring methods, devices and systems, this monitoring method is by definition monitor control index Template, according to monitor control index template, building at least one corresponding monitor control index script, i.e. user for each monitored object can Monitor control index script is set with the demand according to monitored object, by running at least one monitor control index script, supervises for each Control object determines at least one monitor control index of correspondence;According at least one monitor control index, gather the shape of each monitored object State and service condition, owing to can build monitor control index script according to monitor control index template, form the monitor control index of monitored object, So, user can build monitor control index by monitor control index script, it is achieved that the expansion to monitor control index according to the demand of oneself Exhibition.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to These accompanying drawings obtain other accompanying drawing.
Fig. 1 is a kind of flow chart monitoring method that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart monitoring method that another embodiment of the present invention provides;
Fig. 3 is a kind of flow chart monitoring method that another embodiment of the present invention provides;
Fig. 4 is a kind of flow chart monitoring method that another embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of supervising device place framework that one embodiment of the invention provides;
Fig. 6 is the structural representation of a kind of supervising device that one embodiment of the invention provides;
Fig. 7 is the structural representation of a kind of monitoring system that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, embodiments provide a kind of monitoring method, the method may comprise steps of:
Step 101: definition monitor control index template;
Step 102: determine at least one monitored object;
Step 103: according to monitor control index template, build at least one corresponding monitor control index foot for each monitored object This;
Step 104: run at least one monitor control index script, determines at least one prison of correspondence for each monitored object Control index;
Step 105: according at least one monitor control index, gather state and the service condition of each monitored object.
In the embodiment illustrated in fig. 1, by definition monitor control index template, according to monitor control index template, supervise for each Control object builds at least one corresponding monitor control index script, i.e. user can arrange monitor control index according to the demand of monitored object Script, by running at least one monitor control index script, determines at least one monitor control index of correspondence for each monitored object; According at least one monitor control index, gather state and the service condition of each monitored object, due to can be according to monitor control index Template builds monitor control index script, forms the monitor control index of monitored object, then, user can pass through according to the demand of oneself Monitor control index script builds monitor control index, it is achieved that the extension to monitor control index.
In an embodiment of the invention, in order to the monitoring more specification to monitored object, monitor control index is prevented Repeatedly setting, said method farther includes: define at least one monitoring class;Step 103 and the specific embodiment party of step 104 Formula, including: according to monitor control index template, build at least two monitor control index script;Run at least two monitor control index script, fixed Justice goes out at least two monitor control index;For at least one monitor control index that each monitoring class distribution is corresponding;At least one is monitored Under in object, any monitored object is assigned to corresponding monitoring class;The detailed description of the invention of step 105, including: according under monitoring class Monitor control index, the state of each monitored object and service condition under acquisition monitoring class.Such as: define monitoring class 1 and prison Control class 2, and by monitor control index script construct monitor control index 1, monitor control index 2, monitor control index 3, monitor control index 4 and monitor refer to Mark 5, and distribute monitor control index 1, monitor control index 2 and monitor control index 3 for monitoring class 1, distribute monitor control index 1, monitoring for monitoring class 2 Index 2, monitor control index 4 and monitor control index 5, carried out when needing the monitor control index 1 to assembly 1, monitor control index 2 and monitor control index 3 Monitoring, when being monitored monitor control index 1, monitor control index 2, monitor control index 4 and the monitor control index 5 of resource 2, then assembly 1 point It is fitted on below monitoring class 1, resource 2 is assigned to monitor below class 2, i.e. achieves monitored object assembly 1 and the prison of resource 2 Control.
In an embodiment of the invention, in order to newly added monitored object is carried out on-demand monitoring, said method Farther include: when receiving the request adding new monitored object, according to the attribute of new monitored object, it may be judged whether deposit In the target monitoring class mated with new monitored object, if it is, new monitored object is assigned under target monitoring class, root According to the monitor control index under target monitoring class, gather state and the service condition of new monitored object, otherwise, for new monitored object Define new monitoring class, and be that new monitoring class distributes corresponding monitor control index, such as: there is currently monitoring class 1, monitor class 1 Corresponding monitor control index 1, monitor control index 2 and monitor control index 3, then monitor control index 1, monitoring to the monitored object under monitoring class 1 refer to Mark 2 and monitor control index 3 be acquired, if newly added monitored object is service 3, when need gather service 3 monitor control index 1, When monitor control index 2 and monitor control index 3, can be assigned directly to monitor class 1 time by service 3;Refer to when needing the monitoring gathering service 3 Mark 1, monitor control index 2 and monitor control index 6, the most do not comprise monitor control index 1, monitor control index 2 and the monitoring of monitor control index 6 Class, then need to define a new monitoring class 3, and distribute monitor control index 1, monitor control index 2 and monitor control index 6 for monitoring class 3, as Really monitor control index 6 there is currently no, then can pass through monitor control index template, builds monitor control index 6, thus service 3 is assigned to Monitoring class 3 times, i.e. can reach the purpose of on-demand monitoring service 3.
In an embodiment of the invention, in order to realize the extension of monitoring further, said method farther includes: definition Monitoring gathers specification;Gather specification according to monitoring, receive and run self-defined monitoring agent program;Being embodied as of step 105 Mode, including: utilizing self-defining monitoring agent program, gather state and the service condition of each monitored object, this is made by oneself The monitoring agent program of justice can be to meet monitoring to gather third party's acquisition software of specification, by self-defined monitoring agent journey Sequence can arrange more than one collecting unit, is acquired being effectively improved collecting efficiency by multiple collecting units.
In an embodiment of the invention, above-mentioned monitoring method is applied to monitor cloud platform system;Described monitored object, bag Include: any one or more in service, assembly and resource in cloud platform system;Farther include: when receiving described cloud During the monitoring request that the equipment beyond plateform system sends, according to monitoring request, determine correspondence for the monitored object in equipment At least one monitor control index, the state of the monitored object in collecting device and service condition, not only achieve in cloud platform Any one or more in service, assembly and resource is monitored, but also while cloud platform can being monitored, right Equipment outside other cloud platforms is monitored, and effectively extends monitoring range.
In an embodiment of the invention, in order to provide the basic data of reference for warning device, said method enters One step includes: arrange message queue;State and service condition to the monitored object gathered are encrypted, and pass through message queue The state of the monitored object after transmission encryption and service condition, based on the state and service condition of this monitored object, data carry Checking for user, or be supplied to alarm equipment, it is right the state of the monitored object received and service condition and threshold value to be carried out Ratio, alerts.
In an alternative embodiment of the invention, respectively as a example by following three kinds of sights, launch explanation monitoring method.
Sight one:
The monitored object currently having cloud platform carries out difference monitoring, as in figure 2 it is shown, the method can include following step Rapid:
Step 201: definition monitor control index template, and define at least one monitoring class and gather specification;
In this step, definition monitor control index template is primarily to user builds monitor control index foot according to the demand of oneself This, definition monitoring class, primarily to standardized administration monitored object, makes the monitored object with identical monitor control index be positioned at same Under monitoring class, thus avoid being repeated as monitored object and monitor control index is set;Gathering specification is to set for follow-up gatherer process Specification, according to this collection specification, user can arrange collection agent program voluntarily, thus realizes monitoring extension further.
Step 202: according to monitor control index template, builds at least two monitor control index script;
Step 203: run at least two monitor control index script, define at least two monitor control index;
Achieved by step 202 and step 203 and monitor control index is set according to user's request and monitored object.
Step 204: at least one monitor control index that each monitoring class distribution is corresponding;
Such as: define monitoring class 1 and monitor class 2, and construct monitor control index 1 by monitor control index script, monitoring refers to Mark 2, monitor control index 3, monitor control index 4 and monitor control index 5, and distribute monitor control index 1, monitor control index 2 and monitoring for monitoring class 1 and refer to Mark 3, distributes monitor control index 1, monitor control index 2, monitor control index 4 and monitor control index 5 for monitoring class 2.
Step 205: gather specification according to monitoring, receive and run self-defined monitoring agent program;
This step achieves user and arranges capture program voluntarily.
Step 206: determine at least one monitored object of cloud platform, according to monitored object attribute, monitors at least one Under in object, any monitored object is assigned to corresponding monitoring class;
In this step, the monitored object determined includes: any one or more in service, assembly and resource.
Such as: be monitored, to resource 2 when needing the monitor control index 1 to assembly 1, monitor control index 2 and monitor control index 3 When monitor control index 1, monitor control index 2, monitor control index 4 and monitor control index 5 are monitored, then assembly 1 is assigned to monitor class 1 time Face, is assigned to resource 2 to monitor below class 2, i.e. achieves monitored object assembly 1 and the monitoring of resource 2.
Step 207: judge whether to be assigned to by monitored object all of in cloud platform under corresponding monitoring class, if it is, Then perform step 208;Otherwise, step 209 is performed;
Step 208: according at least one monitor control index under monitoring class, utilizes each prison of monitoring agent programmed acquisition The state of control object and service condition, and perform step 213;
Step 209: the monitored object for unassigned monitoring class defines the first new monitoring class;
Step 210: according to the attribute of the monitored object of unassigned monitoring class, refer to for the first new monitoring class distribution monitoring Mark;
Step 211: the monitored object of unassigned monitoring class is assigned under the first new monitoring class;
Step 212: according to the monitor control index under new monitoring class, utilize the first monitoring that monitoring agent programmed acquisition is new The state of the monitored object under class and service condition;
Step 209 is to the detailed process of step 211: such as, and resource 3 needs to monitor monitor control index 2, monitor control index 4 and prison Control index 6, and at existing monitoring apoplexy due to endogenous wind all without comprising the monitoring class of monitor control index 2, monitor control index 4 and monitor control index 6, newly Build a monitoring class to distribute monitor control index 2, monitor control index 4 and monitor control index 6 to this monitoring class, resource 3 is arranged this new Monitoring class under i.e. achieve the monitoring to monitored object resource 3.
Step 213: state and the service condition of the monitored object monitored are encrypted;
It is possible to prevent the change to monitoring data, it is ensured that the accuracy of monitoring data and verity by this step.
Step 214: by state and the service condition of the monitored object after message queue transmission encryption;
Step 215: decipher and store state and the service condition of monitored object, by state and the service condition of monitored object It is supplied to alarm equipment.
These monitoring data, by being supplied to alarm equipment, provide the reference basic data of alarm for alarm equipment.
Sight two:
Newly added monitored object is carried out difference monitoring, as it is shown on figure 3, the method may comprise steps of:
Step 301: when receiving the request that cloud platform adds new monitored object, according to the genus of new monitored object Property, it may be judged whether there is the target monitoring class mated with new monitored object, if it is, perform step 302, otherwise, perform Step 303;
Step 302: new monitored object is assigned under target monitoring class, according to the monitor control index under target monitoring class, Gather state and the service condition of new monitored object, and perform step 306;
Step 303: define new monitoring class for new monitored object, and refer to for the monitoring that new monitoring class configuration is corresponding Mark;
The process of above-mentioned steps 301 to step 303: there is currently monitoring class 1, the corresponding monitor control index 1 of monitoring class 1, monitoring Index 2 and monitor control index 3, then carried out the monitor control index 1 of monitored object, monitor control index 2 and the monitor control index 3 under monitoring class 1 Gather, if newly added monitored object is service 3, when needing to gather monitor control index 1, monitor control index 2 and the monitor control index of service 3 When 3, can be assigned directly to monitor class 1 time by service 3;When needing to gather the monitor control index 1 of service 3, monitor control index 2 and monitoring Index 6, does not the most comprise the monitoring class of monitor control index 1, monitor control index 2 and monitor control index 6, then need to define one new Monitoring class 3, and distribute monitor control index 1, monitor control index 2 and monitor control index 6, if monitor control index 6 is not currently deposited for monitoring class 3 , then can pass through monitor control index template, build monitor control index 6, thus service 3 is assigned to monitoring class 3 times, i.e. can reach by The purpose of service 3 need to be monitored.
Step 304: new monitored object is assigned under new monitoring class;
Step 305: according to the monitor control index under new monitoring class, gather state and the service condition of new monitored object;
Step 306: state and the service condition of the monitored object monitored are encrypted;
It is possible to prevent the change to monitoring data, it is ensured that the accuracy of monitoring data and verity by this step.
Step 307: by state and the service condition of the monitored object after message queue transmission encryption;
Step 308: decipher and store state and the service condition of monitored object, by state and the service condition of monitored object It is supplied to alarm equipment.
Sight three:
As a example by cloud platform monitored object in the equipment of peripheral hardware is carried out difference monitoring, as shown in Figure 4, the method is permissible Comprise the following steps:
Step 401: receive the request that the monitored object in the equipment beyond for cloud platform is monitored;
Step 402: according to the attribute of the monitored object in the equipment beyond cloud platform, it may be judged whether exist with cloud platform with The target monitoring class of the monitored object coupling in outer equipment, if it is, perform step 403, otherwise, performs step 404;
Step 403: the monitored object in equipment is assigned under target monitoring class, refers to according to the monitoring under target monitoring class Mark, the state of the monitored object in collecting device and service condition, and perform step 407;
Step 404: define new monitoring class for the monitored object in equipment, and be that the monitoring class configuration in equipment is corresponding Monitor control index;
The process of above-mentioned steps 402 to step 404: there is currently the monitoring class 4 arranged into cloud platform, monitoring class 4 is corresponding Monitor control index 4, monitor control index 5 and monitor control index 6, then to the monitor control index 4 of monitored object under monitoring class 4, monitor control index 5 and Monitor control index 6 is acquired, if the monitored object in the equipment beyond cloud platform is service 4, when needing to gather the prison of service 4 When control index 4, monitor control index 5 and monitor control index 6, can be assigned directly to monitor class 4 times by service 4;Put down when needs gather cloud Monitor control index 7, monitor control index 8 and the monitor control index 9 of the monitored object service 4 in the equipment beyond platform, does not the most comprise The monitoring class of monitor control index 7, monitor control index 8 and monitor control index 9, then need to define a new monitoring class 5, and for monitoring class 5 Distribution monitor control index 7, monitor control index 8 and monitor control index 9, if monitor control index 8, monitor control index 9 there is currently no, then can lead to Cross monitor control index template, build monitor control index 8 and monitor control index 9, thus service 4 is assigned to monitoring class 5 times, i.e. can reach by The purpose of service 4 need to be monitored.
Step 405: the monitored object in equipment is assigned under new monitoring class;
Step 406: according to the monitor control index under the monitoring class in equipment, the state of the monitored object in collecting device and making Use situation;
Step 407: state and the service condition of the monitored object monitored are encrypted;
It is possible to prevent the change to monitoring data, it is ensured that the accuracy of monitoring data and verity by this step.
Step 408: by state and the service condition of the monitored object after message queue transmission encryption;
Step 409: decipher and store state and the service condition of monitored object, by state and the service condition of monitored object It is supplied to alarm equipment.
As shown in Figure 5, Figure 6, a kind of supervising device is embodiments provided.Device embodiment can be real by software Existing, it is also possible to realize by the way of hardware or software and hardware combining.For hardware view, as it is shown in figure 5, be that the present invention is real Execute a kind of hardware structure diagram of supervising device place equipment that example provides, except the processor shown in Fig. 5, internal memory, network interface, And outside nonvolatile memory, in embodiment, the equipment at device place generally can also include other hardware, such as responsible place Forwarding chip of reason message etc..As a example by implemented in software, as shown in Figure 6, as the device on a logical meaning, it is to pass through Computer program instructions corresponding in nonvolatile memory is read and runs formation in internal memory by the CPU of its place equipment. The supervising device that the present embodiment provides, including:
Unit 601 is set, determines construction unit 602 and collecting unit 603, wherein,
Unit 601 is set, is used for defining monitor control index template;
Determining construction unit 602, be used for determining at least one monitored object, the monitoring according to arranging unit 601 definition refers to Mark template, builds at least one corresponding monitor control index script for each monitored object, runs at least one monitor control index foot This, determine at least one monitor control index of correspondence for each monitored object;
Collecting unit 603, for according at least one monitor control index determining that construction unit 602 determines, gathers each The state of monitored object and service condition.
In an alternative embodiment of the invention, unit 601 is set, is further used for defining at least one monitoring class;
Determine construction unit 602, for according to arranging the monitor control index template that unit 601 defines, build at least two prison Control index script;Run at least two monitor control index script, define at least two monitor control index;Define for arranging unit 601 Each of at least one monitor control index corresponding to monitoring class distribution;Any monitored object at least one monitored object is distributed Under correspondence monitoring class;
Collecting unit 603, for according to determining that construction unit 602 at least one monitoring for each monitoring class distribution refers to Mark, gathers the state and service condition determining that construction unit 602 is each monitored object of each monitoring class distribution.
In still another embodiment of the process, unit 601 is set, is further used for definition monitoring and gathers specification;
Collecting unit 603, is further used for, according to arranging the monitoring collection specification that unit 601 is arranged, receiving and running certainly Definition monitoring agent program, utilizes self-defining monitoring agent program, gathers the state of each monitored object and uses feelings Condition.
In an alternative embodiment of the invention, determine construction unit 602, be further used for the monitoring when receiving interpolation new right During the request of elephant, for the target monitoring class of new monitored object distribution with new monitored object attributes match.
In still another embodiment of the process, unit 601 is set, is further used for defining new monitoring for new monitored object Class;
Determine construction unit 602, be further used for distributing corresponding monitoring for the new monitoring class arranging unit 601 definition Index.
In an alternative embodiment of the invention, at least one cloud platform of above-mentioned supervising device and peripheral hardware and at least one equipment It is connected, for monitoring at least one cloud platform of peripheral hardware and any one in service, assembly and the resource at least one equipment Plant or multiple.
In still another embodiment of the process, above-mentioned supervising device farther includes: ciphering unit and transmission unit are (in figure not Illustrate), wherein,
Ciphering unit, for being encrypted state and the service condition of the monitored object that collecting unit 603 collects;
Transmission unit, is used for arranging message queue, and by the monitored object after message queue transmission ciphering unit encryption State and service condition.
The contents such as the information between each unit in said apparatus is mutual, execution process, owing to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As it is shown in fig. 7, the embodiment of the present invention provides a kind of monitoring system, this monitoring system includes: any one prison above-mentioned Control device 701, at least one cloud platform 702 and at least one equipment 703, wherein,
Supervising device 701, any one or more with at least one cloud platform 702 and at least one equipment 703 is connected, For monitoring the monitored object at least one cloud platform 702 and at least one equipment 703, monitored object, including: service, group Any one or more in part and resource.
In an alternative embodiment of the invention, above-mentioned monitoring system farther includes: alarm equipment, wherein,
Supervising device 701, is used for the state to alarm equipment transmitting, monitoring object and service condition;
Alarm equipment, is used for arranging alarm threshold, receives state and the service condition of monitored object, when the shape of monitored object When state and service condition reach alarm threshold, alert.
According to such scheme, various embodiments of the present invention, at least have the advantages that
1., by definition monitor control index template, according to monitor control index template, build correspondence extremely for each monitored object Few a monitor control index script, i.e. user can arrange monitor control index script according to the demand of monitored object, by running at least One monitor control index script, determines at least one monitor control index of correspondence for each monitored object;Monitor according at least one Index, gathers state and the service condition of each monitored object, owing to can build monitor control index according to monitor control index template Script, forms the monitor control index of monitored object, then, user can be built by monitor control index script according to the demand of oneself Monitor control index, it is achieved that the extension to monitor control index.
2., by defining at least one monitoring class, according to monitor control index template, build at least two monitor control index script, fortune Row at least two monitor control index script, defines at least two monitor control index, at least the one of each monitoring class distribution correspondence Plant monitor control index, monitored object any at least one monitored object is assigned under corresponding monitoring class, permissible by this process The monitored object with same monitor control index is assigned under same monitoring class, it is achieved thereby that the standardization pipe to monitored object Reason.
The most in embodiments of the present invention, when receiving the request adding new monitored object, according to new monitored object Attribute, it may be judged whether there is the target monitoring class mated with new monitored object, if it is, by new monitored object distribution Under target monitoring class, according to the monitor control index under target monitoring class, gather state and the service condition of new monitored object, no Then, define new monitoring class for new monitored object, and be that new monitoring class distributes corresponding monitor control index, can not only extend Monitored object, meanwhile, it is capable to be that newly added monitored object defines new monitoring class, furthermore achieved that monitoring extension.
4. gather specification by definition monitoring, gather specification according to monitoring, receive and run self-defined monitoring agent journey Sequence, utilizes self-defining monitoring agent program, gathers state and the service condition of each monitored object, it is achieved that monitoring is adopted The extension of collection.
5. the monitoring method that the embodiment of the present invention provides can be entered for other equipment beyond cloud platform and cloud platform simultaneously Row monitoring, it is achieved that the extension to monitoring range, further, since the embodiment of the present invention can be to monitored object, monitoring class, monitoring Indexs etc. are extended with self-defined so that user is arranged according to demand, are effectively improved the motility of monitoring.
It should be noted that in this article, the relational terms of such as first and second etc is used merely to an entity Or operation separates with another entity or operating space, and not necessarily require or imply existence between these entities or operation The relation of any this reality or order.And, term " includes ", " comprising " or its any other variant are intended to non- Comprising of exclusiveness, so that include that the process of a series of key element, method, article or equipment not only include those key elements, But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment Some key elements.In the case of there is no more restriction, statement the key element " including a 〃 " and limiting, do not arrange Except there is also other same factor in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in the storage medium of embodied on computer readable, this program Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or light In the various medium that can store program code such as dish.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate the skill of the present invention Art scheme, is not intended to limit protection scope of the present invention.All made within the spirit and principles in the present invention any amendment, Equivalent, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. a monitoring method, it is characterised in that definition monitor control index template, also includes:
Determine at least one monitored object;
According to described monitor control index template, build at least one corresponding monitor control index script for each monitored object;
Run at least one monitor control index script described, determine at least one monitor control index of correspondence for each monitored object;
According at least one monitor control index described, gather state and the service condition of each monitored object.
Method the most according to claim 1, it is characterised in that farther include: define at least one monitoring class;
Described according to described monitor control index template, build at least one corresponding monitor control index script for each monitored object, Run at least one monitor control index script described, determine at least one monitor control index of correspondence for each monitored object, including:
According to described monitor control index template, build at least two monitor control index script;
Run described at least two monitor control index script, define at least two monitor control index;
For at least one monitor control index that each monitoring class distribution is corresponding;
Monitored object any at least one monitored object described is assigned under corresponding monitoring class;
At least one monitor control index described in described basis, gathers state and the service condition of each monitored object, including: according to Monitor control index under monitoring class, the state of each monitored object and service condition under acquisition monitoring class.
Method the most according to claim 2, it is characterised in that farther include:
When receiving the request adding new monitored object, according to the attribute of described new monitored object, it may be judged whether exist The target monitoring class mated with described new monitored object, if it is, be assigned to target monitoring by described new monitored object Under class, according to the monitor control index under target monitoring class, gather state and the service condition of new monitored object, otherwise, for described The monitoring class that new monitored object definition is new, and be the monitor control index of described new monitoring class distribution correspondence.
Method the most according to claim 1, it is characterised in that
Farther include: definition monitoring gathers specification;
Gather specification according to described monitoring, receive and run self-defined monitoring agent program;
The state of described each monitored object of collection and service condition, including: utilize described self-defining monitoring agent journey Sequence, gathers state and the service condition of each monitored object.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that be applied to monitor cloud platform system;
Described monitored object, including: any one or more in service, assembly and resource in cloud platform system;
Farther include: when the monitoring request that the equipment beyond described cloud platform system that receives sends, according to described monitoring Request, determines at least one monitor control index of correspondence, gathers the monitoring in described equipment right for the monitored object in described equipment The state of elephant and service condition;
And/or,
Farther include: message queue is set;
State and service condition to the monitored object gathered are encrypted, and by the prison after the transmission encryption of described message queue The state of control object and service condition.
6. a supervising device, it is characterised in that including: unit is set, determines construction unit and collecting unit, wherein,
Described unit is set, is used for defining monitor control index template;
Described determine construction unit, be used for determining at least one monitored object, according to the described monitor control index arranging unit definition Template, builds at least one corresponding monitor control index script for each monitored object, runs at least one monitor control index described Script, determines at least one monitor control index of correspondence for each monitored object;
Described collecting unit, for according to described at least one monitor control index determining that construction unit determines, gathers each prison The state of control object and service condition.
Device the most according to claim 6, it is characterised in that
Described unit is set, is further used for defining at least one monitoring class;
Described determine construction unit, for according to the described monitor control index template arranging unit definition, build at least two monitoring Index script;Run described at least two monitor control index script, define at least two monitor control index;Determine for the described unit that arranges At least one monitor control index that the monitoring class distribution of each of justice is corresponding;By right for arbitrarily monitoring at least one monitored object described As being assigned under corresponding monitoring class;
According to described, described collecting unit, for determining that at least one monitoring that construction unit is each monitoring class distribution refers to Mark, gathers the described state and service condition determining that construction unit is each monitored object that each monitoring class is distributed;
And/or,
Described unit is set, is further used for definition monitoring and gathers specification;
Described collecting unit, is further used for arranging, according to described, the monitoring collection specification that unit is arranged, receives and run and make by oneself Justice monitoring agent program, utilizes described self-defining monitoring agent program, gathers state and the use of each monitored object Situation.
Device the most according to claim 7, it is characterised in that
Described determine construction unit, be further used for when receiving the request adding new monitored object, for described new prison Control object distribution and the target monitoring class of described new monitored object attributes match;
Or,
Described unit is set, is further used for as the new monitoring class of described new monitored object definition;
Described determine construction unit, be further used for the monitoring for the described new monitoring class distribution correspondence arranging unit definition and refer to Mark.
9. according to the arbitrary described device of claim 6 to 8, it is characterised in that with at least one cloud platform of peripheral hardware and at least One equipment is connected, in service, assembly and the resource at least one cloud platform monitoring peripheral hardware and at least one equipment Any one or more;
And/or,
Farther include: ciphering unit and transmission unit, wherein,
Described ciphering unit, for being encrypted state and the service condition of the monitored object that described collecting unit collects;
Described transmission unit, is used for arranging message queue, and transmits after described ciphering unit encrypts by described message queue The state of monitored object and service condition.
10. a monitoring system, it is characterised in that including: the arbitrary described supervising device of claim 6 to 9, at least one cloud Platform and at least one equipment, wherein,
Described supervising device, any one or more with at least one cloud platform described and at least one equipment is connected, and is used for Monitored object in monitoring at least one cloud platform described and at least one equipment, described monitored object, including: service, assembly And any one or more in resource.
CN201610408925.9A 2016-06-12 2016-06-12 A kind of monitoring methods, devices and systems Pending CN106095641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610408925.9A CN106095641A (en) 2016-06-12 2016-06-12 A kind of monitoring methods, devices and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610408925.9A CN106095641A (en) 2016-06-12 2016-06-12 A kind of monitoring methods, devices and systems

Publications (1)

Publication Number Publication Date
CN106095641A true CN106095641A (en) 2016-11-09

Family

ID=57227855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610408925.9A Pending CN106095641A (en) 2016-06-12 2016-06-12 A kind of monitoring methods, devices and systems

Country Status (1)

Country Link
CN (1) CN106095641A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656620A (en) * 2016-12-30 2017-05-10 中国银联股份有限公司 Network device monitoring processing method and system
CN107846303A (en) * 2016-12-21 2018-03-27 贵州电网有限责任公司信息中心 A kind of monitored object automatic identification is with finding method
CN107846302A (en) * 2016-12-21 2018-03-27 贵州电网有限责任公司信息中心 A kind of self-adaptive agent dispositions method
CN107864046A (en) * 2016-12-21 2018-03-30 贵州电网有限责任公司信息中心 A kind of adaptive differentiation monitoring method
CN108923973A (en) * 2018-07-02 2018-11-30 郑州云海信息技术有限公司 A kind of monitoring method and device
CN108965056A (en) * 2018-07-19 2018-12-07 郑州云海信息技术有限公司 A kind of implementation method that cloud platform monitoring data summarizes and device
CN109218131A (en) * 2018-09-03 2019-01-15 平安医疗健康管理股份有限公司 Method for monitoring network, device, computer equipment and storage medium
CN109245966A (en) * 2018-11-05 2019-01-18 郑州云海信息技术有限公司 The monitoring method and device of the service state of cloud platform
CN110333979A (en) * 2019-04-16 2019-10-15 中国人民银行清算总中心 The acquisition method and device of monitoring data based on CICS

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267333A (en) * 2007-06-15 2008-09-17 南京联创科技股份有限公司 Service system monitoring method for automatic collection agent change
CN103888287A (en) * 2013-12-18 2014-06-25 北京首都国际机场股份有限公司 Information system integrated operation and maintenance monitoring service early warning platform and realization method thereof
CN104184819A (en) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 Multi-hierarchy load balancing cloud resource monitoring method
CN104375926A (en) * 2014-12-03 2015-02-25 浪潮电子信息产业股份有限公司 Alarm threshold value setting method for monitoring of large-scale servers
US20150149424A1 (en) * 2012-06-07 2015-05-28 Vmware, Inc. Tracking changes that affect performance of deployed applications
CN105653425A (en) * 2015-12-28 2016-06-08 中国民航信息网络股份有限公司 Complicated event processing engine based monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267333A (en) * 2007-06-15 2008-09-17 南京联创科技股份有限公司 Service system monitoring method for automatic collection agent change
US20150149424A1 (en) * 2012-06-07 2015-05-28 Vmware, Inc. Tracking changes that affect performance of deployed applications
CN103888287A (en) * 2013-12-18 2014-06-25 北京首都国际机场股份有限公司 Information system integrated operation and maintenance monitoring service early warning platform and realization method thereof
CN104184819A (en) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 Multi-hierarchy load balancing cloud resource monitoring method
CN104375926A (en) * 2014-12-03 2015-02-25 浪潮电子信息产业股份有限公司 Alarm threshold value setting method for monitoring of large-scale servers
CN105653425A (en) * 2015-12-28 2016-06-08 中国民航信息网络股份有限公司 Complicated event processing engine based monitoring system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846303A (en) * 2016-12-21 2018-03-27 贵州电网有限责任公司信息中心 A kind of monitored object automatic identification is with finding method
CN107846302A (en) * 2016-12-21 2018-03-27 贵州电网有限责任公司信息中心 A kind of self-adaptive agent dispositions method
CN107864046A (en) * 2016-12-21 2018-03-30 贵州电网有限责任公司信息中心 A kind of adaptive differentiation monitoring method
CN106656620A (en) * 2016-12-30 2017-05-10 中国银联股份有限公司 Network device monitoring processing method and system
CN108923973A (en) * 2018-07-02 2018-11-30 郑州云海信息技术有限公司 A kind of monitoring method and device
CN108965056A (en) * 2018-07-19 2018-12-07 郑州云海信息技术有限公司 A kind of implementation method that cloud platform monitoring data summarizes and device
CN109218131A (en) * 2018-09-03 2019-01-15 平安医疗健康管理股份有限公司 Method for monitoring network, device, computer equipment and storage medium
CN109218131B (en) * 2018-09-03 2022-03-29 平安医疗健康管理股份有限公司 Network monitoring method and device, computer equipment and storage medium
CN109245966A (en) * 2018-11-05 2019-01-18 郑州云海信息技术有限公司 The monitoring method and device of the service state of cloud platform
CN110333979A (en) * 2019-04-16 2019-10-15 中国人民银行清算总中心 The acquisition method and device of monitoring data based on CICS

Similar Documents

Publication Publication Date Title
CN106095641A (en) A kind of monitoring methods, devices and systems
US20220078210A1 (en) System and method for collaborative cybersecurity defensive strategy analysis utilizing virtual network spaces
US20240048596A1 (en) Parametric analysis of integrated operational and information technology systems
CN103986743A (en) Method, apparatus and system for acquiring data in Internet of Things
CN111884878A (en) Data monitoring method based on block chain
CN105991771A (en) Internet of things fire fighting system
CN109559583A (en) Failure simulation method and its device
JP2012150805A (en) Systems and methods for detecting fraud associated with systems application processing
CN103295155A (en) Security core service system monitoring method
CN107040414A (en) The method that physical equipment topology is presented is used for based on JavaScript
CN104573395A (en) Big data platform safety assessment quantitative analysis method
CN110708316A (en) Method and system architecture for enterprise network security operation management
CN109525645A (en) A kind of method and system for collecting the log of distributed storage cluster
CN109324959A (en) A kind of method, server and the computer readable storage medium of automatic transfer data
CN106789322B (en) The determination method and apparatus of key node in Information Network
CN106302412A (en) A kind of intelligent checking system for the test of information system crushing resistance and detection method
CN108408362A (en) A kind of intelligent transportation monitoring system and monitoring method for conveyer belt
CN103634576B (en) A kind of highway mobile terminal monitoring system and method
CN112667621B (en) Block chain supervision method, equipment and computer readable storage medium
CN107800556A (en) Interface generation system, drill through service layer's device, data transmission method for uplink
CN109753009A (en) A kind of level monitoring online data management system
CN106027306A (en) Resource monitoring method and device
Mesiti et al. StreamLoader: an event-driven ETL system for the on-line processing of heterogeneous sensor data
CN105493096A (en) Distributed pattern discovery
CN112615744A (en) Computer lab asset cloud safety management platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161109

WD01 Invention patent application deemed withdrawn after publication