CN102624544B - Method and device for creating monitoring tasks - Google Patents

Method and device for creating monitoring tasks Download PDF

Info

Publication number
CN102624544B
CN102624544B CN201210021884.XA CN201210021884A CN102624544B CN 102624544 B CN102624544 B CN 102624544B CN 201210021884 A CN201210021884 A CN 201210021884A CN 102624544 B CN102624544 B CN 102624544B
Authority
CN
China
Prior art keywords
monitor task
monitoring strategies
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.)
Expired - Fee Related
Application number
CN201210021884.XA
Other languages
Chinese (zh)
Other versions
CN102624544A (en
Inventor
任红颖
郑刃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210021884.XA priority Critical patent/CN102624544B/en
Publication of CN102624544A publication Critical patent/CN102624544A/en
Application granted granted Critical
Publication of CN102624544B publication Critical patent/CN102624544B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for creating monitoring tasks, relates to the technical field of network monitoring, and has the advantages of avoiding a user from voluntarily establishing the monitoring tasks, reducing the operation difficulty of the monitoring tasks and improving the operation efficiency. The method disclosed by the invention comprises the steps that an automatic monitoring task creating mode is started, and a monitoring strategy for automatically creating the monitoring tasks is obtained, wherein the monitoring strategy comprises monitoring object types and screening rules configured correspondingly to the monitoring object types; the screening rules are used for collecting running parameters of the corresponding monitoring objects, and determining whether the collected running parameters satisfy the screening rules or not; and if the collected running parameters satisfy the screening rules, the monitoring tasks corresponding to the monitoring objects are created and stored in a task management unit. The method and the device are mainly applied to the creating process of the monitoring tasks.

Description

The creation method of monitor task and device
Technical field
The present invention relates to Network Monitoring Technology field, particularly relate to a kind of creation method and device of monitor task.
Background technology
At present, Network Management Equipment is being applied in the process monitored IP network, and network manager needs to make monitoring scheme in advance, comprising monitored object type, data acquisition index, data collection cycle etc. corresponding to this monitored object type.When starting monitor task, network manager also needs the object selecting to monitor.
State in realization in the constructive process of monitor task, inventor finds that in prior art, at least there are the following problems: when formulating monitor task, and network manager needs to have higher professional skill, could formulate full and accurate network monitoring plan; Further, network manager is when selecting monitored object, and need artificial enquiry in mass network resource to select, efficiency is low, length consuming time.
Summary of the invention
Embodiments of the invention provide a kind of creation method and device of monitor task, according to predetermined monitoring strategies, automatically can create corresponding monitor task, avoid user and formulate monitor task voluntarily, reduce the operation easier of monitor task, improve operating efficiency.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A creation method for monitor task, comprising:
Start and automatically create monitor task pattern, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration;
Gather the operational factor of corresponding monitored object according to described screening rule, and determine whether the operational factor gathered meets described screening rule;
If meet, then create the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
A creation apparatus for monitor task, comprising:
Start unit, creates monitor task pattern automatically for starting;
Acquiring unit, when automatically creating monitor task pattern for starting at described start unit, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration;
Collecting unit, the screening rule for obtaining according to described acquiring unit gathers the operational factor of corresponding monitored object;
First determining unit, for determining whether the operational factor of described collecting unit collection meets described screening rule;
Creating unit, during for determining that in described first determining unit the operational factor gathered meets described screening rule, creating the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
Embodiments provide a kind of creation method and device of monitor task, with need in prior art manually to formulate monitoring strategies, screen monitored object, thus the method setting up corresponding monitor task is compared, can according to predetermined monitoring strategies, choose the network equipment needing monitoring, and automatically create corresponding monitor task, avoid user and formulate monitor task voluntarily, reduce the operation easier of monitor task, improve operating efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the creation method of a kind of monitor task in the embodiment of the present invention 1;
Fig. 2 is the flow chart of the creation method of a kind of monitor task in the embodiment of the present invention 2;
Fig. 3 is the composition frame chart of the creation apparatus of a kind of monitor task in the embodiment of the present invention 3;
Fig. 4 is the composition frame chart of the creation apparatus of another kind of monitor task in the embodiment of the present invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
Embodiments provide a kind of creation method of monitor task, as shown in Figure 1, the method comprises:
101, start establishment monitor task pattern automatically, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration.
Wherein, the type of described monitored object can but be not limited to types such as comprising network element, veneer, interface, the embodiment of the present invention does not enumerate at this, and user can arrange voluntarily according to actual needs and add.
Wherein, the described screening rule corresponding to described monitored object type configuration can but be not limited to and be set to realize with under type, such as:
Be directed to network element arrange screening rule can for when network element in running order and the type of described network element is terminating multiplexer time, choosing described network element is monitored object, but the embodiment of the present invention does not limit this, can also be that other choose the screening rule that this network element is monitored object.
Be directed to screening rule that interface arranges can for when interface the in running order and flow of described interface higher than screening rule in arrange threshold value time, choosing described interface is monitored object, but the embodiment of the present invention does not limit this, can also be that other choose the screening rule that this network element is monitored object.
It should be noted that, be directed to different monitored object types, can arrange different screening rules, concrete method to set up can according to the actual needs sets itself of user, and the embodiment of the present invention does not enumerate at this.
102, gather the operational factor of corresponding monitored object according to described screening rule, and determine whether the operational factor gathered meets described screening rule.
Wherein, described operational factor can but be not limited to attribute, running status, KPI value, can arrange voluntarily according to the actual needs of user and add.
If 103 meet, then create the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
Embodiments provide a kind of creation method of monitor task, with need in prior art manually to formulate monitoring strategies, screening monitored object, thus the method setting up corresponding monitor task is compared, according to predetermined monitoring strategies, the network equipment needing monitoring can be chosen, and automatically create corresponding monitor task, avoid user and formulate monitor task voluntarily, reduce the operation easier of monitor task, improve operating efficiency.
Embodiment 2
Embodiments provide a kind of creation method of monitor task, as shown in Figure 2, the method comprises:
201, establishment monitor task pattern is automatically started.
It should be noted that, start automatically create monitor task pattern can but be not limited to and realize in the following manner, specifically comprise:
Periodically start described automatic establishment monitor task pattern or the described automatic establishment monitor task pattern of manual activation startup.
Wherein, the cycle time that described periodicity starts described automatic establishment monitor task pattern use can by user according to actual needs, manually be arranged, and the embodiment of the present invention does not limit this.
Further, before step 201, startup create monitor task pattern, the method can also comprise:
Determine the pattern of the establishment monitor task started, described pattern comprises establishment monitor task pattern and manual creation monitor task pattern automatically.When starting automatic establishment monitor task pattern, perform step 202; When starting manual creation monitor task pattern, manual creation monitor task.
Wherein, described automatic establishment monitor task pattern is after the described automatic establishment monitor task pattern of startup, participates in without the need to user, and Network Management Equipment can complete needing the object of monitoring to set up corresponding monitor task automatically according to the monitoring strategies pre-seted.This manual creation monitor task pattern is after the described manual creation monitor task pattern of startup, needs user to formulate network monitoring policies voluntarily, and according to actual needs, relies on the object manually chosen one by one and need monitoring, and sets up corresponding monitor task; Wherein, the technology that the concrete methods of realizing of described manual creation monitor task pattern is known to the skilled person, the embodiment of the present invention is not described in detail this.
202, from database, read the monitoring strategies information automatically creating monitor task.
203, determine whether comprise monitoring strategies in described monitoring strategies information, if comprise, then perform step 204; If do not comprise, then perform step 205.
Wherein, describedly determine that whether comprising monitoring strategies in described monitoring strategies information can realize in the following manner, specifically comprises:
According to the pointing character carried in described monitoring strategies information, determine whether comprise monitoring strategies in described monitoring strategies information.Wherein, described pointing character can be set to a bit, such as, when pointing character is 0, represents in described monitoring strategies information and does not comprise monitoring strategies, when pointing character is 1, represents in described monitoring strategies information and comprises monitoring strategies.It should be noted that, determine that the implementation method whether comprising monitoring strategies in described monitoring strategies information is not limited to this, user can be arranged according to actual needs voluntarily, and the embodiment of the present invention does not limit this.
204, from described database, read described monitoring strategies, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration, and performs step 206.
It should be noted that, the monitoring strategies stored in described database can for manually to formulate and to prestore in a database, also can be that gateway device is formed and stored in database voluntarily according to network actual conditions, the embodiment of the present invention limit this.
205, receive the monitoring strategies of user's input, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration, and performs step 206.
It should be noted that, before the monitoring strategies receiving user's input, can also export prompted dialog frame, prompting user inputs the monitoring strategies of described automatic establishment monitor task.Wherein, the method that described prompting user inputs the monitoring strategies of described automatic establishment monitor task is not limited to and exports prompted dialog frame, and other method with prompt facility also can be applied in embodiments of the present invention.
206, gather the operational factor of corresponding monitored object according to the screening rule in described monitoring strategies, and determine whether the operational factor gathered meets described screening rule.If meet, then perform step 207; If do not meet, then perform step 208.
207, create the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
208, described monitored object is left intact.
In addition, it should be noted that, when webmaster arranges execution monitor task, if new network equipment access detected, corresponding screening rule can be determined according to the type of the described new network equipment, and gather the running status of the described new network equipment, to determine whether to need to monitor the described new network equipment.
Embodiments provide a kind of creation method of monitor task, with need in prior art manually to formulate monitoring strategies, screening monitored object, thus the method setting up corresponding monitor task is compared, according to predetermined monitoring strategies, the network equipment needing monitoring can be chosen, and automatically create corresponding monitor task, avoid user and formulate monitor task voluntarily, reduce the operation easier of monitor task, improve operating efficiency.
Further, in the present embodiment, for user provides the method for multiple establishment monitor task, user can select suitable method establishment monitor task according to actual needs, adds the selection of user, makes user obtain good use sense and is subject to.
Embodiment 3
Embodiments provide a kind of creation apparatus of monitor task, as shown in Figure 3, this device comprises: start unit 31, acquiring unit 32, collecting unit 33, determining unit 34, creating unit 35.
Start unit 31, creates monitor task pattern automatically for starting.
Acquiring unit 32, when automatically creating monitor task pattern for starting at described start unit, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration.
Collecting unit 33, the screening rule for obtaining according to described acquiring unit 32 gathers the operational factor of corresponding monitored object.Wherein, described operational factor is attribute, running status, KPI value.
Determining unit 34, for determining whether the operational factor that described collecting unit 33 gathers meets described screening rule.
Creating unit 35, during for determining that in described determining unit 34 operational factor gathered meets described screening rule, creating the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
Optionally, described start unit is concrete also for periodically starting described automatic establishment monitor task pattern or the described automatic establishment monitor task pattern of manual activation startup.
Further, as shown in Figure 4, described acquiring unit 32 comprises: the first read module 321, determination module 322, first acquisition module 323, second acquisition module 324.
First read module 321, for reading the monitoring strategies information automatically creating monitor task from database.
Determination module 322, for determining whether comprise monitoring strategies in the monitoring strategies information that described first read module 311 obtains.
First acquisition module 323, for when described determination module 322 is determined to comprise monitoring strategies in monitoring strategies information, reads described monitoring strategies from described database.
Second acquisition module 324, during for determining not comprise monitoring strategies in monitoring strategies information at described determination module 322, receives the monitoring strategies of user's input.
Embodiments provide a kind of creation apparatus of monitor task, with need in prior art manually to formulate monitoring strategies, screening monitored object, thus the method setting up corresponding monitor task is compared, according to predetermined monitoring strategies, the network equipment needing monitoring can be chosen, and automatically create corresponding monitor task, avoid user and formulate monitor task voluntarily, reduce the operation easier of monitor task, improve operating efficiency.
Further, in the present embodiment, for user provides the method for multiple establishment monitor task, user can select suitable method establishment monitor task according to actual needs, adds the selection of user, makes user obtain good use sense and is subject to.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (8)

1. a creation method for monitor task, is characterized in that, comprising:
Start and automatically create monitor task pattern, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration; Wherein, described monitored object type comprises network element, veneer and interface;
Gather the operational factor of corresponding monitored object according to described screening rule, and determine whether the operational factor gathered meets described screening rule;
If meet, then create the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
2. method according to claim 1, is characterized in that, described startup automatically creates monitor task pattern and comprises:
Periodically start described automatic establishment monitor task pattern or the described automatic establishment monitor task pattern of manual activation startup.
3. method according to claim 1 and 2, is characterized in that, the monitoring strategies that described acquisition creates monitor task automatically comprises:
The monitoring strategies information automatically creating monitor task is read from database;
Determine whether comprise monitoring strategies in described monitoring strategies information;
If comprise, then from described database, read described monitoring strategies;
If do not comprise, then receive the monitoring strategies of user's input.
4. method according to claim 3, is characterized in that, described operational factor is attribute, running status, crucial outcome-success index KPI value.
5. a creation apparatus for monitor task, is characterized in that, comprising:
Start unit, creates monitor task pattern automatically for starting;
Acquiring unit, when automatically creating monitor task pattern for starting at described start unit, obtain the monitoring strategies automatically creating monitor task, described monitoring strategies comprises monitored object type and corresponds to the screening rule of described monitored object type configuration; Wherein, described monitored object type comprises network element, veneer and interface;
Collecting unit, the screening rule for obtaining according to described acquiring unit gathers the operational factor of corresponding monitored object;
Determining unit, for determining whether the operational factor of described collecting unit collection meets described screening rule;
Creating unit, during for determining that in described determining unit the operational factor gathered meets described screening rule, creating the monitor task corresponding to described monitored object, and described monitor task is saved in role management unit.
6. device according to claim 5, is characterized in that, described start unit is specifically for periodically starting described automatic establishment monitor task pattern or the described automatic establishment monitor task pattern of manual activation startup.
7. the device according to claim 5 or 6, is characterized in that, described acquiring unit comprises:
First read module, for reading the monitoring strategies information automatically creating monitor task from database;
Determination module, for determining whether comprise monitoring strategies in the monitoring strategies information that described first read module obtains;
First acquisition module, during for comprising monitoring strategies in described determination module determination monitoring strategies information, reads described monitoring strategies from described database;
Second acquisition module, during for not comprising monitoring strategies in described determination module determination monitoring strategies information, receives the monitoring strategies of user's input.
8. device according to claim 7, is characterized in that, described operational factor is attribute, running status, KPI value.
CN201210021884.XA 2012-01-31 2012-01-31 Method and device for creating monitoring tasks Expired - Fee Related CN102624544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210021884.XA CN102624544B (en) 2012-01-31 2012-01-31 Method and device for creating monitoring tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210021884.XA CN102624544B (en) 2012-01-31 2012-01-31 Method and device for creating monitoring tasks

Publications (2)

Publication Number Publication Date
CN102624544A CN102624544A (en) 2012-08-01
CN102624544B true CN102624544B (en) 2015-01-21

Family

ID=46564235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210021884.XA Expired - Fee Related CN102624544B (en) 2012-01-31 2012-01-31 Method and device for creating monitoring tasks

Country Status (1)

Country Link
CN (1) CN102624544B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916856B (en) * 2012-10-30 2015-11-11 中国工商银行股份有限公司 A kind of application oriented network flow monitoring method, Apparatus and system
CN104009859A (en) * 2013-02-26 2014-08-27 成都勤智数码科技股份有限公司 Operation work order automatic processing method based on monitoring information
CN104734914A (en) * 2015-02-27 2015-06-24 百度在线网络技术(北京)有限公司 Method, device and system used for monitoring network
CN106209536B (en) * 2016-07-19 2019-10-01 珠海格力电器股份有限公司 A kind of air-conditioning equipment monitoring device and method
CN106802853B (en) * 2017-02-17 2020-08-21 苏州浪潮智能科技有限公司 Selection method and device based on multiple monitoring modes
CN110493086B (en) * 2019-09-06 2021-08-03 苏州凌犀物联网技术有限公司 Internet of things management method and Internet of things management platform
CN110751384A (en) * 2019-09-30 2020-02-04 口碑(上海)信息技术有限公司 Service monitoring method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972210A (en) * 2006-11-21 2007-05-30 华为技术有限公司 Network monitoring method and its system
CN101145977A (en) * 2006-09-11 2008-03-19 中兴通讯股份有限公司 A QoS monitoring system and its measuring method of IP data network
CN101847125A (en) * 2010-05-31 2010-09-29 高新宇 Method and system for detecting quality defect of software based on intelligent dynamic fuzzy detection
CN102195813A (en) * 2011-05-04 2011-09-21 成都勤智数码科技有限公司 Method and device for intelligently creating operation and maintenance worksheet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020194319A1 (en) * 2001-06-13 2002-12-19 Ritche Scott D. Automated operations and service monitoring system for distributed computer networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145977A (en) * 2006-09-11 2008-03-19 中兴通讯股份有限公司 A QoS monitoring system and its measuring method of IP data network
CN1972210A (en) * 2006-11-21 2007-05-30 华为技术有限公司 Network monitoring method and its system
CN101847125A (en) * 2010-05-31 2010-09-29 高新宇 Method and system for detecting quality defect of software based on intelligent dynamic fuzzy detection
CN102195813A (en) * 2011-05-04 2011-09-21 成都勤智数码科技有限公司 Method and device for intelligently creating operation and maintenance worksheet

Also Published As

Publication number Publication date
CN102624544A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
CN102624544B (en) Method and device for creating monitoring tasks
CN102902621B (en) Application performance measurement and reporting
CN110166285B (en) Network security experiment platform building method based on Docker
CN103530347B (en) A kind of Internet resources method for evaluating quality based on big data mining and system
KR20160120714A (en) Systems and methods for collecting, tracking, and storing system performance and event data for computing devices
CN110719194B (en) Network data analysis method and device
US10621069B2 (en) Information processing apparatus and non-transitory computer readable medium
CN107454103A (en) Network safety event process analysis method and system based on timeline
CN113051147A (en) Database cluster monitoring method, device, system and equipment
CN104468752A (en) Method and system for increasing utilization rate of cloud computing resources
CN103678389A (en) Method and device for clearing junk files
CN104615716B (en) Distributed social network information acquisition method and system based on priority sequence
CN106776165A (en) Server performance method of testing and system
CN104537071A (en) Benefit analysis method and system for parking lot
US20130282886A1 (en) Network management
CN102546235A (en) Performance diagnosis method and system of web-oriented application under cloud computing environment
CN114070707A (en) Internet performance monitoring method and system
CN106155793A (en) A kind of resource regulating method and device
CN103634158B (en) A kind of method for testing pressure and device of snmp management process
Parekh et al. Issues in bottleneck detection in multi-tier enterprise applications
CN104516916A (en) Method and device for analyzing network report incidence relation
CN103347272B (en) Network resource consumption appraisal procedure and device
CN105204975A (en) Performance monitoring system and method based on JavaEE system structure
CN109062746A (en) A kind of fault self-diagnosis method, device and the storage medium of server admin unit
CN112464085B (en) House source recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150121

Termination date: 20190131

CF01 Termination of patent right due to non-payment of annual fee