CN110633274B - Alarm management method and device - Google Patents

Alarm management method and device Download PDF

Info

Publication number
CN110633274B
CN110633274B CN201810653391.5A CN201810653391A CN110633274B CN 110633274 B CN110633274 B CN 110633274B CN 201810653391 A CN201810653391 A CN 201810653391A CN 110633274 B CN110633274 B CN 110633274B
Authority
CN
China
Prior art keywords
alarm
node
level
nodes
target node
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
Application number
CN201810653391.5A
Other languages
Chinese (zh)
Other versions
CN110633274A (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.)
Ultrapower Software Co ltd
Original Assignee
Ultrapower Software 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 Ultrapower Software Co ltd filed Critical Ultrapower Software Co ltd
Priority to CN201810653391.5A priority Critical patent/CN110633274B/en
Publication of CN110633274A publication Critical patent/CN110633274A/en
Application granted granted Critical
Publication of CN110633274B publication Critical patent/CN110633274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Abstract

The invention discloses an alarm management method and device. The invention creates a directory structure in a monitoring system, and each node in the directory structure is provided with an alarm level identifier; storing the hierarchical relation between each node in the directory structure and the corresponding relation between each node and the alarm object; when the monitoring system monitors that an alarm is generated, obtaining a current alarm object corresponding to the alarm and the level of the alarm, and obtaining a target node corresponding to the current alarm object according to the corresponding relation between each node and the alarm object; and updating the alarm level identification of the target node according to the alarm level, and updating the alarm level identification of the corresponding upper node of the target node according to the hierarchical relationship among the nodes, so that the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the corresponding lower node. The invention can quickly capture the highest level alarm according to the alarm level identification so as to process the fault in time and improve the quick response capability of the fault.

Description

Alarm management method and device
Technical Field
The present invention relates to the field of monitoring and management technologies, and in particular, to a method and an apparatus for alarm management.
Background
Fault management (also called alarm management) is one of the key functions of a monitoring system, and currently, for real-time alarms (also called active alarms), there are queryable alarm views created according to condition organization, filterable alarm views created according to parent-child structure hierarchy organization, and views for simply visually presenting generated alarms in alarm management.
In the prior art, all the alarm view display modes adopted need to manually position the target alarms meeting the query conditions, and in the large data volume environment facing thousands of alarms per second, the prior art cannot quickly position tasks and has low management efficiency.
Disclosure of Invention
The invention provides an alarm management method and an alarm management device, which aim to solve the problem that the management mode of the existing scheme for activity alarms is low in efficiency.
One aspect of the present invention provides an alarm management method, including:
a directory structure is established in a monitoring system, and each node in the directory structure is provided with an alarm level identifier;
storing the hierarchical relation between each node in the directory structure and the corresponding relation between each node and the alarm object;
when the monitoring system monitors that an alarm is generated, obtaining a current alarm object corresponding to the alarm and the level of the alarm, and obtaining a target node corresponding to the current alarm object according to the corresponding relation between each node and the alarm object;
And updating the alarm level identification of the target node according to the alarm level, and updating the alarm level identification of a corresponding upper node of the target node according to the hierarchical relation among the nodes, so that the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the corresponding lower node.
Another aspect of the present invention provides an alarm management apparatus, including:
the system comprises a creating unit and a monitoring unit, wherein the creating unit is used for creating a directory structure in the monitoring system, and each node in the directory structure is provided with an alarm level identifier;
the storage unit is used for storing the hierarchical relation among the nodes in the directory structure and the corresponding relation between each node and the alarm object;
the computing unit is used for acquiring a current alarm object and the alarm level corresponding to the alarm when the monitoring system monitors that the alarm is generated, and acquiring a target node corresponding to the current alarm object according to the corresponding relation between each node and the alarm object;
and the updating unit is used for updating the alarm level identification of the target node according to the alarm level and updating the alarm level identification of the corresponding upper node of the target node according to the hierarchical relation among the nodes, so that the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the corresponding lower node.
The beneficial effects of the invention are: when a directory structure is created, the corresponding relations among nodes of the directory structure and between each node and an alarm object are stored, corresponding alarm level identifiers are set for the corresponding nodes according to the alarm levels generated by the alarm object, and the alarm level identifier with the highest alarm level in a lower node is transmitted to an upper node according to the corresponding relation among the nodes, so that the update of the alarm level identifiers of the whole directory structure is completed, and in the process of managing active alarms, a worker can quickly capture the alarm with the highest alarm level according to the alarm level identifiers in numerous types of alarms, so that faults can be processed in time, and the quick response capability of the faults is improved.
Drawings
Fig. 1 is a flowchart illustrating an alarm management method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a directory structure according to an embodiment of the present invention;
fig. 3 is a block diagram of an alarm management apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of alarm management according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. It is to be understood that this description is made only by way of example and not as a limitation on the scope of the invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The words "a", "an" and "the" and the like as used herein are also intended to include the meanings of "a plurality" and "the" unless the context clearly dictates otherwise. Furthermore, the terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Some block diagrams and/or flowcharts are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of the present invention may be implemented in hardware and/or software (including firmware, microcode, etc.). Furthermore, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of the present invention, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
In the monitoring system, the alarm amount is increased proportionally with the increase of the monitored objects, especially for the refined monitoring of monitoring points, the alarm can be generated every second, if the alarm amount is generated according to 1000 monitoring nodes at the same time, 1000 alarm amounts can be generated every second, and the large data mining and intelligent analysis are facilitated. The invention associates the alarm objects with different directories, each directory searches the alarm state of the highest level according to the associated alarm object, presents the directory according to the alarm state of the highest level, is convenient for managing complicated and various types of alarms, and quickly captures the alarm of the highest level, so that the quick response capability is improved even if the fault is processed.
Fig. 1 is a flowchart of an alarm management method according to an embodiment of the present invention, and as shown in fig. 1, the method according to the embodiment includes:
s110, a directory structure is established in the monitoring system, and each node in the directory structure is provided with an alarm level identifier.
In this embodiment, a directory structure may be created according to a business relationship, where the directory structure may be a tree structure or a list structure, each node is provided with an alarm level identifier, and an alarm level of the node is indicated by the alarm level identifier, so as to visually obtain an alarm level of a business object corresponding to each node.
It can be understood that the number of directory structures created in this embodiment may be one or multiple, and the specific number may be set according to the number of alarm objects, for example, when a monitoring system monitors a large number of alarm objects, multiple directory structures may be set, so as to quickly locate the alarm level of a corresponding service object in each directory structure.
The business object in this embodiment may be understood as an object divided according to business requirements, where the objects such as account 1 group, account 2 group, log, and process shown in fig. 2 are business objects, and the alarm object includes, but is not limited to, a host, a virtual machine, and the like, such as the host and the virtual machine shown in fig. 2.
And S120, storing the hierarchical relation among the nodes in the directory structure and the corresponding relation between each node and the alarm object.
The embodiment may store the correspondence in a local cache, for example, store the correspondence in a Redis distributed cache manner, so as to implement efficient storage and access of the correspondence.
The directory structure of the embodiment has a hierarchical structure, and each node has a hierarchical relationship. As shown in fig. 2, in the list-shaped directory structure, the BOSS node corresponds to a root directory node of the directory structure, lower nodes of the root directory node include an account 1 group node, an account 2 group node, a chinese mobile service support network Operation Management system (BOMC) node, and a Customer Relationship Management (CRM) node, the lower nodes of the financial 2 group node include a statistics 1 group node, and the lower nodes of the statistics 1 group node include a host node and an SQL statement node.
In this embodiment, by storing the corresponding relationship between each node and the alarm object, when the monitoring system acquires an alarm, the node corresponding to the alarm object that generates the alarm can be located according to the corresponding relationship, so as to set the alarm level of the corresponding node according to the alarm level in the following.
S130, when the monitoring system monitors that the alarm is generated, the current alarm object corresponding to the alarm and the alarm level are obtained, and the target node corresponding to the current alarm object is obtained according to the corresponding relation between each node and the alarm object.
Assuming that the alarm monitored by the monitoring system is generated by the alarm object a, the target node corresponding to the alarm object a can be obtained according to the corresponding relationship between each node and the alarm object.
S140, the alarm level identification of the target node is updated according to the alarm level, the alarm level identification of the corresponding upper node of the target node is updated according to the hierarchical relationship among the nodes, and the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the corresponding lower node.
It is assumed that the alarm levels of the present embodiment include three levels, i.e., a critical alarm, a secondary alarm, and a warning alarm, and accordingly, the alarm level flag includes a critical alarm flag, a secondary alarm flag, and a warning alarm flag. If the monitoring system monitors that the level of the alarm generated by the alarm object is a serious alarm, the alarm level identification of the target node corresponding to the alarm object is updated to be a serious alarm identification, and meanwhile, the alarm level identification of the corresponding upper node of the target node is updated, so that the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the lower nodes included in the corresponding upper node. The respective superordinate node of the target node can be understood to be the superordinate node of each level from the first superordinate node of the target node to the root node. For example, in fig. 2, a host node under the statistics group 1 node is taken as an example of a target node, and at this time, a corresponding upper node of the target node may be understood as a statistics group 1 as a first upper node, a finance group 2 as a second upper node, a BOSS node, that is, a root node, as a third upper node, and the target node has three levels of upper nodes.
Referring to fig. 2, the circle point shown in fig. 2 is a warning level identifier of a node, the circle including one black point is a serious warning identifier, the circle including two black points is a secondary warning identifier, the circle including three black points is a warning identifier, fig. 2 shows the warning level identifiers of the nodes at the previous time, assuming that the target node determined at the current time is the host node in the accounting 2 group, the warning level identifier of the host node is updated from the secondary warning identifier to the serious warning identifier, the warning level identifier of the first-level upper-level node statistics 1 group of the host node is updated from the secondary warning identifier to the serious warning identifier, and meanwhile, the warning level identifier of the second-level node finance 2 group of the host node is updated from the secondary warning identifier to the serious warning identifier, thereby completing the transfer of the warning level.
In practical application, the present embodiment may further display nodes at different levels in the directory structure according to the alarm level identifiers of the nodes in the order from high to low, so that a worker may visually know the alarm level of each node from the directory view, and position the node with the highest alarm level, thereby avoiding positioning the alarm at the highest level through manual insertion.
In this embodiment, when creating the directory structure, the corresponding relationships between the nodes of the directory structure and between the nodes and the alarm object are saved, the corresponding alarm level identifiers are set for the corresponding nodes according to the alarm levels generated by the alarm object, and the alarm level identifier with the highest alarm level in the lower node is transmitted to the upper node according to the corresponding relationships between the nodes, so that the update of the alarm level identifiers of the whole directory structure is completed, and in the management process of active alarms, a worker can quickly capture the highest alarm level according to the alarm level identifiers in numerous types of alarms, so as to process the fault in time and improve the quick response capability of the fault.
In an implementation scheme of this embodiment, the alarm level identifier of the corresponding upper node of the target node is updated by the following method:
according to the hierarchical relation among the nodes, acquiring other nodes at the same level as the target node, and comparing the updated alarm level of the target node with the alarm levels of other nodes at the same level:
if the updated alarm level of the target node is not greater than the alarm levels of other nodes at the same level as the target node, the alarm level identification of the first superior node of the target node is maintained;
If the updated alarm level of the target node is greater than the alarm levels of other nodes of the same level as the target node, updating the alarm level identification of the first superior node to the alarm level identification of the target node, and obtaining the alarm level of other nodes of the same level as the first superior node, comparing the updated alarm level of the first superior node with the alarm levels of other nodes of the same level as the target node, if the updated alarm level of the first superior node is not greater than the alarm level of other nodes of the same level as the target node, keeping the alarm level identification of the second superior node of the target node, if the updated alarm level of the first superior node is greater than the alarm level of other nodes of the same level as the target node, updating the alarm level identification of the second superior node to the updated alarm level identification of the first superior node, and obtaining the alarm level of other nodes of the same level as the second superior node, and comparing the updated alarm level of the second superior node with the alarm levels of other nodes at the same level, and updating the alarm level identification of the corresponding superior node of the target node.
The process of updating the alarm level identifier of the corresponding upper node of the target node according to this embodiment is described with reference to the directory structure shown in fig. 2. As shown in fig. 2, in the list-shaped directory structure shown in fig. 2, the alarm level of each higher-level node is the highest alarm level in its lower-level node, taking the first-level node in the directory structure as an example, as shown in fig. 2, the first-level node only includes a root directory BOSS node, and the lower-level node of the BOSS node, that is, the second-level node of the directory structure, includes an account 1 group node, an account 2 group node, a BOMC node, and a CRM node, and since the highest alarm level in the second-level node is a serious alarm corresponding to the account 1 group node, the alarm level identifier of the BOSS node is a serious alarm level identifier.
Supposing that the monitoring system monitors that the host a having the alarm object generates the alarm, the alarm level is a serious alarm, when it is determined that the directory node corresponding to the host a is the host node of the account 1 group, the alarm level identifier of the host node of the account 1 group is updated to be a serious alarm level identifier, and since the alarm level identifier of the highest level in the first higher-level node of the host node, that is, the lower-level node of the account 1 group, does not change, the alarm level identifier of the account 1 group remains as a serious alarm level identifier, and accordingly, the alarm level identifiers of other higher-level nodes of the account 1 group do not need to be updated.
When it is determined that the directory node corresponding to the host a is a host node of the account 2 group, the alarm level identifier of the host node of the account 2 group is updated to be a critical alarm level identifier, because the first higher node of the host node, that is, the alarm level identifier of the highest level in the lower node of the statistics 1 group changes, the alarm level identifier of the statistics 1 group is updated to be a critical alarm level identifier, correspondingly, the alarm level identifier of the financial 2 group of the higher node of the statistics 1 group is updated to be a critical alarm level identifier, and because the alarm level identifier of the highest level in the lower node of the BOSS node does not change, the alarm level identifier of the BOSS node remains to be a critical alarm level identifier.
Referring to fig. 2, in this embodiment, each directory node generates an alarm level according to its associated alarm object, transmits an alarm level identifier of the highest level from a lower level to an upper level according to a hierarchical relationship of the directory nodes, and presents a directory structure in sequence according to the alarm level identifier of the highest level, so that a worker can visually observe the alarm of the highest level and avoid finding and positioning in a manual manner. The staff only need establish the directory structure according to the business relation, need not care about the alarm to produce at that node, have generated the most advanced level alarm under the directory and surveyability, the management mode is comparatively simple and convenient. The management mode for the alarm is particularly suitable for the large data volume alarm environment, fast operation and interface rendering are achieved by means of a cache technology, man-machine interaction is improved, and response time is greatly shortened.
In practical application, the monitoring object is upgraded or the hardware is changed frequently, so that the change of the monitoring state can be caused and further an alarm is generated, and the alarm caused by upgrading according to a plan is not required to be generated, so that the alarm caused according to the plan is shielded, and the generation of invalid alarm is avoided. Based on this situation, the alarm management method of this embodiment further includes:
Generating an alarm shielding task of a corresponding node in a directory structure according to the service requirement, wherein the alarm shielding task indicates the time range for shielding the alarm; and setting alarm shielding task identifiers for the nodes with the alarm shielding tasks and the lower nodes of the nodes according to the hierarchical relation among the nodes.
Referring to fig. 2, assuming that an alarm masking task of the account 1 group is generated according to business requirements, and the alarm masking task indicates that an alarm in a XX time range from XX when XX is masked to XX when XX is XXX is masked to XXX when XXX is XXX, the alarm masking task identifier is exemplarily represented by a star graph in fig. 2, so that the alarm masking task identifier is set for both the account 1 group and its subordinate node. In this embodiment, when the alarm level identifiers of the nodes are displayed according to the order from top to bottom of the alarm levels of the nodes in the directory structure, the alarm shielding task identifiers of the corresponding nodes may also be displayed.
After setting an alarm shielding task for a corresponding node according to business requirements, when a monitoring system acquires an alarm, firstly determining a reference node corresponding to the acquired alarm, judging whether the reference node is provided with an alarm shielding task identifier, if the reference node is not provided with the alarm shielding task identifier, monitoring that an alarm is generated by the monitoring system, and updating the generated alarm level and the alarm level identifier of the target node. If the reference node is provided with the alarm shielding task identifier, whether the acquired alarm is in the alarm shielding time range of the alarm shielding task is judged, if so, the monitoring system shields the generated alarm and does not generate the alarm, and if not, the monitoring system monitors that the alarm is generated, at the moment, the reference node is the target node described above, and the generated alarm level is updated to update the alarm level identifier of the target node.
In the embodiment, the alarm shielding task of a certain node is formulated, the alarm shielding task identifier is set for the node and the subordinate nodes thereof, one-key alarm shielding processing is supported, shielding management is simple and convenient, the defect that shielding management is realized one by one according to a single alarm object in the past can be avoided, and the worker can conveniently and quickly formulate and troubleshoot a cut-over task.
Corresponding to the alarm management method of the invention, the embodiment of the invention also provides an alarm management device.
Fig. 3 is a block diagram of a structure of an alarm management device according to an embodiment of the present invention, and as shown in fig. 3, the alarm management device according to the embodiment includes:
a creating unit 31, configured to create a directory structure in the monitoring system, where each node in the directory structure is provided with an alarm level identifier;
a storage unit 32, configured to store a hierarchical relationship between nodes in a directory structure and a corresponding relationship between each node and an alarm object;
the computing unit 33 is configured to, when the monitoring system monitors that an alarm is generated, obtain a current alarm object and an alarm level corresponding to the alarm, and obtain a target node corresponding to the current alarm object according to a correspondence between each node and the alarm object;
And the updating unit 34 is configured to update the alarm level identifier of the target node according to the alarm level, and update the alarm level identifier of the corresponding upper node of the target node according to the hierarchical relationship between the nodes, so that the alarm level identifier of each upper node of the target node is updated to the alarm level identifier with the highest alarm level in the corresponding lower node.
The updating unit 34 of this embodiment is configured to obtain other nodes in the same level as the target node according to the hierarchical relationship between the nodes, and compare the updated alarm level of the target node with the alarm levels of the other nodes in the same level as the target node; if the updated alarm level of the target node is not greater than the alarm levels of other nodes at the same level as the target node, keeping the alarm level identification of the first superior node of the target node; if the updated alarm level of the target node is greater than the alarm levels of other nodes in the same level as the target node, updating the alarm level identification of the first superior node to the alarm level identification of the target node, and obtaining the alarm level of other nodes in the same level as the first superior node, comparing the updated alarm level of the first superior node with the alarm levels of other nodes in the same level as the target node, if the updated alarm level of the first superior node is not greater than the alarm level of other nodes in the same level as the target node, keeping the alarm level identification of the second superior node of the target node, and if the updated alarm level of the first superior node is greater than the alarm level of other nodes in the same level as the target node, updating the alarm level identification of the second superior node to the updated alarm level identification of the first superior node, and obtaining the alarm level of other nodes in the same level as the second superior node, and comparing the updated alarm level of the second superior node with the alarm levels of other nodes at the same level, and updating the alarm level identification of the corresponding superior node of the target node.
In an implementation of this embodiment, the alarm management apparatus in fig. 3 further includes: the task making unit is used for generating an alarm shielding task of a corresponding node in the directory structure according to the service requirement, and the alarm shielding task indicates the time range for shielding the alarm; the identification unit is used for setting alarm shielding task identifications for the nodes generating the alarm shielding tasks and the lower nodes of the nodes according to the hierarchical relation among the nodes; the judging unit is used for determining a reference node corresponding to the acquired alarm when the monitoring system acquires the alarm, judging whether the reference node is provided with an alarm shielding task identifier or not, and monitoring that the alarm is generated by the monitoring system if the reference node is not provided with the alarm shielding task identifier; if the reference node is provided with an alarm shielding task identifier, judging whether the acquired alarm is in the alarm shielding time range of the alarm shielding task, if so, shielding the generated alarm by the monitoring system, and if not, monitoring that the alarm is generated by the monitoring system.
The alarm management device of this embodiment may further include a presentation unit, configured to present, according to the alarm level identifier of each node, nodes at different levels in the directory structure in an order from top to bottom according to the alarm levels. In practical application, the presentation unit may be further configured to present the alarm shielding task identifier of the corresponding node.
For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
The alarm management device provided by the application can be realized through software, and also can be realized through hardware or a combination of hardware and software. Taking a software implementation as an example, referring to fig. 4, the alarm management apparatus provided in the present application may include a processor 401 and a machine-readable storage medium 402 storing machine-executable instructions. The processor 401 and the machine-readable storage medium 402 may communicate via a system bus 403. Also, the processor 401 may perform the alarm management method described above by reading and executing machine-executable instructions in the machine-readable storage medium 402 corresponding to the alarm management logic.
The machine-readable storage medium 402 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: RAM (random Access Memory), volatile Memory, non-volatile Memory, flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
According to an example of the present disclosure, there is also provided a machine-readable storage medium, such as machine-readable storage medium 402 in fig. 4, comprising machine-executable instructions executable by a processor 401 in an alarm management device to implement the alarm management method described above.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not limited to the quantity and the execution order.
While the foregoing is directed to embodiments of the present invention, other modifications and variations of the present invention may be devised by those skilled in the art in light of the foregoing teachings. It should be understood by those skilled in the art that the foregoing detailed description is for the purpose of better explaining the present invention, and the scope of the present invention should be determined by the scope of the appended claims.

Claims (8)

1. An alarm management method, characterized in that the method comprises:
creating a directory structure in a monitoring system, wherein each node in the directory structure is provided with an alarm level identifier;
storing the hierarchical relation between each node in the directory structure and the corresponding relation between each node and the alarm object;
when the monitoring system monitors that an alarm is generated, obtaining a current alarm object corresponding to the alarm and the level of the alarm, and obtaining a target node corresponding to the current alarm object according to the corresponding relation between each node and the alarm object;
updating the alarm level identification of the target node according to the alarm level, and updating the alarm level identification of a corresponding upper node of the target node according to the hierarchical relationship among the nodes, so that the alarm level identification of each upper node of the target node is updated to be the alarm level identification with the highest alarm level in the corresponding lower node;
Wherein, the updating the alarm level identifier of the superior node of the target node according to the hierarchical relationship among the nodes comprises:
acquiring other nodes in the same level as the target node according to the hierarchical relationship among the nodes, and comparing the updated alarm level of the target node with the alarm levels of the other nodes in the same level; if the updated alarm level of the target node is not greater than the alarm levels of other nodes at the same level as the target node, keeping the alarm level identification of the first superior node of the target node; if the updated alarm level of the target node is higher than the alarm levels of other nodes with the same level as the target node, updating the alarm level identification of the first superior node to the alarm level identification of the target node, acquiring the alarm levels of the other nodes with the same level as the first superior node, comparing the updated alarm level of the first superior node with the alarm levels of the other nodes with the same level as the target node, if the updated alarm level of the first superior node is not higher than the alarm levels of the other nodes with the same level as the target node, keeping the alarm level identification of the second superior node of the target node, and if the updated alarm level of the first superior node is higher than the alarm levels of the other nodes with the same level as the target node, updating the alarm level identification of the second superior node to the updated alarm level identification of the first superior node, and obtaining the alarm level of other nodes at the same level as the second superior node, comparing the updated alarm level of the second superior node with the alarm level of other nodes at the same level as the second superior node, and updating the alarm level identification of the corresponding superior node of the target node according to the comparison result.
2. The method of claim 1, further comprising:
generating an alarm shielding task of a corresponding node in a directory structure according to a service requirement, wherein the alarm shielding task indicates a time range for shielding an alarm;
and setting alarm shielding task identifiers for the nodes with the alarm shielding tasks and the lower nodes of the nodes according to the hierarchical relation among the nodes.
3. The method of claim 1, wherein the monitoring system monitoring for the generation of an alarm comprises:
when the monitoring system acquires an alarm, determining a reference node corresponding to the acquired alarm, judging whether the reference node is provided with an alarm shielding task identifier or not, and if the reference node is not provided with the alarm shielding task identifier, monitoring the generation of the alarm by the monitoring system; if the reference node is provided with an alarm shielding task identifier, judging whether the acquired alarm is in the alarm shielding time range of the alarm shielding task, if so, shielding the generated alarm by the monitoring system, and if not, monitoring that the alarm is generated by the monitoring system.
4. The method of claim 1, further comprising:
and displaying the nodes at all levels in the directory structure according to the alarm level identification of each node from top to bottom according to the alarm level sequence.
5. An alarm management apparatus, characterized in that the apparatus comprises:
the system comprises a creating unit and a monitoring unit, wherein the creating unit is used for creating a directory structure in the monitoring system, and each node in the directory structure is provided with an alarm level identifier;
the storage unit is used for storing the hierarchical relation among the nodes in the directory structure and the corresponding relation between each node and the alarm object;
the computing unit is used for acquiring a current alarm object corresponding to the alarm and the level of the alarm when the monitoring system monitors that the alarm is generated, and acquiring a target node corresponding to the current alarm object according to the corresponding relation between each node and the alarm object;
an updating unit, configured to update the alarm level identifier of the target node according to the alarm level, and update the alarm level identifier of a corresponding upper node of the target node according to a hierarchical relationship between nodes, so that the alarm level identifier of each upper node of the target node is updated to an alarm level identifier with a highest alarm level in a corresponding lower node; in particular to
The node is used for acquiring other nodes in the same level as the target node according to the hierarchical relationship among the nodes, and comparing the updated alarm level of the target node with the alarm levels of other nodes in the same level as the target node; if the updated alarm level of the target node is not greater than the alarm levels of other nodes at the same level as the target node, keeping the alarm level identification of the first superior node of the target node; if the updated alarm level of the target node is higher than the alarm levels of other nodes with the same level as the target node, updating the alarm level identification of the first superior node to the alarm level identification of the target node, acquiring the alarm levels of the other nodes with the same level as the first superior node, comparing the updated alarm level of the first superior node with the alarm levels of the other nodes with the same level as the target node, if the updated alarm level of the first superior node is not higher than the alarm levels of the other nodes with the same level as the target node, keeping the alarm level identification of the second superior node of the target node, and if the updated alarm level of the first superior node is higher than the alarm levels of the other nodes with the same level as the target node, updating the alarm level identification of the second superior node to the updated alarm level identification of the first superior node, and obtaining the alarm level of other nodes at the same level as the second superior node, comparing the updated alarm level of the second superior node with the alarm level of other nodes at the same level as the second superior node, and updating the alarm level identification of the corresponding superior node of the target node according to the comparison result.
6. The apparatus of claim 5, further comprising:
the task making unit is used for generating an alarm shielding task of a corresponding node in a directory structure according to business requirements, wherein the alarm shielding task indicates a time range for shielding an alarm;
and the identification unit is used for setting alarm shielding task identifications for the nodes generating the alarm shielding tasks and the lower nodes of the nodes according to the hierarchical relation among the nodes.
7. The apparatus of claim 6, further comprising:
the monitoring system comprises a judging unit and a judging unit, wherein the judging unit is used for determining a reference node corresponding to the acquired alarm when the monitoring system acquires the alarm, judging whether the reference node is provided with an alarm shielding task identifier or not, and if the reference node is not provided with the alarm shielding task identifier, monitoring that the alarm is generated by the monitoring system; if the reference node is provided with an alarm shielding task identifier, judging whether the acquired alarm is in the alarm shielding time range of the alarm shielding task, if so, shielding the generated alarm by the monitoring system, and if not, monitoring that the alarm is generated by the monitoring system.
8. The apparatus of claim 5, further comprising:
and the display unit is used for displaying the nodes of all levels in the directory structure according to the alarm level identification of each node from high to low according to the alarm level sequence.
CN201810653391.5A 2018-06-22 2018-06-22 Alarm management method and device Active CN110633274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810653391.5A CN110633274B (en) 2018-06-22 2018-06-22 Alarm management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810653391.5A CN110633274B (en) 2018-06-22 2018-06-22 Alarm management method and device

