CN106897192B - Monitoring plug-in control method and device based on time delay classification - Google Patents
Monitoring plug-in control method and device based on time delay classification Download PDFInfo
- Publication number
- CN106897192B CN106897192B CN201710107908.6A CN201710107908A CN106897192B CN 106897192 B CN106897192 B CN 106897192B CN 201710107908 A CN201710107908 A CN 201710107908A CN 106897192 B CN106897192 B CN 106897192B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- polling
- type
- monitoring plug
- plug
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 489
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000002159 abnormal effect Effects 0.000 abstract description 7
- 239000002184 metal Substances 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3096—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents wherein the means or processing minimize the use of computing system or of computing system component resources, e.g. non-intrusive monitoring which minimizes the probe effect: sniffing, intercepting, indirectly deriving the monitored data from other directly available data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a monitoring plug-in control method based on time delay classification, which classifies monitoring plug-ins, selectively removes a third type of monitoring plug-ins according to polling time limit, and establishes non-time-limit polling of the third type of monitoring plug-ins, so that the first type of monitoring plug-ins and the second type of monitoring plug-ins complete the polling of the third type of monitoring plug-ins while finishing the normal polling within the polling time limit, and the technical problem that the monitoring problem of abnormal plug-ins is solved and the normal monitoring plug-ins are also influenced when the monitoring problem of the abnormal plug-ins is solved by adjusting the monitoring interval, frequency and the like of monitoring software by existing computer manufacturers is solved.
Description
Technical Field
The invention relates to the field of resource monitoring management, in particular to a monitoring plug-in control method and device based on time delay classification.
Background
The current monitoring management software is more and more popular, the monitoring management software collects monitoring data of equipment mostly in a monitoring plug-in mode, when the monitored equipment is abundant, a large number of monitoring plug-ins need to be written to run at a server end, and the plug-ins need to be polled regularly, so that hardware information on the monitoring equipment can be collected remotely through an SNMP protocol, an IPMI protocol and the like. For the software at the server end, the server for monitoring the software occupies a large amount of resources due to the timed polling and information acquisition, so that great resource waste is caused. The regular polling and information collection often cause the untimely monitoring of information under the condition that the monitoring plug-ins are many, and the reaction of software is slow due to the backlog of the continuous monitoring plug-ins, even the software is delayed and exits.
The monitoring solution of the current computer manufacturer is realized by adjusting the monitoring interval, frequency and the like of the monitoring software, however, the method also affects the normal monitoring plug-in while solving the monitoring problem of the abnormal plug-in.
Disclosure of Invention
The embodiment of the invention provides a monitoring plug-in control method and device based on time delay classification, which classify monitoring plug-ins, selectively remove a third type of monitoring plug-ins according to polling time limit, and establish non-time-limit polling of the third type of monitoring plug-ins, so that the first type of monitoring plug-ins and the second type of monitoring plug-ins complete the polling of the third type of monitoring plug-ins when the normal polling is finished in the polling time limit, and the technical problem that the normal monitoring plug-ins are also influenced while the monitoring problem of abnormal plug-ins is solved due to the fact that the monitoring of the abnormal plug-ins is realized by a computer manufacturer in a mode of adjusting the monitoring interval, frequency and the like of monitoring software is solved.
The embodiment of the invention provides a monitoring plug-in control method based on time delay classification, which comprises the following steps:
classifying the monitoring plug-ins into a first type of monitoring plug-ins, a second type of monitoring plug-ins and a third type of monitoring plug-ins according to the operation cycle and the monitoring result of the monitoring plug-ins, wherein the first type of monitoring plug-ins are monitoring plug-ins capable of normally acquiring monitoring data, the second type of monitoring plug-ins are monitoring plug-ins capable of acquiring monitoring data but having obvious network delay, and the third type of monitoring plug-ins are monitoring plug-ins which have serious network delay and do not return monitoring data;
whether normal polling of all the monitoring plug-ins can be completed within a preset polling time limit is judged through calculation, if the normal polling of all the monitoring plug-ins can be completed within the preset polling time limit, normal polling of all the monitoring plug-ins is executed, and if the normal polling of all the monitoring plug-ins cannot be completed within the preset polling time limit, the third type of monitoring plug-ins is removed from a first polling system and the non-time-limit polling of the third type of monitoring plug-ins is executed independently, wherein the first polling system is a normal polling system with polling time limit.
Preferably, the first and second electrodes are formed of a metal,
after removing the first polling system of the monitoring plug-in from the third type of monitoring plug-in and executing the non-time polling of the third type of monitoring plug-in, the method further includes:
and if the third type of monitoring plug-in can obtain the monitoring data, moving the third type of monitoring plug-in back to the first polling system.
Preferably, the first and second electrodes are formed of a metal,
after removing the first polling system of the monitoring plug-in from the third type of monitoring plug-in and executing the non-time polling of the third type of monitoring plug-in, the method further includes:
whether normal polling of the first type monitoring plug-in and the second type monitoring plug-in can be completed within a preset polling time limit or not is judged through calculation, if the normal polling of the first type monitoring plug-in and the second type monitoring plug-in can be completed within the preset polling time limit, normal polling of the first type monitoring plug-in and the second type monitoring plug-in is executed, and if the normal polling of the first type monitoring plug-in and the second type monitoring plug-in can not be completed within the preset polling time limit, the second type monitoring plug-in is removed from a first polling system of the monitoring plug-in and the non-time-limit polling of the second type monitoring plug-in is executed independently.
Preferably, the first and second electrodes are formed of a metal,
after removing the first polling system of the monitoring plug-in from the second type of monitoring plug-in and performing the non-time polling of the second type of monitoring plug-in separately, the method further includes:
and if the second type of monitoring plug-in can acquire the monitoring data and no obvious network delay exists, moving the second type of monitoring plug-in back to the first polling system.
The embodiment of the invention provides a monitoring plug-in control device based on time delay classification, which comprises:
the plug-in classification unit is used for classifying the monitoring plug-ins into a first type monitoring plug-in, a second type monitoring plug-in and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, wherein the first type monitoring plug-ins are monitoring plug-ins capable of normally acquiring monitoring data, the second type monitoring plug-ins are monitoring plug-ins capable of acquiring the monitoring data but having obvious network delay, and the third type monitoring plug-ins are monitoring plug-ins which have serious network delay and do not return monitoring data;
the first polling unit is used for judging whether normal polling of all the monitoring plugins can be completed within a preset polling time limit through calculation, if the normal polling of all the monitoring plugins can be completed within the preset polling time limit, executing normal polling of all the monitoring plugins, and if the normal polling of all the monitoring plugins can not be completed within the preset polling time limit, removing the third type of monitoring plugins from a first polling system and independently executing non-time-limit polling of the third type of monitoring plugins, wherein the first polling system is a normal polling system with polling time limit.
Preferably, the first and second electrodes are formed of a metal,
the monitoring plug-in control device based on the time delay classification further comprises:
and the first moving-back unit is used for moving the third type of monitoring plug-in back to the first polling system after the third type of monitoring plug-in can acquire the monitoring data.
Preferably, the first and second electrodes are formed of a metal,
the monitoring plug-in control device based on the time delay classification further comprises:
and the second polling unit is used for judging whether the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within a preset polling time limit through calculation, executing the normal polling of the first type of monitoring plug-in and the second type of monitoring plug-in if the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within the preset polling time limit, and removing the first polling system of the monitoring plug-in and independently executing the non-time-limit polling of the second type of monitoring plug-in if the first type of monitoring plug-in and the second type of monitoring plug-in can not normally poll within the preset polling time limit.
Preferably, the first and second electrodes are formed of a metal,
the monitoring plug-in control device based on the time delay classification further comprises:
and the second moving-back unit is used for moving the second type of monitoring plug-in back to the first polling system when the second type of monitoring plug-in can acquire the monitoring data and no obvious network delay exists.
According to the technical scheme, the embodiment of the invention has the following advantages:
1. the embodiment of the invention provides a monitoring plug-in control method and a monitoring plug-in control device based on time delay classification, which classify monitoring plug-ins, selectively remove the third type of monitoring plug-ins according to polling time limit, and establish non-time-limit polling of the third type of monitoring plug-ins, so that the first type of monitoring plug-ins and the second type of monitoring plug-ins complete the polling of the third type of monitoring plug-ins when the normal polling is finished in the polling time limit, the technical problem that the monitoring problem of abnormal plug-ins is solved and the normal monitoring plug-ins are affected by the control of the monitoring plug-ins by the existing computer manufacturers in a mode of adjusting the monitoring interval, frequency and the like of monitoring software is solved, the polling of all monitoring plug-ins can be finished in each polling time limit, the polling backlog of the monitoring plug-ins can not occur, the overall monitoring effect of the software is guaranteed, the smoothness of the operation of the monitoring software and the timeliness of alarming are guaranteed to the maximum extent.
2. The embodiment of the invention provides a monitoring plug-in control method and device based on time delay classification, when a first type of monitoring plug-in and a second type of monitoring plug-in can not normally poll within a preset polling time limit, the second type of monitoring plug-in is removed from a first polling system of the monitoring plug-in and independently executes non-time-limit polling of the second type of monitoring plug-in, so that all monitoring plug-ins can poll completely, the polling overstock condition of the monitoring plug-ins can not occur, the overall monitoring effect of software is guaranteed, and meanwhile, the smoothness of the operation of the monitoring software and the timeliness of alarming are maximally guaranteed, and the monitoring software is more intelligent and efficient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a monitoring plug-in control method based on delay classification according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a monitoring plug-in control method based on delay classification according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a monitoring plug-in control device based on delay classification according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a monitoring plug-in control device based on delay classification according to a second embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a monitoring plug-in control method and a monitoring plug-in control device based on time delay classification, which classify monitoring plug-ins, selectively remove the third type of monitoring plug-ins according to polling time limit, and establish non-time-limit polling of the third type of monitoring plug-ins, so that the first type of monitoring plug-ins and the second type of monitoring plug-ins complete the polling of the third type of monitoring plug-ins when the normal polling is finished in the polling time limit, the technical problem that the monitoring problem of abnormal plug-ins is solved and the normal monitoring plug-ins are affected by the control of the monitoring plug-ins by the existing computer manufacturers in a mode of adjusting the monitoring interval, frequency and the like of monitoring software is solved, the polling of all monitoring plug-ins can be finished in each polling time limit, the polling backlog of the monitoring plug-ins can not occur, the overall monitoring effect of the software is guaranteed, the smoothness of the operation of the monitoring software and the timeliness of alarming are guaranteed to the maximum extent.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of a monitoring plug-in control method based on delay classification according to the present invention includes:
101, classifying the monitoring plug-ins into a first type monitoring plug-in, a second type monitoring plug-in and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, wherein the first type monitoring plug-ins are monitoring plug-ins capable of normally acquiring monitoring data, the second type monitoring plug-ins are monitoring plug-ins capable of acquiring monitoring data but having obvious network delay, and the third type monitoring plug-ins are monitoring plug-ins which have serious network delay and do not return monitoring data;
in the embodiment of the present invention, the monitoring plug-ins need to be classified into a first type monitoring plug-in, a second type monitoring plug-in, and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, where the first type monitoring plug-in is a monitoring plug-in capable of normally acquiring monitoring data, the second type monitoring plug-in is a monitoring plug-in capable of acquiring monitoring data but having an obvious network delay, and the third type monitoring plug-in is a monitoring plug-in having a serious network delay and no monitoring data return.
102, judging whether normal polling of all monitoring plugins can be completed within a preset polling time limit through calculation, if so, executing normal polling of all monitoring plugins, and if not, removing a third type of monitoring plugins from a first polling system and independently executing non-time-limit polling of the third type of monitoring plugins, wherein the first polling system is a normal polling system with a polling time limit;
in the embodiment of the present invention, after classifying the monitoring plug-ins into the first type monitoring plug-ins, the second type monitoring plug-ins and the third type monitoring plug-ins according to the operation cycle and the monitoring result of the monitoring plug-ins, it is further required to determine whether normal polling of all the monitoring plug-ins can be completed within a preset polling time limit by calculation, if normal polling of all the monitoring plug-ins can be completed within the preset polling time limit, the normal polling of all the monitoring plug-ins is executed, and if not, the third type monitoring plug-ins are removed from the first polling system and no-time-limit polling of the third type monitoring plug-ins is executed independently, wherein the first polling system is a normal polling system having a polling time limit, for example, when normal polling of all the monitoring plug-ins can be completed within the preset polling time limit, the first polling system includes the first monitoring plug-ins, the second type monitoring plug-ins, the second polling system includes the first monitoring plug-ins, the third category monitors normal polling of the plug-ins, and "normal polling" can be understood as sequential polling with a polling time limit, which will not be described in detail below.
Referring to fig. 2, a second embodiment of a monitoring plug-in control method based on delay classification according to the present invention includes:
the method comprises the following steps that 201, monitoring plugins are classified into a first type monitoring plugin, a second type monitoring plugin and a third type monitoring plugin according to the operation cycle and the monitoring result of the monitoring plugins, wherein the first type monitoring plugin is the monitoring plugin capable of normally acquiring monitoring data, the second type monitoring plugin is the monitoring plugin capable of acquiring monitoring data but having obvious network delay, and the third type monitoring plugin is the monitoring plugin which has serious network delay and no monitoring data return;
in the embodiment of the present invention, the monitoring plug-ins need to be classified into a first type monitoring plug-in, a second type monitoring plug-in, and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, where the first type monitoring plug-in is a monitoring plug-in capable of normally acquiring monitoring data, the second type monitoring plug-in is a monitoring plug-in capable of acquiring monitoring data but having an obvious network delay, and the third type monitoring plug-in is a monitoring plug-in having a serious network delay and no monitoring data return.
202, judging whether normal polling of all monitoring plugins can be completed within a preset polling time limit through calculation, if the normal polling of all monitoring plugins can be completed within the preset polling time limit, executing normal polling of all monitoring plugins, and if the normal polling of all monitoring plugins can not be completed within the preset polling time limit, removing a third type of monitoring plugins from a first polling system and independently executing non-time-limit polling of the third type of monitoring plugins, wherein the first polling system is a normal polling system with a polling time limit;
in the embodiment of the present invention, after the monitoring plug-ins are classified into the first type monitoring plug-ins, the second type monitoring plug-ins, and the third type monitoring plug-ins according to the operation cycle of the monitoring plug-ins and the monitoring result, it is further required to determine whether normal polling of all the monitoring plug-ins is completed within a preset polling time limit by calculation, if normal polling of all the monitoring plug-ins is completed within the preset polling time limit, normal polling of all the monitoring plug-ins is executed, and if normal polling of all the monitoring plug-ins is not completed within the preset polling time limit, the third type monitoring plug-ins is removed from the first polling system and no-time-limit polling of the third type monitoring plug-ins is executed separately, wherein the first polling system is a normal polling system having a polling time limit.
203, if the third type of monitoring plug-in can obtain the monitoring data, moving the third type of monitoring plug-in back to the first polling system;
in the embodiment of the invention, whether normal polling of all monitoring plugins can be finished in a preset polling time limit is judged by calculation, if all monitoring plugins can normally poll in the preset polling time limit, normal polling of all monitoring plugins is executed, and if all monitoring plugins cannot normally poll in the preset polling time limit, a third type of monitoring plugins is removed from a first polling system and is independently executed for non-time-limit polling of a third type of monitoring plugins, wherein after the first polling system is a normal polling system with a polling time limit, and after the third type of monitoring plugins can acquire monitoring data, the third type of monitoring plugins is moved back to the first polling system, so that the third type of monitoring plugins can be understood to have monitoring data to return, and normal polling can be completed together with the first type of monitoring plugins and the second type of monitoring plugins in the preset polling time limit.
204, judging whether the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within a preset polling time limit through calculation, if the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within the preset polling time limit, executing normal polling of the first type of monitoring plug-in and the second type of monitoring plug-in, and if the first type of monitoring plug-in and the second type of monitoring plug-in can not normally poll within the preset polling time limit, removing a first polling system of the monitoring plug-in from the second type of monitoring plug-in and independently executing non-time-limited polling of the second type of monitoring plug-in;
in the embodiment of the invention, whether normal polling of all monitoring plugins can be finished in a preset polling time limit is judged by calculation, if the normal polling of all monitoring plugins can be finished in the preset polling time limit, normal polling of all monitoring plugins is executed, if the normal polling of all monitoring plugins can not be finished in the preset polling time limit, a third type of monitoring plugins is removed from a first polling system and the non-time-limit polling of the third type of monitoring plugins is executed independently, wherein after the first polling system is a normal polling system with a polling time limit, whether normal polling of the first type of monitoring plugins and the second type of monitoring plugins can be finished in the preset polling time limit needs to be judged by calculation, if the normal polling of the first type of monitoring plugins and the second type of monitoring plugins can be finished in the preset polling time limit, the normal polling of the first type of monitoring plugins and the second type of monitoring plugins is executed, and if the first type of monitoring plug-in and the second type of monitoring plug-in can not normally poll within the preset polling time limit, removing the first polling system of the monitoring plug-in from the second type of monitoring plug-in and independently executing the non-time-limit polling of the second type of monitoring plug-in.
205, if the second type monitoring plug-in can obtain the monitoring data and there is no obvious network delay, moving the second type monitoring plug-in back to the first polling system;
in the embodiment of the invention, when the first type monitoring plug-in and the second type monitoring plug-in can be judged whether to finish normal polling within the preset polling time limit through calculation, if the first type monitoring plug-in and the second type monitoring plug-in can finish normal polling within the preset polling time limit, executing normal polling of the first type monitoring plug-in and the second type monitoring plug-in, if the first type monitoring plug-in and the second type monitoring plug-in can not finish normal polling within a preset polling time limit, then the second type monitoring plug-in unit is removed from the first polling system of the monitoring plug-in unit and the non-time-limited polling of the second type monitoring plug-in unit is executed independently, if the second type monitoring plug-in unit can obtain the monitoring data and has no obvious network delay, the second type of monitoring plug-in is moved back to the first polling architecture, which may be understood as the second type of monitoring plug-in having reduced, insignificant or no network latency and may complete normal polling with the first type of monitoring plug-in.
Referring to fig. 3, a first embodiment of a monitoring plug-in control device based on delay classification according to the present invention includes:
a plug-in classification unit 301, configured to classify the monitoring plug-ins into a first type monitoring plug-in, a second type monitoring plug-in, and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, where the first type monitoring plug-in is a monitoring plug-in capable of normally acquiring monitoring data, the second type monitoring plug-in is a monitoring plug-in capable of acquiring monitoring data but having an obvious network delay, and the third type monitoring plug-in is a monitoring plug-in having a serious network delay and no monitoring data return;
the first polling unit 302 is configured to determine whether normal polling of all the monitoring plugins is completed within a preset polling time limit through calculation, execute normal polling of all the monitoring plugins if normal polling of all the monitoring plugins is completed within the preset polling time limit, and remove the third type of monitoring plugins from the first polling system and independently execute non-time-limit polling of the third type of monitoring plugins if normal polling of all the monitoring plugins is not completed within the preset polling time limit, where the first polling system is a normal polling system having a polling time limit.
Referring to fig. 4, a second embodiment of a monitoring plug-in control device based on delay classification according to the present invention includes:
a plug-in classification unit 401, configured to classify the monitoring plug-ins into a first type monitoring plug-in, a second type monitoring plug-in, and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, where the first type monitoring plug-in is a monitoring plug-in capable of normally acquiring monitoring data, the second type monitoring plug-in is a monitoring plug-in capable of acquiring monitoring data but having an obvious network delay, and the third type monitoring plug-in is a monitoring plug-in having a serious network delay and no monitoring data return;
the first polling unit 402 is configured to determine whether normal polling of all the monitoring plugins is completed within a preset polling time limit through calculation, execute normal polling of all the monitoring plugins if normal polling of all the monitoring plugins is completed within the preset polling time limit, and remove the third type of monitoring plugins from the first polling system and independently execute non-time-limit polling of the third type of monitoring plugins if normal polling of all the monitoring plugins is not completed within the preset polling time limit, where the first polling system is a normal polling system having a polling time limit.
A first moving-back unit 403, configured to move the third type monitoring plug-in back to the first polling hierarchy after the third type monitoring plug-in can acquire the monitoring data.
A second polling unit 404, configured to judge whether normal polling of the first class monitoring plug-in and the second class monitoring plug-in is completed within a preset polling time limit through calculation, execute normal polling of the first class monitoring plug-in and the second class monitoring plug-in if normal polling of the first class monitoring plug-in and the second class monitoring plug-in is completed within the preset polling time limit, remove the first polling system of the monitoring plug-in from the second class monitoring plug-in and independently execute non-time-limited polling of the second class monitoring plug-in if the first class monitoring plug-in and the second class monitoring plug-in cannot complete normal polling within the preset polling time limit.
A second moving back unit 405 for moving the second type of monitoring plug-in back to the first polling scheme when the second type of monitoring plug-in can acquire the monitoring data and there is no significant network delay.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. A control method for monitoring plug-ins based on time delay classification is characterized in that the method can ensure that all monitoring plug-ins can finish polling in each polling time limit, and comprises the following steps:
classifying the monitoring plug-ins into a first type of monitoring plug-ins, a second type of monitoring plug-ins and a third type of monitoring plug-ins according to the operation cycle and the monitoring result of the monitoring plug-ins, wherein the first type of monitoring plug-ins are monitoring plug-ins capable of normally acquiring monitoring data, the second type of monitoring plug-ins are monitoring plug-ins capable of acquiring monitoring data but having obvious network delay, and the third type of monitoring plug-ins are monitoring plug-ins which have serious network delay and do not return monitoring data;
whether normal polling of all the monitoring plug-ins can be completed within a preset polling time limit is judged through calculation, if the normal polling of all the monitoring plug-ins can be completed within the preset polling time limit, normal polling of all the monitoring plug-ins is executed, and if the normal polling of all the monitoring plug-ins cannot be completed within the preset polling time limit, the third type of monitoring plug-ins is removed from a first polling system and the non-time-limit polling of the third type of monitoring plug-ins is executed independently, wherein the first polling system is a normal polling system with polling time limit.
2. The method for controlling a monitoring plug-in based on time delay classification of claim 1, after removing the third type monitoring plug-in from the first polling system of the monitoring plug-in and performing the non-time polling of the third type monitoring plug-in, further comprising:
and if the third type of monitoring plug-in can obtain the monitoring data, moving the third type of monitoring plug-in back to the first polling system.
3. The method for controlling a monitoring plug-in based on time delay classification of claim 1, after removing the third type monitoring plug-in from the first polling system of the monitoring plug-in and performing the non-time polling of the third type monitoring plug-in, further comprising:
whether normal polling of the first type monitoring plug-in and the second type monitoring plug-in can be completed within a preset polling time limit or not is judged through calculation, if the normal polling of the first type monitoring plug-in and the second type monitoring plug-in can be completed within the preset polling time limit, normal polling of the first type monitoring plug-in and the second type monitoring plug-in is executed, and if the normal polling of the first type monitoring plug-in and the second type monitoring plug-in can not be completed within the preset polling time limit, the second type monitoring plug-in is removed from a first polling system of the monitoring plug-in and the non-time-limit polling of the second type monitoring plug-in is executed independently.
4. The method for controlling a monitoring plug-in based on time delay classification as claimed in claim 3, wherein after removing the second type of monitoring plug-in from the first polling system of the monitoring plug-in and performing the non-time polling of the second type of monitoring plug-in separately, the method further comprises:
and if the second type of monitoring plug-in can acquire the monitoring data and no obvious network delay exists, moving the second type of monitoring plug-in back to the first polling system.
5. A monitoring plug-in control device based on time delay classification is characterized in that the device can ensure that all monitoring plug-ins can finish polling within each polling time limit, and the device comprises:
the plug-in classification unit is used for classifying the monitoring plug-ins into a first type monitoring plug-in, a second type monitoring plug-in and a third type monitoring plug-in according to the operation cycle and the monitoring result of the monitoring plug-ins, wherein the first type monitoring plug-ins are monitoring plug-ins capable of normally acquiring monitoring data, the second type monitoring plug-ins are monitoring plug-ins capable of acquiring the monitoring data but having obvious network delay, and the third type monitoring plug-ins are monitoring plug-ins which have serious network delay and do not return monitoring data;
the first polling unit is used for judging whether normal polling of all the monitoring plugins can be completed within a preset polling time limit through calculation, if the normal polling of all the monitoring plugins can be completed within the preset polling time limit, executing normal polling of all the monitoring plugins, and if the normal polling of all the monitoring plugins can not be completed within the preset polling time limit, removing the third type of monitoring plugins from a first polling system and independently executing non-time-limit polling of the third type of monitoring plugins, wherein the first polling system is a normal polling system with polling time limit.
6. The monitoring card control device based on time delay classification as claimed in claim 5, further comprising:
and the first moving-back unit is used for moving the third type of monitoring plug-in back to the first polling system after the third type of monitoring plug-in can acquire the monitoring data.
7. The monitoring card control device based on time delay classification as claimed in claim 5, further comprising:
and the second polling unit is used for judging whether the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within a preset polling time limit through calculation, executing the normal polling of the first type of monitoring plug-in and the second type of monitoring plug-in if the first type of monitoring plug-in and the second type of monitoring plug-in can normally poll within the preset polling time limit, and removing the first polling system of the monitoring plug-in and independently executing the non-time-limit polling of the second type of monitoring plug-in if the first type of monitoring plug-in and the second type of monitoring plug-in can not normally poll within the preset polling time limit.
8. The monitoring card control apparatus based on time delay classification as claimed in claim 7, further comprising:
and the second moving-back unit is used for moving the second type of monitoring plug-in back to the first polling system when the second type of monitoring plug-in can acquire the monitoring data and no obvious network delay exists.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710107908.6A CN106897192B (en) | 2017-02-27 | 2017-02-27 | Monitoring plug-in control method and device based on time delay classification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710107908.6A CN106897192B (en) | 2017-02-27 | 2017-02-27 | Monitoring plug-in control method and device based on time delay classification |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106897192A CN106897192A (en) | 2017-06-27 |
CN106897192B true CN106897192B (en) | 2020-08-25 |
Family
ID=59184088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710107908.6A Active CN106897192B (en) | 2017-02-27 | 2017-02-27 | Monitoring plug-in control method and device based on time delay classification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897192B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357469B (en) * | 2016-11-16 | 2019-05-28 | 郑州云海信息技术有限公司 | A kind of dynamic adjusting method and device of monitoring resource mode |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4259147A (en) * | 1975-02-12 | 1981-03-31 | New Fibers International | Pulping process |
WO2005069542A1 (en) * | 2004-01-15 | 2005-07-28 | Utstarcom Korea Limited | Method for correcting time data in a network management application using a snmp |
CN101056202A (en) * | 2007-05-31 | 2007-10-17 | 武汉虹信通信技术有限责任公司 | A method for realizing the multi-task polling in the network management monitoring system |
CN102761439A (en) * | 2012-06-13 | 2012-10-31 | 烽火通信科技股份有限公司 | Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5560023A (en) * | 1994-09-07 | 1996-09-24 | International Business Machines Corporation | Automatic backup system for advanced power management |
CN104104536B (en) * | 2013-04-15 | 2018-08-17 | 北京中嘉时代科技有限公司 | A kind of concurrent poll monitoring method of self-regulation and device based on strategy |
CN105912439B (en) * | 2016-04-05 | 2018-12-14 | 浪潮电子信息产业股份有限公司 | A kind of method, apparatus and system of computer monitoring |
CN106357469B (en) * | 2016-11-16 | 2019-05-28 | 郑州云海信息技术有限公司 | A kind of dynamic adjusting method and device of monitoring resource mode |
-
2017
- 2017-02-27 CN CN201710107908.6A patent/CN106897192B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4259147A (en) * | 1975-02-12 | 1981-03-31 | New Fibers International | Pulping process |
WO2005069542A1 (en) * | 2004-01-15 | 2005-07-28 | Utstarcom Korea Limited | Method for correcting time data in a network management application using a snmp |
EP1704671A4 (en) * | 2004-01-15 | 2012-12-26 | Transpacific Sonic Llc | Method for correcting time data in a network management application using a snmp |
CN101056202A (en) * | 2007-05-31 | 2007-10-17 | 武汉虹信通信技术有限责任公司 | A method for realizing the multi-task polling in the network management monitoring system |
CN102761439A (en) * | 2012-06-13 | 2012-10-31 | 烽火通信科技股份有限公司 | Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system |
Also Published As
Publication number | Publication date |
---|---|
CN106897192A (en) | 2017-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9503347B2 (en) | Techniques associated with server transaction latency information | |
CN103634149B (en) | A kind of monitoring method for distributed system | |
CN112311617A (en) | Configured data monitoring and alarming method and system | |
CN110995497A (en) | Method for unified operation and maintenance in cloud computing environment, terminal device and storage medium | |
CN110650060A (en) | Processing method, equipment and storage medium for flow alarm | |
CN112596450B (en) | Real-time frequency spectrum monitoring system and method based on B/S framework | |
CN116975938B (en) | Sensor data processing method in product manufacturing process | |
CN113590337A (en) | Method and device for automatically adjusting cloud host configuration in cloud environment | |
CN114070711A (en) | Alarm information processing method and device, electronic equipment and storage medium | |
CN114244718A (en) | Power transmission line communication network equipment management system | |
CN106897192B (en) | Monitoring plug-in control method and device based on time delay classification | |
CN110942583B (en) | Method, device and terminal for reporting smoke alarm | |
CN105050103B (en) | A kind of recognition methods of signaling process and device | |
CN106294364B (en) | Method and device for realizing web crawler to capture webpage | |
CN110224872B (en) | Communication method, device and storage medium | |
US9172552B2 (en) | Managing an entity using a state machine abstract | |
CN112749285A (en) | Resource early warning method, system, equipment and medium based on knowledge graph | |
CN102546652B (en) | System and method for server load balancing | |
CN109462510B (en) | CDN node quality evaluation method and device | |
CN117076195A (en) | Parameter adjusting method and device, storage medium and electronic device | |
CN106911505B (en) | Polling optimization method and device based on monitoring plug-in state | |
CN116795643A (en) | Alarm management method | |
CN111010706A (en) | Exception recovery method and device | |
CN115712529A (en) | Edge intelligent equipment testing method, device, equipment and storage medium | |
CN106776181B (en) | Centralized debugging method and system for multiple board cards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200730 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |