CN110708197A - Monitoring device, method for setting monitoring policy of monitoring device, and storage medium - Google Patents
Monitoring device, method for setting monitoring policy of monitoring device, and storage medium Download PDFInfo
- Publication number
- CN110708197A CN110708197A CN201910939697.1A CN201910939697A CN110708197A CN 110708197 A CN110708197 A CN 110708197A CN 201910939697 A CN201910939697 A CN 201910939697A CN 110708197 A CN110708197 A CN 110708197A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- strategy
- user
- policy
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a monitoring device, a method for setting a monitoring strategy of the monitoring device and a computer readable storage medium. Different default basic strategies are set according to different monitoring templates, then a monitoring strategy group and strategy configuration which can be defined by a user are set based on the default basic strategies, a user-defined strategy is formed when the user defines the monitoring strategy, and finally, when a monitoring instruction of the user is obtained, a monitoring item corresponding to the monitoring instruction is associated with the user-defined strategy. The invention can solve the technical problems that the existing monitoring device can not be suitable for various service scenes and can flexibly monitor various different types of service application systems.
Description
Technical Field
The present invention relates to the field of monitoring technologies, and in particular, to a method for setting a monitoring policy of a monitoring device, and a computer-readable storage medium.
Background
In the construction of modern IT application platform systems, monitoring devices are already essential. The system bears important responsibilities of availability guarantee, performance check, exception positioning and handling and the like of a plurality of application systems, and the application, configuration and monitoring core strategies of the system are extremely important functions and links.
In the design of the conventional monitoring device, whether the acquisition value of a certain monitoring item reaches a preset threshold value or not needs to send an alarm, the monitoring device needs to be configured one by one, so that a large amount of labor input needs to be spent, and follow-up statistics and maintenance are not facilitated. In order to solve the problem, the alarm strategy of the existing monitoring device adopts a template type matching mode, and uses simpler configuration, so that the effect of monitoring all target objects can be achieved, the operation is simplified, and the manual configuration investment is saved. However, the unified strategy cannot achieve different monitoring threshold settings for different target objects, which results in that the method cannot be applied to various service scenarios.
Disclosure of Invention
The invention mainly aims to provide a monitoring device, a method for setting a monitoring strategy of the monitoring device and a computer readable storage medium, and aims to solve the technical problems that the existing monitoring device cannot be suitable for various service scenes and flexibly monitors various different types of service application systems.
In order to achieve the above object, the present invention provides a monitoring device, including a memory and a processor, where the memory stores a setting program of a monitoring policy of the monitoring device, and the setting program of the monitoring policy of the monitoring device, when executed by the processor, implements the following steps:
a first processing step: setting different default basic strategies according to different monitoring templates;
a second processing step: setting a monitoring strategy group and strategy configuration which can be customized by a user based on the default basic strategy, and forming a customized strategy when the user finishes customizing;
and (3) association step: and when a monitoring instruction of a user is obtained, associating a monitoring item corresponding to the monitoring instruction with the user-defined strategy.
Preferably, the second processing step includes:
an acquisition step: acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
a strategy forming step: and when a user-defined editing instruction of a user is received, forming the user-defined strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information.
Preferably, the monitoring policy group includes a first level group and a second level group, the importance level of the first level group is higher than that of the second level group, and the policy forming step includes:
when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
and if the editing information and/or the attribute modification information meet a second preset condition, the modified monitoring strategy group is a self-defined second level group.
Preferably, the processor executes a setting program of the monitoring policy of the monitoring device, and after the associating step, further implements the steps of:
and when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy.
Preferably, when the monitoring item is successfully associated with the custom policy, the step of monitoring the monitoring item according to the custom monitoring policy includes:
when the monitoring item is successfully associated with the user-defined strategy, monitoring the current state information of the monitoring item;
and if the current state information of the monitoring item does not meet the custom monitoring strategy, triggering an alarm.
In order to achieve the above object, the present invention further provides a method for setting a monitoring policy of a monitoring device, wherein the method for setting a monitoring policy of a monitoring device includes the following steps:
a first processing step: setting different default basic strategies according to different monitoring templates;
a second processing step: setting a monitoring strategy group and strategy configuration which can be customized by a user based on the default basic strategy, and forming a customized strategy when the user finishes customizing;
and (3) association step: and when a monitoring instruction of a user is obtained, associating a monitoring item corresponding to the monitoring instruction with the user-defined strategy.
Preferably, the second processing step includes:
an acquisition step: acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
a strategy forming step: and when a user-defined editing instruction of a user is received, forming the user-defined strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information.
Preferably, the monitoring policy group includes a first level group and a second level group, the importance level of the first level group is higher than that of the second level group, and the policy forming step includes:
when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
and if the editing information and/or the attribute modification information meet a second preset condition, the modified monitoring strategy group is a self-defined second level group.
Preferably, when the monitoring instruction of the user is obtained, the step of associating the monitoring item corresponding to the monitoring instruction with the custom policy further includes:
and when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy.
To achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon a setting program of a monitoring policy of a monitoring apparatus, the setting program of the monitoring policy of the monitoring apparatus being executable by at least one processor to cause the at least one processor to execute the steps of the setting method of the monitoring policy of the monitoring apparatus as described above.
According to the monitoring device, the method for setting the monitoring strategy of the monitoring device and the computer readable storage medium, different default basic strategies are set according to different monitoring templates, then a monitoring strategy group and strategy configuration which can be defined by a user are set based on the default basic strategies, a user-defined strategy is formed when the user finishes defining, and finally, when a monitoring instruction of the user is obtained, a monitoring item corresponding to the monitoring instruction is associated with the user-defined strategy. Therefore, various different types of service application systems can be flexibly monitored by customizing the strategy and the rule by a user in various service scenes and simultaneously using the default rule preset by the system in an auxiliary manner.
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, 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 the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic operating environment diagram of an embodiment of a setting program of a monitoring policy of a monitoring device according to the present invention;
FIG. 2 is a block diagram of a monitoring policy setting routine of the monitoring device according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for setting a monitoring policy of a monitoring device according to an embodiment of the present invention;
FIG. 4 is a detailed flowchart of step S2 in FIG. 3;
fig. 5 is a detailed flowchart of step S22 in fig. 4.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The invention provides a setting program of a monitoring strategy of a monitoring device.
Fig. 1 is a schematic operating environment diagram of a monitoring policy setting program 10 of a monitoring device according to a first embodiment of the present invention.
In the present embodiment, the setting program 10 of the monitoring policy of the monitoring apparatus is installed and run in the monitoring apparatus 1. The monitoring device 1 may be a computing device such as a desktop computer, a notebook, a palm computer, a server, and the like. The monitoring device 1 may include, but is not limited to, a memory 11, a processor 12, and a display 13. Fig. 1 only shows the monitoring device 1 with components 11-13, but it is to be understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 11 may in some embodiments be an internal storage unit of the monitoring apparatus 1, such as a hard disk or a memory of the monitoring apparatus 1. The memory 11 may also be an external storage device of the monitoring apparatus 1 in other embodiments, such as a plug-in hard disk provided on the monitoring apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also comprise both an internal memory unit of the monitoring apparatus 1 and an external memory device. The memory 11 is used for storing application software installed in the monitoring apparatus 1 and various kinds of data, such as program codes of the setting program 10 of the monitoring policy of the monitoring apparatus. The memory 11 may also be used to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 11 or Processing data, such as the setting program 10 executing the monitoring policy of the monitoring device.
The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 13 is used for displaying information processed in the monitoring apparatus 1 and for displaying a visual user interface. The components 11-13 of the monitoring device 1 communicate with each other via a program bus.
Referring to fig. 2, a block diagram of a first embodiment of a monitoring policy setting program 10 of the monitoring apparatus according to the present invention is shown. In this embodiment, the setting program 10 of the monitoring policy of the monitoring apparatus may be divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by one or more processors (in this embodiment, the processor 12) to complete the present invention. For example, in fig. 2, the setting program of the monitoring policy of the monitoring apparatus may be divided into a first processing module 101, a second processing module 102, and an association module 103. The module referred to in the present invention refers to a series of computer program instruction segments capable of performing specific functions, which are more suitable than programs for describing the execution process of the setting program 10 of the monitoring policy of the monitoring apparatus in the monitoring apparatus 1, wherein:
the first processing module 101 is configured to set different default basic policies according to different monitoring templates;
in this embodiment, the monitoring device is provided with a monitoring policy library, and different monitoring templates, monitoring items, monitoring policies corresponding to the monitoring items, and the like are stored in the monitoring policy library. The monitoring template is a structured file in the monitoring strategy library, and different default basic strategies are set for different monitoring templates, so that the requirements of using different monitoring threshold values or multi-level setting for different monitoring items can be met. By using the default basic strategy preset by the monitoring device in an auxiliary way, various different types of service application systems can be flexibly monitored.
The second processing module 102 is configured to set a monitoring policy group and a policy configuration that can be customized by a user based on the default basic policy, and form a customized policy when the user completes customization;
in this embodiment, the user may divide the level group classes of the monitoring policy group for the default basic policies corresponding to different monitoring modules, or may divide the level group classes of the monitoring policy group after the user performs custom editing based on the default basic policies. The monitoring strategy group comprises a first level group and a second level group, and the importance levels of the first level group and the second level group are reduced in sequence. Of course, in other embodiments, the level division of the monitoring policy group may be performed in multiple levels according to actual needs, and is not limited to the two levels listed here.
The monitoring device can configure a visual interface so that a user can configure information of each configuration item such as a monitoring item, a monitoring strategy, each parameter configured by a specific strategy, a preset alarm mode and the like.
Specifically, the user-defined method mainly includes: modifying the specific configuration parameter range or the specific numerical value of the default basic strategy, and dividing the level group to which the monitoring strategy group belongs.
And the association module 103 is configured to associate a monitoring item corresponding to the monitoring instruction with the custom policy when the monitoring instruction of the user is obtained.
In this embodiment, the triggering manner of the monitoring instruction may be that a user clicks or touches a predetermined position of a configuration item of the visualized interface, or triggers the monitoring instruction by other manners such as voice. The present invention is not particularly limited in the manner of triggering. The monitoring items include CPU occupancy, CPU load, memory usage, online or offline status, etc., and it is understood that the specific contents of the monitoring items may be different or increased or decreased according to different usage scenarios to which the monitoring device is applied, and are not limited to the above-mentioned examples.
When a monitoring instruction of a user is received, associating a monitoring item corresponding to the monitoring instruction with the custom strategy so that the custom strategy after adjustment and modification acts on the corresponding monitoring item immediately.
And when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy. Specifically, when the monitoring item is successfully associated with the custom policy, monitoring the current state information of the monitoring item; and if the current state information of the monitoring item does not meet the custom monitoring strategy, triggering an alarm.
Assuming that the current state information of the monitoring item is that the CPU occupies 50%, the memory occupies 12%, the equipment is on-line and the like, judging that the current state information meets the judgment strategy or standard of the self-defined monitoring strategy according to a monitoring device; when the current state information is any one of conditions of 85% of CPU occupation, 85% of memory occupation, equipment offline and the like, the monitoring device judges that the current state information does not meet the judgment strategy or standard of the custom monitoring strategy, and at the moment, an alarm is triggered. Of course, in other embodiments, conditions may be added, such as triggering an alarm if each parameter in the status information continuously exceeds its corresponding threshold for a predetermined number of times.
Compared with the prior art, in the embodiment, different default basic strategies are set according to different monitoring templates, then a monitoring strategy group and strategy configuration which can be customized by a user are set based on the default basic strategies, a customized strategy is formed when the user finishes customizing, and finally, when a monitoring instruction of the user is obtained, a monitoring item corresponding to the monitoring instruction is associated with the customized strategy. Therefore, various different types of service application systems can be flexibly monitored by customizing the strategy and the rule by a user in various service scenes and simultaneously using the default rule preset by the system in an auxiliary manner.
Based on the above embodiment, the second processing module 102 includes:
the acquiring unit is used for acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
and the strategy forming unit is used for forming the custom strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information when receiving a custom editing instruction of the user.
In this embodiment, the parameter ranges of the default basic policy may also be a determined value under a specific condition. The monitoring item attribute information at least includes function information and importance level information. Assuming that the monitoring device is applied to the financial field, the functional information comprises input, inquiry, account checking and the like, and the corresponding important level information is respectively low level, low level and high level; and assuming that the monitoring device is applied to an attendance system, the functional information comprises a card punch, a leave request and the like, and the corresponding important level information is respectively a low level and a high level. It should be understood that the above examples are only for the understanding of the present invention, and are not intended to limit the present invention.
When a user-defined editing instruction of a user is received, if the user only modifies the editing information of each parameter range, the user-defined strategy is correspondingly formed according to the editing information of each parameter range of the user; if the user only corresponds to the monitoring item attribute information corresponding to the default basic strategy, the user-defined strategy is correspondingly formed according to the attribute modification information corresponding to the monitoring item attribute information; and if the user modifies the editing information of each parameter range and the monitoring item attribute information corresponding to the default basic strategy at the same time, the user-defined strategy is correspondingly formed according to the editing information of each parameter range and the attribute modification information corresponding to the monitoring item attribute information by the user.
According to the scheme, various different types of service application systems can be flexibly monitored by forming the user-defined strategy, and a large amount of manpower input and subsequent system maintenance cost are reduced.
Based on the above embodiment, the monitoring policy group includes a first level group and a second level group, the importance level of the first level group is higher than that of the second level group, and the policy forming unit is configured to:
when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
and if the editing information and/or the attribute modification information meet a second preset condition, the modified monitoring strategy group is a self-defined second level group.
In this embodiment, assuming that the monitoring apparatus is applied to the financial field, the parameter default range of the monitoring item "account checking" is "5 to 8 s", and the corresponding important level is the high level, when the user only edits the parameter range of the monitoring item "account checking", the default range "5 to 8 s" is modified to "1 to 3 s", and since the time range meets the first preset condition, the modified monitoring policy group is the self-defined first level group, that is, the highest level policy group. When the user only modifies the attribute information of the monitoring item and the high level is modified into the highest level, the modified monitoring strategy group is a self-defined first level group, namely, the highest level strategy group. Similarly, if the user modifies the parameter default range and the attribute information of the monitoring item at the same time, the modified monitoring policy group is a self-defined first level group, that is, the highest level policy group.
Supposing that the monitoring device is applied to the field of attendance, the parameter default range of the monitoring item 'attendance' is '1-3 s', the corresponding important level is a high level, when a user only edits the parameter range of the monitoring item 'attendance', the parameter range is modified from the default range '1-3 s' to '15 s-30 s', and the time range meets a second preset condition, the modified monitoring strategy group is a self-defined second level group, namely a low level strategy group. When the user only modifies the attribute information of the monitoring item and the high level is modified into the low level, the modified monitoring strategy group is a self-defined second level group, namely a low level strategy group. Similarly, if the user modifies the parameter default range and the attribute information of the monitoring item at the same time, the modified monitoring policy group is a customized second-level group, that is, the highest-level policy group.
It is understood that the first condition may be set to a time range of "1 to 3 s", and/or the importance level is a high level of "highest level"; the second condition may be set to a time range of "15 s to 30 s" and/or the importance level is high level to "low level". Aiming at different business fields, the number of the corresponding conditions and each corresponding parameter in the conditions can be reasonably set.
Referring to fig. 3, in a first embodiment, the present invention provides a method for setting a monitoring policy of a monitoring device, including the steps of:
step S1, setting different default basic strategies according to different monitoring templates;
in this embodiment, the monitoring device is provided with a monitoring policy library, and different monitoring templates, monitoring items, monitoring policies corresponding to the monitoring items, and the like are stored in the monitoring policy library. The monitoring template is a structured file in the monitoring strategy library, and different default basic strategies are set for different monitoring templates, so that the requirements of using different monitoring threshold values or multi-level setting for different monitoring items can be met. By using the default basic strategy preset by the monitoring device in an auxiliary way, various different types of service application systems can be flexibly monitored.
Step S2, setting a monitoring strategy group and strategy configuration which can be defined by a user based on the default basic strategy, and forming a user-defined strategy when the user finishes defining;
in this embodiment, the user may divide the level group classes of the monitoring policy group for the default basic policies corresponding to different monitoring modules, or may divide the level group classes of the monitoring policy group after the user performs custom editing based on the default basic policies. The monitoring strategy group comprises a first level group and a second level group, and the importance levels of the first level group and the second level group are reduced in sequence. Of course, in other embodiments, the level division of the monitoring policy group may be performed in multiple levels according to actual needs, and is not limited to the two levels listed here.
The monitoring device can configure a visual interface so that a user can configure information of each configuration item such as a monitoring item, a monitoring strategy, each parameter configured by a specific strategy, a preset alarm mode and the like.
Specifically, the user-defined method mainly includes: modifying the specific configuration parameter range or the specific numerical value of the default basic strategy, and dividing the level group to which the monitoring strategy group belongs.
And step S3, when a monitoring instruction of a user is obtained, associating the monitoring item corresponding to the monitoring instruction with the custom strategy.
In this embodiment, the triggering manner of the monitoring instruction may be that a user clicks or touches a predetermined position of a configuration item of the visualized interface, or triggers the monitoring instruction by other manners such as voice. The present invention is not particularly limited in the manner of triggering. The monitoring items include CPU occupancy, CPU load, memory usage, online or offline status, etc., and it is understood that the specific contents of the monitoring items may be different or increased or decreased according to different usage scenarios to which the monitoring device is applied, and are not limited to the above-mentioned examples.
When a monitoring instruction of a user is received, associating a monitoring item corresponding to the monitoring instruction with the custom strategy so that the custom strategy after adjustment and modification acts on the corresponding monitoring item immediately.
And when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy. Specifically, when the monitoring item is successfully associated with the custom policy, monitoring the current state information of the monitoring item; and if the current state information of the monitoring item does not meet the custom monitoring strategy, triggering an alarm.
Assuming that the current state information of the monitoring item is that the CPU occupies 50%, the memory occupies 12%, the equipment is on-line and the like, judging that the current state information meets the judgment strategy or standard of the self-defined monitoring strategy according to a monitoring device; when the current state information is any one of conditions of 85% of CPU occupation, 85% of memory occupation, equipment offline and the like, the monitoring device judges that the current state information does not meet the judgment strategy or standard of the custom monitoring strategy, and at the moment, an alarm is triggered. Of course, in other embodiments, conditions may be added, such as triggering an alarm if each parameter in the status information continuously exceeds its corresponding threshold for a predetermined number of times.
Compared with the prior art, in the embodiment, different default basic strategies are set according to different monitoring templates, then a monitoring strategy group and strategy configuration which can be customized by a user are set based on the default basic strategies, a customized strategy is formed when the user finishes customizing, and finally, when a monitoring instruction of the user is obtained, a monitoring item corresponding to the monitoring instruction is associated with the customized strategy. Therefore, various different types of service application systems can be flexibly monitored by customizing the strategy and the rule by a user in various service scenes and simultaneously using the default rule preset by the system in an auxiliary manner.
Referring to fig. 4, in the second embodiment, based on the first embodiment, the step S2 includes:
step S21, acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
and step S22, when a user-defined editing instruction of a user is received, forming the user-defined strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information.
In this embodiment, the parameter ranges of the default basic policy may also be a determined value under a specific condition. The monitoring item attribute information at least includes function information and importance level information. Assuming that the monitoring device is applied to the financial field, the functional information comprises input, inquiry, account checking and the like, and the corresponding important level information is respectively low level, low level and high level; and assuming that the monitoring device is applied to an attendance system, the functional information comprises a card punch, a leave request and the like, and the corresponding important level information is respectively a low level and a high level. It should be understood that the above examples are only for the understanding of the present invention, and are not intended to limit the present invention.
When a user-defined editing instruction of a user is received, if the user only modifies the editing information of each parameter range, the user-defined strategy is correspondingly formed according to the editing information of each parameter range of the user; if the user only corresponds to the monitoring item attribute information corresponding to the default basic strategy, the user-defined strategy is correspondingly formed according to the attribute modification information corresponding to the monitoring item attribute information; and if the user modifies the editing information of each parameter range and the monitoring item attribute information corresponding to the default basic strategy at the same time, the user-defined strategy is correspondingly formed according to the editing information of each parameter range and the attribute modification information corresponding to the monitoring item attribute information by the user.
According to the scheme, various different types of service application systems can be flexibly monitored by forming the user-defined strategy, and a large amount of manpower input and subsequent system maintenance cost are reduced.
Referring to fig. 5, in the third embodiment, based on the second embodiment, the step S22 includes:
step S221, when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
step S222, determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
step S223, if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
step S224, if the editing information and/or the attribute modification information satisfy a second preset condition, the modified monitoring policy group is a customized second level group.
In this embodiment, assuming that the monitoring apparatus is applied to the financial field, the parameter default range of the monitoring item "account checking" is "5 to 8 s", and the corresponding important level is the high level, when the user only edits the parameter range of the monitoring item "account checking", the default range "5 to 8 s" is modified to "1 to 3 s", and since the time range meets the first preset condition, the modified monitoring policy group is the self-defined first level group, that is, the highest level policy group. When the user only modifies the attribute information of the monitoring item and the high level is modified into the highest level, the modified monitoring strategy group is a self-defined first level group, namely, the highest level strategy group. Similarly, if the user modifies the parameter default range and the attribute information of the monitoring item at the same time, the modified monitoring policy group is a self-defined first level group, that is, the highest level policy group.
Supposing that the monitoring device is applied to the field of attendance, the parameter default range of the monitoring item 'attendance' is '1-3 s', the corresponding important level is a high level, when a user only edits the parameter range of the monitoring item 'attendance', the parameter range is modified from the default range '1-3 s' to '15 s-30 s', and the time range meets a second preset condition, the modified monitoring strategy group is a self-defined second level group, namely a low level strategy group. When the user only modifies the attribute information of the monitoring item and the high level is modified into the low level, the modified monitoring strategy group is a self-defined second level group, namely a low level strategy group. Similarly, if the user modifies the parameter default range and the attribute information of the monitoring item at the same time, the modified monitoring policy group is a customized second-level group, that is, the highest-level policy group.
It is understood that the first condition may be set to a time range of "1 to 3 s", and/or the importance level is a high level of "highest level"; the second condition may be set to a time range of "15 s to 30 s" and/or the importance level is high level to "low level". Aiming at different business fields, the number of the corresponding conditions and each corresponding parameter in the conditions can be reasonably set.
The present invention also provides a computer-readable storage medium having stored thereon a setting program of a monitoring policy of a monitoring apparatus, the setting program of the monitoring policy of the monitoring apparatus being executable by at least one processor to cause the at least one processor to perform the steps of the setting method of the monitoring policy of the monitoring apparatus as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method according to the embodiments of the present invention.
Claims (10)
1. A monitoring device, the monitoring device comprising a memory and a processor, wherein the memory stores a setting program of a monitoring policy of the monitoring device, and the setting program of the monitoring policy of the monitoring device, when executed by the processor, implements the steps of:
a first processing step: setting different default basic strategies according to different monitoring templates;
a second processing step: setting a monitoring strategy group and strategy configuration which can be customized by a user based on the default basic strategy, and forming a customized strategy when the user finishes customizing;
and (3) association step: and when a monitoring instruction of a user is obtained, associating a monitoring item corresponding to the monitoring instruction with the user-defined strategy.
2. The monitoring device of claim 1, wherein the second processing step comprises:
an acquisition step: acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
a strategy forming step: and when a user-defined editing instruction of a user is received, forming the user-defined strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information.
3. The monitoring device of claim 2, wherein the monitoring policy group includes a first level group and a second level group, the first level group being higher in importance level than the second level group, the policy forming step includes:
when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
and if the editing information and/or the attribute modification information meet a second preset condition, the modified monitoring strategy group is a self-defined second level group.
4. The monitoring device of claim 1, wherein the processor executes a setup program for the monitoring policy of the monitoring device, and after the associating step, further performs the steps of:
and when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy.
5. The monitoring device of claim 4, wherein the monitoring item according to the custom monitoring policy when the monitoring item is successfully associated with the custom policy comprises:
when the monitoring item is successfully associated with the user-defined strategy, monitoring the current state information of the monitoring item;
and if the current state information of the monitoring item does not meet the custom monitoring strategy, triggering an alarm.
6. A method for setting a monitoring policy of a monitoring device is characterized by comprising the following steps:
a first processing step: setting different default basic strategies according to different monitoring templates;
a second processing step: setting a monitoring strategy group and strategy configuration which can be customized by a user based on the default basic strategy, and forming a customized strategy when the user finishes customizing;
and (3) association step: and when a monitoring instruction of a user is obtained, associating a monitoring item corresponding to the monitoring instruction with the user-defined strategy.
7. The setting method of the monitoring policy of the monitoring apparatus according to claim 6, wherein the second processing step includes:
an acquisition step: acquiring parameter ranges of the default basic strategy and monitoring item attribute information corresponding to the default basic strategy;
a strategy forming step: and when a user-defined editing instruction of a user is received, forming the user-defined strategy according to the editing information of the user on each parameter range and/or the attribute modification information corresponding to the monitoring item attribute information.
8. The method for setting the monitoring policy of the monitoring device according to claim 7, wherein the monitoring policy group includes a first level group and a second level group, the first level group having a higher importance level than the second level group, and the policy forming step includes:
when a user-defined editing instruction of a user is received, acquiring editing information of the user on each parameter range and/or attribute modification information corresponding to the monitoring item attribute information;
determining a corresponding monitoring strategy group according to the editing information and/or the attribute modification information;
if the editing information and/or the attribute modification information meet a first preset condition, the modified monitoring strategy group is a self-defined first level group;
and if the editing information and/or the attribute modification information meet a second preset condition, the modified monitoring strategy group is a self-defined second level group.
9. The method for setting the monitoring policy of the monitoring device according to claim 6, wherein after the step of associating the monitoring item corresponding to the monitoring instruction with the custom policy when the monitoring instruction of the user is obtained, the method further comprises:
and when the monitoring item is successfully associated with the custom strategy, monitoring the monitoring item according to the custom monitoring strategy.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a setting program of a monitoring policy of a monitoring apparatus, the setting program of the monitoring policy of the monitoring apparatus being executable by at least one processor to cause the at least one processor to execute the steps of the setting method of the monitoring policy of the monitoring apparatus according to any one of claims 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910939697.1A CN110708197B (en) | 2019-09-27 | 2019-09-27 | Monitoring device, method for setting monitoring policy of monitoring device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910939697.1A CN110708197B (en) | 2019-09-27 | 2019-09-27 | Monitoring device, method for setting monitoring policy of monitoring device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110708197A true CN110708197A (en) | 2020-01-17 |
CN110708197B CN110708197B (en) | 2022-10-11 |
Family
ID=69196496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910939697.1A Active CN110708197B (en) | 2019-09-27 | 2019-09-27 | Monitoring device, method for setting monitoring policy of monitoring device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110708197B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306813A (en) * | 2020-11-13 | 2021-02-02 | 苏州浪潮智能科技有限公司 | System alarm method and device |
CN113032217A (en) * | 2021-03-26 | 2021-06-25 | 山东英信计算机技术有限公司 | Cluster monitoring method and related device |
CN113965417A (en) * | 2021-12-21 | 2022-01-21 | 北京微步在线科技有限公司 | Asset risk detection method and device |
CN117372709A (en) * | 2023-10-30 | 2024-01-09 | 深圳市翻江倒海互动娱乐有限公司 | Monitoring strategy generation method and system based on user behavior information |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053839A (en) * | 2010-12-31 | 2011-05-11 | 山东中创软件商用中间件股份有限公司 | Monitoring probe generating method and device |
US20120084608A1 (en) * | 2010-10-05 | 2012-04-05 | Michael Pasternak | Mechanism for Performing Verification of Template Integrity of Monitoring Templates Used for Customized Monitoring of System Activities |
WO2013105186A1 (en) * | 2012-01-10 | 2013-07-18 | 日本電気株式会社 | Service level management device, program and method |
CN103544093A (en) * | 2012-07-13 | 2014-01-29 | 深圳市快播科技有限公司 | Monitoring and alarm control method and system |
US8892530B1 (en) * | 2004-05-28 | 2014-11-18 | Amdocs, Inc. | Policy configuration user interface |
CN105471671A (en) * | 2015-11-10 | 2016-04-06 | 国云科技股份有限公司 | Method for customizing monitoring rules of cloud platform resources |
CN107741955A (en) * | 2017-09-15 | 2018-02-27 | 平安科技(深圳)有限公司 | Business datum monitoring method, device, terminal device and storage medium |
CN108809720A (en) * | 2018-06-13 | 2018-11-13 | 郑州云海信息技术有限公司 | The management method and device of alarming assignment in cloud data system |
CN109240876A (en) * | 2018-07-18 | 2019-01-18 | 平安科技(深圳)有限公司 | Example monitoring method, computer readable storage medium and terminal device |
CN109361537A (en) * | 2018-10-10 | 2019-02-19 | 广东信通通信有限公司 | Network system monitoring method, device, computer equipment and storage medium |
CN109525433A (en) * | 2018-12-12 | 2019-03-26 | 国网辽宁省电力有限公司信息通信分公司 | A kind of router bgp status information batch monitoring method |
CN109656785A (en) * | 2018-12-26 | 2019-04-19 | 安徽典典科技发展有限责任公司 | The monitoring and display methods of software and hardware facilities operating status |
CN109710486A (en) * | 2018-11-28 | 2019-05-03 | 国云科技股份有限公司 | A method of the customized example warning strategies based on cloudy platform |
-
2019
- 2019-09-27 CN CN201910939697.1A patent/CN110708197B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8892530B1 (en) * | 2004-05-28 | 2014-11-18 | Amdocs, Inc. | Policy configuration user interface |
US20120084608A1 (en) * | 2010-10-05 | 2012-04-05 | Michael Pasternak | Mechanism for Performing Verification of Template Integrity of Monitoring Templates Used for Customized Monitoring of System Activities |
CN102053839A (en) * | 2010-12-31 | 2011-05-11 | 山东中创软件商用中间件股份有限公司 | Monitoring probe generating method and device |
WO2013105186A1 (en) * | 2012-01-10 | 2013-07-18 | 日本電気株式会社 | Service level management device, program and method |
CN103544093A (en) * | 2012-07-13 | 2014-01-29 | 深圳市快播科技有限公司 | Monitoring and alarm control method and system |
CN105471671A (en) * | 2015-11-10 | 2016-04-06 | 国云科技股份有限公司 | Method for customizing monitoring rules of cloud platform resources |
CN107741955A (en) * | 2017-09-15 | 2018-02-27 | 平安科技(深圳)有限公司 | Business datum monitoring method, device, terminal device and storage medium |
CN108809720A (en) * | 2018-06-13 | 2018-11-13 | 郑州云海信息技术有限公司 | The management method and device of alarming assignment in cloud data system |
CN109240876A (en) * | 2018-07-18 | 2019-01-18 | 平安科技(深圳)有限公司 | Example monitoring method, computer readable storage medium and terminal device |
CN109361537A (en) * | 2018-10-10 | 2019-02-19 | 广东信通通信有限公司 | Network system monitoring method, device, computer equipment and storage medium |
CN109710486A (en) * | 2018-11-28 | 2019-05-03 | 国云科技股份有限公司 | A method of the customized example warning strategies based on cloudy platform |
CN109525433A (en) * | 2018-12-12 | 2019-03-26 | 国网辽宁省电力有限公司信息通信分公司 | A kind of router bgp status information batch monitoring method |
CN109656785A (en) * | 2018-12-26 | 2019-04-19 | 安徽典典科技发展有限责任公司 | The monitoring and display methods of software and hardware facilities operating status |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306813A (en) * | 2020-11-13 | 2021-02-02 | 苏州浪潮智能科技有限公司 | System alarm method and device |
CN112306813B (en) * | 2020-11-13 | 2023-03-14 | 苏州浪潮智能科技有限公司 | System alarm method and device |
CN113032217A (en) * | 2021-03-26 | 2021-06-25 | 山东英信计算机技术有限公司 | Cluster monitoring method and related device |
CN113965417A (en) * | 2021-12-21 | 2022-01-21 | 北京微步在线科技有限公司 | Asset risk detection method and device |
CN117372709A (en) * | 2023-10-30 | 2024-01-09 | 深圳市翻江倒海互动娱乐有限公司 | Monitoring strategy generation method and system based on user behavior information |
Also Published As
Publication number | Publication date |
---|---|
CN110708197B (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110708197B (en) | Monitoring device, method for setting monitoring policy of monitoring device, and storage medium | |
CN108491301B (en) | Electronic device, abnormality early warning method based on redis and storage medium | |
CN110427252B (en) | Task scheduling method, device and storage medium based on task dependency relationship | |
CN112052111B (en) | Processing method, device and equipment for server abnormity early warning and storage medium | |
CN115277566B (en) | Load balancing method and device for data access, computer equipment and medium | |
CN111723079A (en) | Data migration method and device, computer equipment and storage medium | |
CN108491304B (en) | electronic device, business system risk control method and storage medium | |
CN109634802B (en) | Process monitoring method and terminal equipment | |
CN112130936B (en) | Data calling method, device, equipment and storage medium based on polling | |
CN111459629A (en) | Azkaban-based project operation method and device and terminal equipment | |
CN108536356A (en) | Agent information processing method and device and computer readable storage medium | |
CN108268605B (en) | Shared space resource management method and system | |
CN116185588A (en) | Task scheduling method and device, electronic equipment and readable storage medium | |
CN114157679A (en) | Cloud-native-based distributed application monitoring method, device, equipment and medium | |
CN110807050B (en) | Performance analysis method, device, computer equipment and storage medium | |
CN109194703B (en) | Processing method of communication load between cloud platform hosts, electronic device and medium | |
CN109561134B (en) | Electronic device, distributed cluster service distribution method and storage medium | |
CN108733536B (en) | Monitoring management system and method | |
CN114329164B (en) | Method, apparatus, device, medium, and article for processing data | |
CN112416701B (en) | Service data monitoring method and device, computer equipment and readable storage medium | |
CN110188006B (en) | Data maintenance method, device and equipment | |
CN109460397B (en) | Data output control method and device, storage medium and electronic equipment | |
CN108415922B (en) | Database modification method and application server | |
CN111782208A (en) | Index early warning method and device, computer equipment and storage medium | |
US20120233224A1 (en) | Data processing |
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 |