Publications (2)

Publication Number Publication Date
CN110633274A CN110633274A (en) 2019-12-31
CN110633274B true CN110633274B (en) 2022-07-15

Family

ID=68967136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810653391.5A Active CN110633274B (en) 2018-06-22 2018-06-22 Alarm management method and device

Country Status (1)

Country Link
CN (1) CN110633274B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145944A (en) * 2007-07-04 2008-03-19 中兴通讯股份有限公司 A method for processing alarm
CN101237661A (en) * 2008-02-28 2008-08-06 中兴通讯股份有限公司 Alarm reporting method and device
CN102487481A (en) * 2010-12-01 2012-06-06 中国移动通信集团上海有限公司 System, method and equipment for sending alarm information
CN103108347A (en) * 2011-11-11 2013-05-15 中兴通讯股份有限公司 Association alarm method and association alarm device of wired network and wireless network
CN103744719A (en) * 2013-12-30 2014-04-23 华为技术有限公司 Lock management method, lock management system, lock management system configuration method and lock management system configuration device
CN106407044A (en) * 2010-12-14 2017-02-15 株式会社日立制作所 A failure recovery method in an information processing system and an information processing system
CN107547262A (en) * 2017-07-25 2018-01-05 新华三技术有限公司 Generation method, device and the Network Management Equipment of alarm level
US9916448B1 (en) * 2016-01-21 2018-03-13 Trend Micro Incorporated Detection of malicious mobile apps

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1655974A1 (en) * 2004-11-08 2006-05-10 Siemens Aktiengesellschaft Method and apparatuses for information alignment between a manager and an agent in a management network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145944A (en) * 2007-07-04 2008-03-19 中兴通讯股份有限公司 A method for processing alarm
CN101237661A (en) * 2008-02-28 2008-08-06 中兴通讯股份有限公司 Alarm reporting method and device
CN102487481A (en) * 2010-12-01 2012-06-06 中国移动通信集团上海有限公司 System, method and equipment for sending alarm information
CN106407044A (en) * 2010-12-14 2017-02-15 株式会社日立制作所 A failure recovery method in an information processing system and an information processing system
CN103108347A (en) * 2011-11-11 2013-05-15 中兴通讯股份有限公司 Association alarm method and association alarm device of wired network and wireless network
CN103744719A (en) * 2013-12-30 2014-04-23 华为技术有限公司 Lock management method, lock management system, lock management system configuration method and lock management system configuration device
US9916448B1 (en) * 2016-01-21 2018-03-13 Trend Micro Incorporated Detection of malicious mobile apps
CN107547262A (en) * 2017-07-25 2018-01-05 新华三技术有限公司 Generation method, device and the Network Management Equipment of alarm level

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于贝叶斯网络的分层网络故障诊断;王占孔等;《软件》;20110801;第87-90页 *

Also Published As

Publication number Publication date
CN110633274A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
US11868373B2 (en) Method and apparatus for monitoring an in-memory computer system
US11809405B2 (en) Generating and distributing delta files associated with mutable events in a distributed system
US10853124B2 (en) Managing user data in a multitenant deployment
US10235460B2 (en) Sharing configuration information for searches in data intake and query systems
US9990423B2 (en) Hybrid cluster-based data intake and query
CN104360878B (en) A kind of method and device of application software deployment
US9495234B1 (en) Detecting anomalous behavior by determining correlations
US11500783B1 (en) Evicting data associated with a data intake and query system from a local storage
US11706084B2 (en) Self-monitoring
US20160261459A1 (en) Package dependency maps for distributed computing
CN107423404B (en) Flow instance data synchronous processing method and device
US10540360B2 (en) Identifying relationship instances between entities
CN111090440B (en) Information processing method, system, device and storage medium
US20130024859A1 (en) Control computer and data accessing method
CN110633274B (en) Alarm management method and device
US11222072B1 (en) Graph database management system and method for a distributed computing environment
CN111680036B (en) Configuration management database based on graph storage
CN114816914A (en) Data processing method, equipment and medium based on Kubernetes
CN116166737A (en) Resource topological graph generation method and device, electronic equipment and readable storage medium
US10949232B2 (en) Managing virtualized computing resources in a cloud computing environment
CN111459737A (en) Problem positioning method and device, computer equipment and storage medium
US10423549B2 (en) Computer system and apparatus management method
US10762090B2 (en) Software discovery based on metadata analysis
CN117573351A (en) Cluster resource recovery method, device, equipment, storage medium and program product
US11609958B1 (en) System and method for managing log records of elements of a distributed computing environment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Applicant after: ULTRAPOWER SOFTWARE Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A Room 601

Applicant before: ULTRAPOWER SOFTWARE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant