CN107220161B - A kind of monitoring method and device based on monitored item - Google Patents
A kind of monitoring method and device based on monitored item Download PDFInfo
- Publication number
- CN107220161B CN107220161B CN201710480525.3A CN201710480525A CN107220161B CN 107220161 B CN107220161 B CN 107220161B CN 201710480525 A CN201710480525 A CN 201710480525A CN 107220161 B CN107220161 B CN 107220161B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- item
- monitoring item
- monitored
- result
- 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 309
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012806 monitoring device Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring 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
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
Abstract
The present invention provides a kind of monitoring method and device based on monitored item, and for the above method the following steps are included: monitoring item is classified, obtaining monitoring item type is first monitoring item, polynary monitoring item;According to monitoring load data, corresponding monitoring item type is selected, the monitoring item is monitored and exports monitoring result;Realize it is more in monitoring resource, monitoring pressure it is larger when, by the way of integrating monitoring item, the operations such as file read-write, order execution, data processing are reduced, system resource is saved, reduce monitoring pressure, Monitoring Performance is improved, has reached monitoring efficiently, flexibly, has greatly improved user experience.
Description
Technical field
The invention belongs to field of intelligent monitoring more particularly to a kind of monitoring methods and device based on monitored item.
Background technique
In cloud computing era, mass data storage transmission process needs to occupy huge server resource, relatively large
Unit can all have hundreds and thousands of a server nodes, and each node has up to several hundred a monitoring items, high concurrent and magnanimity number
It is the intellectual monitoring significant problem and challenge to be faced according to processing, improving Monitoring Performance becomes the primary goal of intellectual monitoring.
With this, there is an urgent need to provide efficient, the flexible intellectual monitoring scheme of one kind to solve above-mentioned technical problem.
Summary of the invention
The present invention provides a kind of monitoring method and device based on monitored item, to solve the above problems.
The embodiment of the present invention provides a kind of monitoring method based on monitored item.The above method is the following steps are included: will monitoring
Item is classified, and obtaining monitoring item type is first monitoring item, polynary monitoring item;
According to monitoring load data, corresponding monitoring item type is selected, the monitoring item is monitored and exports monitoring knot
Fruit.
The embodiment of the present invention provides a kind of monitoring device based on monitored item, including monitoring item categorization module, monitoring result
Output module;Wherein, the monitoring item categorization module is connected with the testing result output module;
The monitoring item categorization module, for monitoring item to be classified, obtain monitoring item type be first monitoring item, it is polynary
Monitoring item;
The monitoring result output module, for corresponding monitoring item type being selected, to the prison according to monitoring load data
Item is surveyed to be monitored and export monitoring result.
Pass through following scheme: monitoring item is classified, obtaining monitoring item type is first monitoring item, polynary monitoring item;Root
According to monitoring load data, corresponding monitoring item type is selected, the monitoring item is monitored and exports monitoring result;It realizes
Monitoring resource is more, when monitoring pressure is larger, by the way of integrating monitoring item, reduces file read-write, order executes, at data
The operation such as reason, saves system resource, reduces monitoring pressure, improves Monitoring Performance, has reached monitoring efficiently, flexibly, has greatly promoted
User experience.
Pass through following scheme: for discrete type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results
The alarm status of collection, monitored results;For continuous type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results
Numerical value and unit, alarm threshold, monitored results numerical value and alarm threshold comparison result;It provides for different type monitoring item
Corresponding monitoring result format, as long as monitoring item is exported according to the rule, can directly be monitored system compatible, be effectively improved existing
There is compatibility mode.
Pass through following scheme: monitoring item polynary for discrete type, output monitoring result include: the higher level of each first monitoring item
Node, the title of each first monitoring item, the state of each first monitoring item, each first monitoring item state set;It is more for continuous type
First monitoring item, output monitoring result include: the superior node of each first monitoring item, the title of each first monitoring item, each member prison
Survey the comparison result of the detected value of item, alarm threshold, detected value and alarm threshold;It provides corresponding for different type monitoring item
Monitoring result format, as long as monitoring item according to the rule export, can directly be monitored system compatible, be effectively improved existing simultaneous
Capacitance type.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 show the monitoring method process flow diagram based on monitored item of the embodiment of the present invention 1;
Fig. 2 show the monitoring method process flow diagram based on monitored item of the embodiment of the present invention 2;
Fig. 3 show the monitoring device structure chart based on monitored item of the embodiment of the present invention 3.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
Fig. 1 show the monitoring method process flow diagram based on monitored item of the embodiment of the present invention 1, comprising the following steps:
Step 101: monitoring item being classified, obtaining monitoring item type is first monitoring item, polynary monitoring item;
Wherein, the polynary monitoring item includes multiple first monitoring items.
Step 102: according to monitoring load data, selecting corresponding monitoring item type, the monitoring item is monitored and defeated
Monitoring result out.
Further, according to the detected value of the monitoring item, the monitoring item is divided into discrete type monitoring item, continuous type is supervised
Survey item.
Further, if monitoring load data is less than preset value, using the first monitoring item selected as independent monitoring item
It is monitored and exports monitoring result.
Wherein, for discrete type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results collection, monitoring knot
The alarm status of fruit.
Wherein, for continuous type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results numerical value and list
Position, alarm threshold, monitored results numerical value and alarm threshold comparison result.
Further, if monitoring load data is greater than or equal to preset value, first monitoring item of selection is combined into polynary
Monitoring item is monitored and exports monitoring result.
Wherein, monitoring item polynary for discrete type, output monitoring result include: the superior node, each of each first monitoring item
The title of a member monitoring item, the state of each first monitoring item, each first monitoring item state set.
Wherein, monitoring item polynary for continuous type, output monitoring result include: the superior node, each of each first monitoring item
The title of a member monitoring item, the detected value of each first monitoring item, alarm threshold, detected value and alarm threshold comparison result.
Specifically,
The embodiment of the present invention classifies monitoring item according to significance level and membership, can segment or combine,
Change monitoring granularity under difference monitoring scene, monitoring task is more, when monitoring node pressure is larger, can simplify monitoring item, subtract
Few order executes and file read-write number, mitigates monitoring pressure;Monitoring resource is less, and monitoring pressure then uses loose when smaller
Supervisory Surveillance Program, obtain in detail monitoring.Furthermore the monitoring item processing mode standardized, the input and output specification of formatting are compiled
Code mode, when needing to monitor new monitoring item, as long as monitoring information Formatting Output can be subtracted with the currently monitored system docking
The difficulty for having lacked exploitation, increases the scalability of system.
A kind of standardization monitoring item monitoring method realization process schematic is as shown in Fig. 2.
Specific implementation process is as follows: monitoring item being classified first, is divided into first monitoring item (such as system CPU, memory)
And polynary monitoring item (such as disk utilization (including multiple disks)), polynary monitoring item includes multiple first monitoring items.
When system monitoring pressure is smaller, certain member monitoring items can separately as monitoring item, user it is available these
The detailed monitoring information of monitoring item;When monitoring pressure is larger, certain first monitoring items can be combined into polynary monitoring item and monitored, subtracted
Few monitoring item number, reduces system pressure.
By writing standardization output module, for receiving monitoring item monitoring data, Formatting Output, and and monitoring script
Docking, monitoring script are dealt with monitoring data are formatted, detailed process are as follows:
1, discrete type member monitoring item: output monitoring item title, the alarm status of monitored results collection and each result.
Such as: discrete type member monitoring item: the entitled A of monitoring item, monitored results are discrete state value, corresponding alarm specification
Are as follows: in resource the state of A be normal/abnormal/state 1/ .../.
2, continuous type member monitoring item: output monitoring item title, monitored results numerical value and unit, corresponding alarm threshold, packet
Include high-low threshold value and corresponding severity.
Such as: continuous type member monitoring item: the entitled A of monitoring item, monitored results are continuous numerical value, corresponding alarm specification
Are as follows: the value of A is in resource, is higher than (being lower than) alarm threshold.
3, the polynary monitoring item of discrete type: the superior node of each member monitoring item, each member monitoring item title and state, shape
State set and corresponding severity
Such as: the polynary monitoring item of discrete type: there are multiple first monitoring item B1, B2 ... in some node of resource N, export lattice
Formula is divided to two kinds:
A resource interior joint N monitoring item B1 state is b1, and B2 state is b2 ...,
B resource interior joint N monitoring item state has 2 for c1's, is respectively as follows: B1, B2;State has 2 for c2's, respectively
Are as follows: B3, B4;
4, the polynary monitoring item of continuous type: the superior node of each member monitoring item, each member monitoring item title and detected value, it is right
The alarm threshold answered, including high-low threshold value and corresponding severity.
The polynary monitoring item of continuous type: there are multiple first monitoring item B1, B2 ..., output formats in some node of resource N are as follows:
A resource interior joint N monitoring item B1 numerical value is b1, is more than threshold value c1;B2 numerical value is b2 ...,
Fig. 3 show the monitoring device structure chart based on monitored item of the embodiment of the present invention 3, including monitoring item classification mould
Block, monitoring result output module;Wherein, the monitoring item categorization module is connected with the testing result output module;
The monitoring item categorization module, for monitoring item to be classified, obtain monitoring item type be first monitoring item, it is polynary
Monitoring item;
The monitoring result output module, for corresponding monitoring item type being selected, to the prison according to monitoring load data
Item is surveyed to be monitored and export monitoring result.
Pass through following scheme: monitoring item is classified, obtaining monitoring item type is first monitoring item, polynary monitoring item;Root
According to monitoring load data, corresponding monitoring item type is selected, the monitoring item is monitored and exports monitoring result;It realizes
Monitoring resource is more, when monitoring pressure is larger, by the way of integrating monitoring item, reduces file read-write, order executes, at data
The operation such as reason, saves system resource, reduces monitoring pressure, improves Monitoring Performance, has reached monitoring efficiently, flexibly, has greatly promoted
User experience.
Pass through following scheme: for discrete type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results
The alarm status of collection, monitored results;For continuous type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results
Numerical value and unit, alarm threshold, monitored results numerical value and alarm threshold comparison result;It provides for different type monitoring item
Corresponding monitoring result format, as long as monitoring item is exported according to the rule, can directly be monitored system compatible, be effectively improved existing
There is compatibility mode.
Pass through following scheme: monitoring item polynary for discrete type, output monitoring result include: the higher level of each first monitoring item
Node, the title of each first monitoring item, the state of each first monitoring item, each first monitoring item state set;It is more for continuous type
First monitoring item, output monitoring result include: the superior node of each first monitoring item, the title of each first monitoring item, each member prison
Survey the comparison result of the detected value of item, alarm threshold, detected value and alarm threshold;It provides corresponding for different type monitoring item
Monitoring result format, as long as monitoring item according to the rule export, can directly be monitored system compatible, be effectively improved existing simultaneous
Capacitance type.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (3)
1. a kind of monitoring method based on monitored item, which comprises the following steps:
Monitoring item is classified, obtaining monitoring item type is first monitoring item, polynary monitoring item;
According to monitoring load data, corresponding monitoring item type is selected, monitoring result is monitored and exported to the monitoring item,
Wherein, if monitoring load data is less than preset value, the first monitoring item selected is monitored as independent monitoring item
And export monitoring result;If monitoring load data is greater than or equal to preset value, first monitoring item of selection is combined into polynary prison
It surveys item and is monitored and exports monitoring result,
Wherein, according to the detected value of the monitoring item, the monitoring item is divided into discrete type monitoring item, continuous type monitoring item,
For discrete type member monitoring item, the alarm that monitoring result includes: monitoring item title, monitored results collection, monitored results is exported
State,
For continuous type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results numerical value and unit, alarm threshold
The comparison result of value, monitored results numerical value and alarm threshold,
Monitoring item polynary for discrete type, output monitoring result include: the superior node of each first monitoring item, each first monitoring item
Title, the state of each first monitoring item, each first monitoring item state set,
Monitoring item polynary for continuous type, output monitoring result include: the superior node of each first monitoring item, each first monitoring item
Title, the detected value of each first monitoring item, alarm threshold, detected value and alarm threshold comparison result.
2. monitoring method according to claim 1, which is characterized in that the polynary monitoring item includes multiple first monitoring items.
3. a kind of monitoring device based on monitored item, which is characterized in that export mould including monitoring item categorization module, monitoring result
Block;Wherein, the monitoring item categorization module is connected with the monitoring result output module;
The monitoring item categorization module, for monitoring item to be classified, obtaining monitoring item type is first monitoring item, polynary monitoring
?;
The monitoring result output module, for corresponding monitoring item type being selected, to the monitoring item according to monitoring load data
It is monitored and exports monitoring result,
Wherein, if monitoring load data is less than preset value, the first monitoring item selected is monitored as independent monitoring item
And export monitoring result;If monitoring load data is greater than or equal to preset value, first monitoring item of selection is combined into polynary prison
It surveys item and is monitored and exports monitoring result,
Wherein, according to the detected value of the monitoring item, the monitoring item is divided into discrete type monitoring item, continuous type monitoring item,
For discrete type member monitoring item, the alarm that monitoring result includes: monitoring item title, monitored results collection, monitored results is exported
State,
For continuous type member monitoring item, exporting monitoring result includes: monitoring item title, monitored results numerical value and unit, alarm threshold
The comparison result of value, monitored results numerical value and alarm threshold,
Monitoring item polynary for discrete type, output monitoring result include: the superior node of each first monitoring item, each first monitoring item
Title, the state of each first monitoring item, each first monitoring item state set,
Monitoring item polynary for continuous type, output monitoring result include: the superior node of each first monitoring item, each first monitoring item
Title, the detected value of each first monitoring item, alarm threshold, detected value and alarm threshold comparison result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710480525.3A CN107220161B (en) | 2017-06-21 | 2017-06-21 | A kind of monitoring method and device based on monitored item |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710480525.3A CN107220161B (en) | 2017-06-21 | 2017-06-21 | A kind of monitoring method and device based on monitored item |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220161A CN107220161A (en) | 2017-09-29 |
CN107220161B true CN107220161B (en) | 2019-10-25 |
Family
ID=59951133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710480525.3A Active CN107220161B (en) | 2017-06-21 | 2017-06-21 | A kind of monitoring method and device based on monitored item |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220161B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317658A (en) * | 2014-10-17 | 2015-01-28 | 华中科技大学 | MapReduce based load self-adaptive task scheduling method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508718B (en) * | 2011-11-22 | 2015-04-15 | 杭州华三通信技术有限公司 | Method and device for balancing load of virtual machine |
-
2017
- 2017-06-21 CN CN201710480525.3A patent/CN107220161B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317658A (en) * | 2014-10-17 | 2015-01-28 | 华中科技大学 | MapReduce based load self-adaptive task scheduling method |
Non-Patent Citations (1)
Title |
---|
网络安全管理平台的设计与实现;裴娜;《中国优秀硕士学位论文全文数据库》;20061115;第1页第1.1节-第53页第7.1节 * |
Also Published As
Publication number | Publication date |
---|---|
CN107220161A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107248927B (en) | Generation method of fault positioning model, and fault positioning method and device | |
CN107577588B (en) | Intelligent operation and maintenance system for mass log data | |
US9501562B2 (en) | Identification of complementary data objects | |
CN112118141B (en) | Communication network-oriented alarm event correlation compression method and device | |
CN102576311B (en) | For being improved the method and system of software execution time by Optimal performance model | |
EP3432520B1 (en) | Efficient storage and querying of time series metrics | |
CN109948641A (en) | Anomaly groups recognition methods and device | |
CN111240876B (en) | Fault positioning method and device for micro-service, storage medium and terminal | |
US20170149800A1 (en) | System and method for information security management based on application level log analysis | |
CN110471945B (en) | Active data processing method, system, computer equipment and storage medium | |
CN104391879A (en) | Method and device for hierarchical clustering | |
US10452459B2 (en) | Device driver telemetry | |
CN104410552A (en) | Monitoring data collecting method and device | |
El Mrabet et al. | A performance comparison of data mining algorithms based intrusion detection system for smart grid | |
CN102866942A (en) | Method and system for monitoring software service quality based on Bayesian inference | |
CN108268355A (en) | For the monitoring system and method for data center | |
US8601318B2 (en) | Method, apparatus and computer program product for rule-based directed problem resolution for servers with scalable proactive monitoring | |
KR20210011822A (en) | Method of detecting abnormal log based on artificial intelligence and system implementing thereof | |
CN107220161B (en) | A kind of monitoring method and device based on monitored item | |
CN105653419B (en) | Realization method and system of tracing to the source based on monitoring point | |
CN110727565B (en) | Network equipment platform information collection method and system | |
CN112749003A (en) | Method, apparatus and computer-readable storage medium for system optimization | |
CN109634808A (en) | A kind of chain type monitor event root cause analysis method based on association analysis | |
CN114706893A (en) | Fault detection method, device, equipment and storage medium | |
CN112612679A (en) | System running state monitoring method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |