Method and program for determining cause of abnormality

By setting a minimal search period based on resource usage changes, the method efficiently determines the cause of abnormalities in information processing systems, reducing search times and improving accuracy.

JP7564447B2Active Publication Date: 2024-10-09FUJITSU LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021031957
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-01
Publication Date
2024-10-09
Estimated Expiration
2041-03-01

AI Technical Summary

Technical Problem

Existing methods for determining the cause of abnormalities in information processing systems require extensive log searches due to long detection times, leading to increased search times and reduced efficiency.

Method used

Identify metrics indicating resource usage immediately before an abnormality is detected, set a minimal search period from the earliest time of resource usage change to the detection time, and search event logs within this period to determine the cause.

Benefits of technology

Reduces the time required to determine the cause of abnormalities by minimizing the search period and improving accuracy, thereby reducing processing load and enhancing determination efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564447000001
    Figure 0007564447000001
  • Figure 0007564447000002
    Figure 0007564447000002
  • Figure 0007564447000003
    Figure 0007564447000003
Patent Text Reader

Abstract

To shorten the time required for determining an anomaly occurrence factor.SOLUTION: If an anomaly is detected at time T5 based on a metric M1, metrics M2, M3 indicating that corresponding resources are in unused states immediately before the time T5 are identified from among other metrics M2-M4. The time at which the corresponding resource changes from the unused state to a used state is identified retroactively from just before the time T5 for each of the metrics M2, M3, a period from the oldest time T1 to the time T5 among them is designated as a search period, and a log 5 of a candidate event to be a candidate factor for the anomaly based on the metric M1, executed in the search period, is obtained from a database in which logs of events executed for an information processing system are accumulated. On the basis of the candidate event indicated by the obtained log 5, an occurrence factor of the anomaly based on the metric M1 is determined.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an abnormality factor determination method and an abnormality factor determination program. [Background technology]

[0002] A technology for monitoring the operation status of an information processing system by a monitoring device to detect the occurrence of an abnormality is widely used. For example, a method for detecting the occurrence of an abnormality is a method using a metric that indicates the usage status of resources included in the information processing system. Furthermore, in such an anomaly detection technology, when an abnormality is detected, it is required to determine the cause of the abnormality. For example, a method for determining the cause of the abnormality is a method for analyzing a log of an event executed on the information processing system.

[0003] Furthermore, the following technologies have been proposed for monitoring information processing systems and analyzing abnormality causes. For example, a fault analysis system has been proposed that continuously acquires monitoring data from a monitored system, creates a behavior model that models the system's behavior, estimates the period during which the behavior changed based on the difference between the successively created behavior models, and notifies the user. Also proposed is an abnormality analysis support system that generates variable relation information that indicates the correspondence between the input / output of devices in a system and the variables of an application program, and, when an abnormality occurs in the device, identifies variables related to the input / output of the device based on the variable relation information, and extracts and displays information on events related to the identified variables from the event information that has occurred. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] International Publication No. WO2014 / 184934 [Patent Document 2] JP 2017-227973 A Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, when the above-mentioned monitoring device detects an abnormality in the information processing system, it is considered that the monitoring device acquires a log of an event executed on the information processing system and determines the cause of the abnormality based on the contents of the acquired log. Usually, when an abnormality is detected, the event that may be the cause of the abnormality is often executed immediately before the detection time. However, there are also cases where it takes a long time from when an abnormality occurs due to the execution of an event until the abnormality is detected. In such a case, it is necessary to set a search period for searching the database for logs of events that may be the cause of the abnormality to a long period ending at the time when the abnormality was detected, otherwise it is not possible to acquire an appropriate event log. However, the longer the search period, the greater the number of logs to be searched, and the longer the time required for the search, which results in a problem that it takes longer to determine the cause of the abnormality.

[0006] According to one aspect, the present invention has an object to provide an abnormality cause determination method and an abnormality cause determination program capable of shortening the time required to determine the cause of an abnormality. [Means for solving the problem]

[0007] In one proposal, a method for determining an anomaly cause is provided in which, when an anomaly is detected at a first time based on a first metric among a plurality of metrics indicating the usage status of resources included in an information processing system, a computer identifies, from among the plurality of metrics excluding the first metric, one or more second metrics indicating that the corresponding resource was unused immediately before the first time, and, based on the usage status indicated by each of the one or more second metrics, identifies, for each of the one or more second metrics, a second time at which the corresponding resource changes from an unused state to a used state by going back from immediately before the first time, specifying a search period from a third time, which is the oldest among the identified second times, to the first time, and acquires logs of candidate events that were executed during the search period and are candidate causes of the anomaly based on the first metric from a database in which logs of events executed on the information processing system are accumulated, and determines the cause of the occurrence of the anomaly based on the first metric based on the candidate events indicated by the acquired logs.

[0008] In addition, one proposal provides an abnormality factor determination program that causes a computer to execute a process similar to the abnormality factor determination method described above. Effect of the Invention

[0009] In one aspect, the time required to determine the cause of an abnormality can be shortened. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram illustrating an abnormality cause determination device according to a first embodiment. [Diagram 2] FIG. 11 illustrates an example of a configuration of an information processing system according to a second embodiment. [Diagram 3] FIG. 2 illustrates an example of a hardware configuration of a monitoring device. [Figure 4] 2 is a diagram illustrating an example of the configuration of processing functions included in an operation management apparatus and a monitoring apparatus; [Diagram 5] FIG. 2 illustrates an example of a data structure of a metric database; [Figure 6] FIG. 4 is a diagram illustrating an example of a data configuration of a determination rule database. [Figure 7] FIG. 13 is a diagram illustrating an example of a data configuration of a determination result database. [Figure 8] FIG. 11 is a first diagram showing a comparative example of a process for determining the cause of an abnormality. [Figure 9] FIG. 2 is a second diagram showing a comparative example of the process for determining the cause of an abnormality. [Figure 10] FIG. 11 is a diagram illustrating a process for determining a cause of an abnormality in the second embodiment. [Figure 11] 13 is a flowchart illustrating an example of a processing procedure of a monitoring device according to a second embodiment. [Figure 12] 13A and 13B are diagrams illustrating a process for determining the cause of an abnormality in a modified example. [Figure 13] 13 is a flowchart illustrating an example of a processing procedure of a monitoring device according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. First Embodiment Fig. 1 is a diagram showing an abnormality factor determination device according to a first embodiment. The abnormality factor determination device 1 shown in Fig. 1 is a device that monitors the operating status of an information processing system (not shown) and, when an abnormality is detected, determines the cause of the abnormality. The abnormality factor determination device 1 is realized as a computer such as a server device or a personal computer. In this case, the processing of the abnormality factor determination device 1 described below is realized, for example, by a processor included in the abnormality factor determination device 1 executing a predetermined program.

[0012] The abnormality cause determination device 1 is capable of acquiring metrics from a metric database (DB) 2. A plurality of metrics indicating the usage status of resources included in each of the above-mentioned information processing systems are successively collected from the information processing systems and stored in the metric database 2. For example, when the corresponding resource is a CPU (Central Processing Unit), the metrics include CPU usage rate and CPU wait time. When the corresponding resource is a memory, the metrics include memory usage and memory swap-out amount. When the corresponding resource is a network interface, the metrics include network usage and number of packet losses.

[0013] The abnormality factor determination device 1 can periodically acquire a specific metric from among multiple metrics stored in the metric database 2, and detect an abnormality in the information processing system based on the value of the acquired metric. Furthermore, when the abnormality factor determination device 1 detects an abnormality, it can also acquire other metrics in the metric database 2 to determine the cause of the occurrence of the abnormality.

[0014] Furthermore, logs of events executed in the information processing system are accumulated in an event log database (DB) 3. In order to determine the cause of a detected abnormality, the abnormality factor determination device 1 can specify search conditions and acquire logs of events that match the search conditions from the event log database 3. Note that the search process itself for the event log database 3 may be executed by the abnormality factor determination device 1, or may be executed by another device connected to the outside of the abnormality factor determination device 1.

[0015] 1 shows an example of the status of other metrics and events when an abnormality is detected based on a certain metric. The process of the abnormality factor determination device 1 will be described below using the example shown in this time chart 4.

[0016] The abnormality cause determination device 1 determines whether or not an abnormality exists in the information processing system based on one or more specific metrics among the metrics stored in the metric database 2. As an example, it is assumed here that a determination process for determining whether or not an abnormality exists based on a specific metric is executed at each determination time at a predetermined time interval. In this case, the determination process at a certain determination time is executed based on the metrics stored in the metric database 2 during the period from the previous determination time to the current determination time.

[0017] 1 shows an example in which the presence or absence of an abnormality is determined based on metric M1 (first metric). It is assumed that the abnormality cause determination device 1 does not detect an abnormality at times T1, T2, T3, and T4 among the above determination times from metric M1, but detects an abnormality at time T5 (first time) (step S1).

[0018] Then, the abnormality cause determination device 1 identifies one or more metrics (second metrics) indicating that the corresponding resource is in an unused state immediately before time T5 from among the multiple metrics stored in the metric database 2, except for metric M1. In the time chart 4 of Fig. 1, it is assumed that metrics M2 and M3 indicating that the corresponding resource is in an unused state at time T4, which is the determination time immediately before time T5, are identified from among metrics M2 to M4, except for metric M1 (step S2).

[0019] Next, based on the usage status indicated by each of the identified metrics M2 and M3, the abnormality cause determination device 1 identifies, for each of the metrics M2 and M3, the time (second time) at which the corresponding resource changes from an unused state to a used state, going back in time from just before time T5 (here, time T4) (step S3).

[0020] In time chart 4 of Fig. 1, for metric M2, the corresponding resource changes to a used state in the period from time T2 to time T1. Therefore, time T1 is identified as the above-mentioned time for metric M2. Also, for metric M3, the corresponding resource changes to a used state in the period from time T3 to time T2. Therefore, time T2 is identified as the above-mentioned time for metric M3.

[0021] Next, the abnormality cause determination device 1 selects the oldest time T1 from the times T1 and T2 identified in step S3, and specifies the period from the selected time T1 to the time T5 at which the abnormality was detected as a search period. Then, the abnormality cause determination device 1 acquires logs of candidate events that were executed during the specified search period and are candidates for the cause of the abnormality based on the metric M1 from the event log database 3 (step S4). Here, the candidate events that are candidates for the cause of the detected abnormality are predetermined, for example, according to the metric that was the basis for the abnormality detection.

[0022] In step S4, the event log database 3 is searched using the search period from time T1 to time T5 and the candidate event as search conditions, thereby acquiring logs of candidate events that match the search conditions. Note that, as described above, the search process of the event log database 3 itself may be executed by the abnormality factor determination device 1, or may be executed by another device externally connected to the abnormality factor determination device 1.

[0023] 1, it is assumed that an event that caused an abnormality was executed during the period from time T2 to time T3, and log 5 corresponding to this event was registered in event log database 3. In this case, in step S4, log 5 is acquired as a log of a candidate event. Then, the abnormality cause determination device 1 determines the cause of the occurrence of the abnormality based on metric M1, based on the candidate event indicated by log 5 acquired in step S4 (step S5).

[0024] Here, when an abnormality is detected in the information processing system, an event that may have been the cause of the abnormality is often executed immediately before the detection time. In order to obtain logs of such events from the event log database 3, it is sufficient to set the log search period to a period equivalent to the abnormality determination cycle.

[0025] On the other hand, in the example shown in time chart 4 of FIG. 1, it took a long time from when an abnormality occurred due to the execution of the event shown in log 5 until the abnormality was detected. In order to obtain such an event log from event log database 3, it is necessary to extend the log search period. However, the longer the log search period, the greater the number of logs to be searched, and the longer the search time. As a result, it takes a long time to determine the cause of the abnormality.

[0026] An example of a case where it takes a long time for an anomaly to be detected is when an anomaly occurs related to a resource during a period when the resource is not being used. More specifically, there are cases where an anomaly occurs related to a resource due to the execution of a certain event, but the resource is not being used at that time, and then when the use of the resource starts, an abnormal event appears and the anomaly is detected.

[0027] In the example shown in time chart 4 of Figure 1, when the event shown in log 5 was executed, the resource related to that event was not in use, and then, just before time T5, the use of the resource started, which is why an abnormality was detected at time T5.

[0028] Therefore, the abnormality factor determination device 1 identifies metrics M2 and M3 that indicate that the corresponding resource was in an unused state immediately before time T5 from among the metrics other than metric M1. Next, for each of the identified metrics M2 and M3, the abnormality factor determination device 1 identifies times T1 and T2 at which the corresponding resource changed from an unused state to a used state by going back from immediately before time T5. Then, the abnormality factor determination device 1 determines the oldest of the identified times T1 and T2 as the start time of the log search period.

[0029] Through such processing, the start time of the search period is determined so that all event logs related to resources that were unused until immediately before the time T5 when the abnormality was detected can be included in the search targets. This allows the search period to be set to the minimum length required. This increases the possibility of obtaining logs of candidate events that may be the cause of the detected abnormality while suppressing the length of the search period. This reduces the time required to search the event log database 3, thereby shortening the time required from the detection of an abnormality by the abnormality cause determination device 1 to the determination of the cause of the abnormality, while improving the determination accuracy.

[0030] Second Embodiment 2 is a diagram showing an example of the configuration of an information processing system according to the second embodiment. The information processing system shown in FIG.

[0031] The operation management device 100 manages the operation of an ICT (Information and Communication Technology) infrastructure 110. Hereinafter, the ICT infrastructure is abbreviated as "ICT infrastructure." The ICT infrastructure 110 includes various information processing devices such as computers and network devices. For example, if the ICT infrastructure 110 provides a cloud service, the ICT infrastructure 110 includes a server device that operates as a cloud server, a network device that connects the server devices, and the like.

[0032] The operation management device 100 executes various events (operation events) related to operation management for each information processing device included in the ICT infrastructure 110. Operation events are processes for making various configuration changes and setting changes in the ICT infrastructure 110, such as creation, deletion, and migration of virtual machines running on server devices, and updates of programs such as drivers. The monitoring device 200 executes operation events and records logs related to the executed operation events in a database.

[0033] Furthermore, the operation management device 100 monitors the operating status of each information processing device included in the ICT infrastructure 110, and collects resource-related metrics from each information processing device. The metrics are information indicating the operating status of monitored resources such as processors and memories, and provide, for example, a scale for evaluating the operating status of the resources.

[0034] The monitoring device 200 monitors the operating state of the ICT infrastructure 110 via the operation management device 100, and if an abnormality is detected, analyzes the cause of the abnormality. Specifically, the monitoring device 200 acquires metrics collected by the operation management device 100 and determines the normality of operation. If an abnormality is detected, the monitoring device 200 acquires an operation event log from the operation management device 100 and identifies an operation event that may be a trigger for the occurrence of the abnormality, and determines the cause of the abnormality based on the identified operation event.

[0035] 3 is a diagram showing an example of a hardware configuration of a monitoring device 200. The monitoring device 200 is realized as a computer as shown in FIG. The monitoring device 200 shown in FIG. 3 includes a processor 201, a random access memory (RAM) 202, a hard disk drive (HDD) 203, a graphics processing unit (GPU) 204, an input interface (I / F) 205, a reader 206, and a communication interface (I / F) 207.

[0036] The processor 201 performs overall control of the entire monitoring device 200. The processor 201 is, for example, a CPU, a micro processing unit (MPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a programmable logic device (PLD). The processor 201 may also be a combination of two or more elements of a CPU, an MPU, a DSP, an ASIC, or a PLD.

[0037] The RAM 202 is used as a main storage device of the monitoring device 200. The RAM 202 temporarily stores at least a part of an OS (Operating System) program and application programs to be executed by the processor 201. The RAM 202 also stores various data necessary for processing by the processor 201.

[0038] The HDD 203 is used as an auxiliary storage device of the monitoring device 200. An OS program, an application program, and various data are stored in the HDD 203. Note that other types of non-volatile storage devices such as a solid state drive (SSD) can also be used as the auxiliary storage device.

[0039] A display device 204a is connected to the GPU 204. The GPU 204 displays an image on the display device 204a in accordance with an instruction from the processor 201. Examples of the display device include a liquid crystal display and an organic EL (ElectroLuminescence) display.

[0040] An input device 205a is connected to the input interface 205. The input interface 205 transmits a signal output from the input device 205a to the processor 201. The input device 205a may be a keyboard or a pointing device. The pointing device may be a mouse, a touch panel, a tablet, a touch pad, a trackball, or the like.

[0041] A portable recording medium 206a is detachably attached to the reading device 206. The reading device 206 reads data recorded on the portable recording medium 206a and transmits it to the processor 201. The portable recording medium 206a may be an optical disk, a semiconductor memory, or the like.

[0042] The communication interface 207 transmits and receives data to and from other devices such as the operation management device 100 via a network 207a. The above hardware configuration can realize the processing functions of the monitoring device 200. The operation management device 100 can also be realized as a computer having a configuration as shown in FIG.

[0043] FIG. 4 is a diagram illustrating an example of the configuration of processing functions provided in the operation management device and the monitoring device. First, the operation management device 100 includes an event execution unit 101, an event log search unit 102, and a metric collection unit 103. The processes of the event execution unit 101, the event log search unit 102, and the metric collection unit 103 are realized, for example, by a processor (not shown) included in the operation management device 100 executing a predetermined program. Also, an event log database (DB) 104 and a metric database (DB) 105 are stored in a storage device (e.g., RAM) (not shown) of the operation management device 100.

[0044] The event execution unit 101 executes an operation event for each information processing device included in the ICT infrastructure 110. The event execution unit 101 registers a log related to the executed operation event in the event log database 104. The operation event log includes information indicating the executed processing content, information indicating whether the execution was successful, the execution time, and other information.

[0045] For example, in response to a search request from the monitoring device 200, the event log search unit 102 searches the event log database 104 and returns the searched operational event log. The metric collector 103 collects metrics from each information processing device included in the ICT infrastructure 110, and registers the collected metrics in the metric database 105. As the metrics, for example, CPU waiting time, CPU usage rate, memory swap-out amount, packet loss count, network usage rate, etc. in the server device are collected.

[0046] Next, the monitoring device 200 includes a metric acquisition unit 211, a normality determination unit 212, and a factor determination unit 213. The processes of the metric acquisition unit 211, the normality determination unit 212, and the factor determination unit 213 are realized, for example, by a processor 201 included in the monitoring device 200 executing a predetermined program. Also, a metric database (DB) 221, a determination rule database (DB) 222, and a determination result database (DB) 223 are stored in a storage device (for example, RAM 202) of the monitoring device 200.

[0047] The metric acquisition unit 211 acquires metrics registered in the metric database 105 of the operation management device 100 , and registers them in the metric database 221 . The normality determining unit 212 periodically executes normality determination processing for metrics based on the metrics registered in the metric database 221. This normality determination processing is executed using metrics collected by the operation management device 100 within a certain period of time recently. When an abnormality in a metric is detected, the normality determining unit 212 notifies the cause determining unit 213 of the metric (abnormality detection metric).

[0048] Anomaly detection metrics, operation events that may be the cause of an anomaly in the metric, and anomaly occurrence causes are associated and registered in advance in the determination rule database 222. The cause determination unit 213 identifies, based on the determination rule database 222, an operation event (causing event) that may be the cause of an anomaly in the anomaly detection metric notified by the normality determination unit 212.

[0049] The cause determination unit 213 requests the event log search unit 102 to search the event log database 104 for logs of cause events that were executed during a period from the current time to a time a predetermined time ago. When the cause determination unit 213 finds a log of a cause event in the event log database 104, it extracts, from the determination rule database 222, an abnormality cause corresponding to the operation event indicated by the searched log, and registers the determination result of the abnormality cause in the determination result database 223.

[0050] Fig. 5 is a diagram showing an example of the data structure of a metric database. Although Fig. 5 shows the metric database 221 of the monitoring device 200, the metric database 105 of the operation management device 100 also has a similar data structure.

[0051] In the metric database 221, metric values ​​for each metric type (monitoring item) are associated with the collection time when the metric was collected and registered. In the example of Fig. 5, the CPU usage rate of host #1, the network usage rate of NIC (Network Interface Card) #1 of host #1, and the network usage rate of NIC #2 of host #1 are registered as metric items. In this example, it is assumed that host #1, which is a server device on which a virtual machine runs, is equipped with at least a CPU and two NICs #1 and #2.

[0052] 6 is a diagram showing an example of the data configuration of the determination rule database. The determination rule database 222 is a database that is referenced to estimate the cause of an anomaly from a metric in which an anomaly has been detected (anomaly detection metric). In the determination rule database 222, a causal event, which is an operation event that may be the cause of the anomaly, and the cause of the anomaly are registered in association with each anomaly detection metric. This information is registered in the determination rule database 222 in advance.

[0053] In the example of Fig. 6, when the anomaly detection metric is CPU wait time, the migration of a virtual machine (VM) is considered as a causal event, and CPU contention due to the migration is registered as a possible cause of the anomaly. Also, when the anomaly detection metric is memory swap-out amount, the migration of a virtual machine is considered as a causal event, and memory contention due to the migration is registered as a possible cause of the anomaly.

[0054] Furthermore, when the anomaly detection metric is the number of packet losses, the migration of a virtual machine is considered as a causal event, and network contention due to the migration is registered as a possible cause of the anomaly.As another example, when the anomaly detection metric is the number of packet losses, the update of a NIC driver is considered as a causal event, and a malfunction of the NIC driver is registered as a possible cause of the anomaly.

[0055] 7 is a diagram showing an example of the data configuration of the judgment result database. In the judgment result database 223, the abnormality detection time, monitoring host name, monitoring location, abnormality detection metric, and cause are registered in association with each other as information indicating the judgment result. The abnormality detection time indicates the time when the abnormality was detected. The monitoring host name indicates the host to be monitored. The monitoring location indicates the location to be monitored on that host. The abnormality detection metric indicates the metric at which the abnormality was detected. The cause indicates the determined cause of the abnormality.

[0056] Next, a comparative example of a process for determining the cause of an abnormality will be described with reference to FIGS. FIG. 8 is a first diagram showing a comparative example of a process for determining the cause of an abnormality. The normality determination unit 212 of the monitoring device 200 determines the normality of the operating status of the ICT infrastructure 110 based on the metrics collected by the operation management device 100. Such normality determination times are set at regular time intervals, and the normality determination unit 212 determines the normality based on the metrics collected during a regular time period immediately prior to the determination time. In Fig. 8, as an example, the normality determination times are set at 3-minute intervals.

[0057] Among the collected metrics, one or more specific metrics to be used for normality judgment are predetermined. In Fig. 8, CPU usage, memory swap-out amount, and packet loss count are exemplified as metrics to be used for normality judgment. The memory swap-out amount indicates the amount of data evacuated from memory to HDD or SSD during a certain period (the period from the previous judgment time to the current judgment time), and the packet loss count indicates the number of packet losses that occurred during the certain period.

[0058] For example, based on a judgment threshold set for each metric, when the value of the metric exceeds a judgment threshold or falls below the judgment threshold, the normality determination unit 212 determines that an abnormality has been detected for that metric. For example, in the case of the CPU usage rate, memory swap-out amount, and number of packet losses shown in FIG. 8, an abnormality is determined to have been detected when the value exceeds the judgment threshold. Note that normality (and abnormality detection) may actually be determined based on the values ​​of multiple metrics that are related to each other. For example, normality or abnormality may be determined based on the correlation between the number of packet losses in a certain period of time and the number of transmitted packets in a certain period of time.

[0059] When the normality determining unit 212 detects an abnormality in a certain metric, the cause determining unit 213 refers to the determination rule database 222 to identify an operational event (causing event) that may be a cause of the occurrence of the abnormality in the metric in which the abnormality was detected. In the example of Fig. 8, it is assumed that an abnormality in the number of packet losses was detected at 10:09. Here, in the example of the determination rule database 222 shown in Fig. 6, VM migration and NIC driver update are registered as causing events for the number of packet losses. Therefore, in the example of Fig. 8, VM migration and NIC driver update are identified as causing events.

[0060] Furthermore, the cause determination unit 213 requests the event log search unit 102 of the operation management device 100 to search for logs of cause events that were executed during the period from the current determination time to the previous determination time (the period from 10:06 to 10:09). In the example of FIG. 8, it is assumed that a log LG1 indicating that the NIC driver has been updated is searched for. In this case, the cause determination unit 213 extracts the cause of the abnormality associated with the number of packet losses and the NIC driver update from the determination rule database 222. Based on the determination rule database 222 of FIG. 6, a malfunction of the NIC driver is extracted as the cause. The cause determination unit 213 registers such a determination result of the cause of the abnormality in the determination result database 223.

[0061] Here, anomalies occurring in the ICT infrastructure 110 are often triggered by events (operational events) of configuration changes or setting changes executed in the operation management of the ICT infrastructure 110. According to the above process, the cause of the anomaly is determined based on the log of the operational event related to the metric in which the anomaly was detected, so that the accuracy of determining the cause can be improved.

[0062] However, in the above method, in a case such as the example shown in FIG. 9, it is not possible to obtain a log of an appropriate cause event by search, and it is therefore not possible to accurately determine the cause of the abnormality. 9 is a second diagram showing a comparative example of the process of determining the cause of an abnormality. Among abnormal events, when an abnormality occurs with the execution of a causal event, the abnormality may not be detected immediately, but may be detected after some time has passed. One such example is when an abnormality occurs in a certain resource due to the execution of a causal event, but the resource is not being used at that time, and the abnormality is detected when the resource is used later.

[0063] In the example of Figure 9, suppose that a causal event that updated the NIC#1 driver was executed between 10:09 and 10:12, and that this caused an abnormality in the operation of the NIC#1 driver (or NIC#1). However, suppose that the NIC#1 driver was not being used at this point (no communication was taking place through NIC#1). In this case, no packet loss occurs in communication through NIC#1, so the abnormality is not detected from the metric of the number of packet losses.

[0064] However, suppose that communication using NIC#1 is started between 10:15 and 10:18. Because an abnormality has occurred in the driver for NIC#1 (or NIC#1), packet loss occurs in the communication started by NIC#1. For this reason, the abnormality is detected from the number of packet losses during the normality determination process at 10:18. In this way, there are cases where an abnormality is detected a long time after the execution of the causal event.

[0065] As explained in Fig. 8, the period for searching the event log database 104 for logs of cause events among operation events is set to a time period corresponding to the normality determination cycle. In this case, when an abnormality is detected from the number of packet losses at 10:18 in Fig. 9, the log search period (P1) is the three minutes immediately preceding that time. However, since the log LG2 indicating the driver update of NIC#1 cannot be obtained during the search period P1, the cause of the abnormality cannot be determined.

[0066] A method of solving such a problem is to lengthen the search period for the log of the cause event. For example, as shown in FIG. 9, by setting a longer search period P2, the log LG2 indicating the driver update of NIC#1 can be acquired. However, the longer the search period, the greater the number of event logs to be searched in the event log database 104, and the greater the number of event logs to be searched for the log of the cause event that matches the search conditions. This increases the time required for the search process in the operation management device 100, which in turn increases the time required for the entire process of determining the cause of the abnormality by the monitoring device 200. In addition, the increased search process load in the operation management device 100 may cause problems in some cases with the execution process of the operation event by the operation management device 100.

[0067] Fig. 10 is a diagram showing the process of determining the cause of an abnormality in the second embodiment. In this embodiment, the cause determination unit 213 of the monitoring device 200 determines the search period for the cause event log in the following procedure. In Fig. 10, it is assumed that an abnormality caused by a driver update of NIC#1 is detected from the number of packet losses, similar to Fig. 9.

[0068] When an abnormality is detected from the number of packet losses at 10:18, the cause determining unit 213 sets that time as the end time Te of the search period for the cause event log. The cause determining unit 213 also refers to the metric database 221, and identifies a metric indicating that the corresponding resource was not used at the immediately preceding normality determination time from among other metrics other than the number of packet losses. In the example of FIG. 10, it is assumed that the other metrics include CPU utilization and network utilization, which are metrics indicating the amount of resource usage. These metrics indicate that the resource is not being used when the numerical value is 0. Therefore, in the example of FIG. 10, the network utilization of NIC#1 and the network utilization of NIC#2 are identified as metrics with a numerical value of 0.

[0069] Next, the cause determination unit 213 retrieves the numerical values ​​for each of the identified metrics going back in time, and identifies the time when the numerical values ​​became greater than 0. This identifies the end of the period when the resource corresponding to the metric was in use. In the example of FIG. 10, the network usage rate of NIC#1 changed from 0% to 30% at 10:06, and the network usage rate of NIC#2 changed from 0% to 20% at 10:09. Therefore, 10:06 is identified as the time when the numerical values ​​became greater than 0 for the network usage rate of NIC#1, and 10:09 is identified as the time when the numerical values ​​became greater than 0 for the network usage rate of NIC#2.

[0070] The cause determination unit 213 determines the oldest time from among the times determined in this manner, and sets this time as the start time Ts of the search period for the cause event log. In the example of FIG. 10, 10:06, which is the time for the network usage rate of NIC#1, is determined as the start time Ts of the search period. As a result, the period from the start time Ts to the end time Te described above is determined as the search period. By searching for the cause event log from such a search period, the cause determination unit 213 can obtain the log LG2 indicating the driver update of NIC#1, and can accurately determine the cause of the abnormality.

[0071] As described above, when it takes a long time from the occurrence of an abnormality related to a certain resource to its detection, the abnormality may have been triggered by an operation event executed during a period when the resource was not in use. In the above process, the oldest time among the times at which the metric value becomes greater than 0 is set as the start time of the search period. This allows all logs of operation events related to resources that were not in use until just before the abnormality was detected to be included in the search target. That is, the search period for the cause event log can be set to the minimum required length. This increases the possibility of obtaining the log of the operation event that triggered the occurrence of the detected abnormality while suppressing the length of the search period. Therefore, the search processing time in the operation management device 100 can be shortened, thereby shortening the time required for the monitoring device 200 to determine the cause of the abnormality while improving the determination accuracy. In addition, the search processing load in the operation management device 100 can be suppressed while improving the determination accuracy of the cause of the abnormality.

[0072] In addition, Figure 10 shows an example in which it takes time from the occurrence of an anomaly to its detection, and in response to the detection of an anomaly in the number of packet losses, the change in the value of the network usage rate is analyzed as another metric. Another example would be when an anomaly is detected from the CPU wait time as a metric, and the change in the value of the CPU usage is analyzed as another metric.

[0073] Fig. 11 is a flowchart showing an example of a processing procedure of a monitoring device in the second embodiment. The processing in Fig. 11 is executed every time normality is determined. [Step S 11 ] The metric acquirer 211 acquires metrics collected during the period from the current judgment time to the previous judgment time from the metric database 105 of the operation management device 100 , and registers them in the metric database 221 .

[0074] [Step S12] The normality determining unit 212 determines the normality of the ICT infrastructure 110 based on one or more predetermined metrics among the metrics registered in step S11. If an abnormality is detected based on the metrics, the process proceeds to step S13. In this case, the normality determining unit 212 notifies the cause determining unit 213 of the metric in which the abnormality was detected. Then, the processes of steps S13 to S17 are executed for each notified metric. On the other hand, if no abnormality is detected from any of the metrics, the process of FIG. 11 ends.

[0075] [Step S13] The cause determining unit 213, based on the determination rule database 222, identifies a cause event (an operational event that is a candidate for the cause of the abnormality) corresponding to the metric in which the abnormality was detected.

[0076] [Step S14] From among metrics other than the metric in which the abnormality was detected, the cause determining unit 213 identifies a metric that indicates that the corresponding resource was unused at the normality determination time immediately before the abnormality detection time. For example, from among metrics that indicate the amount of resource usage, it identifies a metric whose numerical value was 0 at the normality determination time immediately before the abnormality detection time.

[0077] [Step S15] The factor determination unit 213 retrieves numerical values ​​for each metric identified in step S14 from the metric database 221. Then, for each metric, the factor determination unit 213 identifies the time when the resource usage state changed from a non-used state to a used state. In the case of a metric that indicates the amount of resource usage as described above, the time when the metric value changed from 0 to a value greater than 0 is identified.

[0078] When a metric indicating resource usage is used, in steps S14 and S15, the criterion used is whether the metric value is 0 or greater, but this criterion may be a judgment threshold greater than 0. For example, the judgment threshold may be 0.01, and in step S14, metrics whose numerical values ​​are 0.01 or less may be identified, and in step S15, the time when the metric value changes from 0.01 or less to exceed 0.01 may be identified.

[0079] [Step S16] The cause determining unit 213 identifies the oldest time from among the times identified in step S15, and determines that time as the start time Ts of the search period for the cause event log.

[0080] [Step S17] The cause determination unit 213 sets the period from the current determination time (end time Te) to the above-mentioned start time Ts as a search period, and requests the operation management device 100 to search for an event log by specifying this search period and the identification information of the cause event identified in step S13 as arguments. The event log search unit 102 of the operation management device 100 extracts the log of the specified cause event from the logs of operation events collected during the specified search period, and returns it to the monitoring device 200. The cause determination unit 213 receives and acquires the log of the extracted cause event.

[0081] [Step S18] The cause determination unit 213 refers to the determination rule database 222 and obtains a cause associated with the metric in which the abnormality was detected (anomaly detection metric) and the cause event indicated by the log obtained in step S17. The cause determination unit 213 determines the obtained cause as the abnormality occurrence cause and outputs the determination result. For example, the determination result is registered in the determination result database 223 as a combination of the abnormality detection time, the monitoring host name, the monitoring location, the abnormality detection metric, and the obtained cause.

[0082] Here, the monitoring host name and the monitoring location are identified from at least one of the anomaly detection metric, the content of the causal event indicated by the log acquired in step S17, and the cause of the anomaly based on these, or a combination of two or more of these. For example, if the causal event is a NIC driver update, the NIC corresponding to the updated NIC driver is identified as the monitoring location, and the name of the host (server device) on which the NIC is installed is identified as the monitoring host name. Also, if the anomaly detection metric is CPU wait time and the causal event is VM migration, the monitoring location is identified as the CPU that is the detection target of the CPU wait time, and the name of the host on which the CPU is installed is identified as the monitoring host name.

[0083] If logs of a plurality of causal events are obtained in the search in step S17, in step S18, the causes of the abnormality based on each causal event may be output as possible causes of the abnormality.

[0084] [Modification of the second embodiment] A part of the processing of the monitoring device 200 in the second embodiment may be modified as follows.

[0085] Fig. 12 is a diagram showing a process for determining the cause of an abnormality in the modified example. In Fig. 12, it is assumed that an abnormality caused by a driver update of NIC#1 is detected from the number of packet losses, similarly to Figs. 9 and 10.

[0086] In cases where it takes time from the occurrence of an abnormality to its detection as in Figures 9, 10, and 12, an abnormality is detected when an abnormality occurs in a resource that is not in use, and then the use of that resource starts. Therefore, when an abnormality in a metric is detected, the cause determination unit 213 identifies, from among other metrics different from the abnormality, a metric for which use of a resource corresponding to the period from the immediately preceding normality determination time to the current determination time, based on the value of the metric. Then, the cause determination unit 213 retroactively obtains a numerical value for the identified metric, and identifies the end of the period when the corresponding resource was in use based on the obtained numerical value, and determines the start time of the search period for the cause event log.

[0087] In the example of FIG. 12, when an abnormality is detected from the number of packet losses at 10:18, the cause determination unit 213 identifies a metric that was 0 at the immediately preceding normality determination time and exceeds 0 at the current determination time from among other metrics that indicate resource usage, different from the number of packet losses. In FIG. 12, the network usage rate of NIC#1 is identified as such a metric. Then, the cause determination unit 213 retroactively obtains the identified network usage rate value and identifies the time when the value changed from 0 to a value greater than that. In FIG. 12, the network usage rate of NIC#1 changed from 0% to 30% at 10:06, and 10:06 is identified as the time when the value changed to a value greater than 0, and this time is determined as the start time Ts of the search period.

[0088] According to the above process, it is possible to narrow down the metrics to be analyzed for the change in the numerical value to identify the end of the period when the corresponding resource was in use, and it is possible to reduce the processing load for determining the start time of the search period and shorten the processing time. In addition, by identifying the metric for which the use of the corresponding resource started immediately before the anomaly detection time, it is possible to narrow down the analysis target of the change in the numerical value to only those metrics that are likely to be related to the detected anomaly. Therefore, it is possible to shorten the processing time for determining the search period without reducing the accuracy of determining the cause of the anomaly, and as a result, it is possible to shorten the overall process of determining the cause of the anomaly.

[0089] Fig. 13 is an example of a flowchart showing a processing procedure of a monitoring device in a modified example. In this modified example, among the processing steps of the flowchart shown in Fig. 11, the processing of step S14 is changed to the next processing of step S14a.

[0090] [Step S14a] From among metrics other than the metric in which the abnormality was detected, the cause determining unit 213 identifies a metric whose corresponding resource was in an unused state at the normality determination time immediately before the abnormality detection time and changed to a used state at the abnormality detection time. For example, from among metrics indicating the amount of resource usage, it identifies a metric whose numerical value was 0 at the normality determination time immediately before the abnormality detection time and whose numerical value is greater than 0 at the abnormality detection time.

[0091] In the next step S15, each metric identified in step S14a becomes a target for numerical value acquisition, thereby narrowing down the metrics for which numerical values ​​are to be acquired compared to the second embodiment.

[0092] The processing functions of the devices (e.g., the anomaly factor determination device 1, the operation management device 100, and the monitoring device 200) shown in each of the above embodiments can be realized by a computer. In this case, a program describing the processing contents of the functions that each device should have is provided, and the above processing functions are realized on the computer by executing the program on a computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of computer-readable recording media include magnetic storage devices, optical disks, and semiconductor memories. Examples of magnetic storage devices include hard disk drives (HDDs) and magnetic tapes. Examples of optical disks include CDs (Compact Discs), DVDs (Digital Versatile Discs), and Blu-ray Discs (BD, registered trademark).

[0093] When distributing a program, for example, the program is recorded on a portable recording medium such as a DVD or CD and then sold. The program can also be stored in a storage device of a server computer and transferred from the server computer to other computers via a network.

[0094] A computer that executes a program stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage device. The computer then reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from a portable recording medium and execute processing according to the program. The computer can also execute processing according to the received program each time a program is transferred from a server computer connected via a network. [Explanation of symbols]

[0095] 1 Abnormality factor determination device 2. Metrics Database 3 Event Log Database 4. Time chart 5 Logs M1~M4 Metric S1~S5 steps T1~T5 time

Claims

1. The computer when an abnormality is detected at a first time based on a first metric among a plurality of metrics indicating usage status of resources included in the information processing system, identifying one or more second metrics indicating that a corresponding resource was unused immediately before the first time from among the plurality of metrics excluding the first metric; Identifying, for each of the one or more second metrics, a second time at which a corresponding resource changes from an unused state to a used state, going back from immediately before the first time to a past time based on the usage status indicated by each of the one or more second metrics; specifying a search period from a third time, which is the oldest of the identified second times, to the first time, and acquiring, from a database in which logs of events executed in the information processing system are accumulated, logs of candidate events that are candidates for the cause of anomaly based on the first metric and that were executed during the search period; determining a cause of the anomaly based on the first metric on the basis of the candidate event indicated by the acquired log; Method for determining abnormality causes.

2. In identifying the one or more second metrics, a metric whose value is equal to or less than a predetermined value immediately before the first time is identified as the one or more second metrics from among the plurality of metrics excluding the first metric; In identifying the second time, a time when a value of each of the one or more second metrics went from being equal to or less than the predetermined value to exceeding the predetermined value going back to a time immediately before the first time is identified as the second time. The method for determining an abnormality cause according to claim 1.

3. The computer further identifies one or more third metrics among the one or more second metrics, the third metrics indicating that a corresponding resource has changed from an unused state to a used state at the first time; In the determination of the second time, the second time is determined for each of the one or more third metrics. The method for determining an abnormality cause according to claim 1.

4. In identifying the one or more second metrics, a metric whose value is equal to or less than a predetermined value immediately before the first time is identified as the one or more second metrics from among the plurality of metrics excluding the first metric; In identifying the one or more third metrics, a metric whose value has changed from less than or equal to the predetermined value to more than the predetermined value at the first time is identified as the one or more third metrics from among the one or more second metrics; In identifying the second time, a time when a value of each of the one or more third metrics went from being equal to or less than the predetermined value to exceeding the predetermined value going back to a time immediately before the first time is identified as the second time. The method for determining an abnormality cause according to claim 3.

5. the computer executes a determination process for determining the presence or absence of an abnormality based on each of a plurality of specific metrics among the plurality of metrics at each determination time at a predetermined time interval; In identifying the one or more second metrics, when an abnormality is detected based on the first metric among the identified metrics at the first time among the determination times, the one or more second metrics indicating that a corresponding resource is in an unused state at a determination time immediately before the first time among the determination times are identified from among the metrics among the plurality of metrics excluding the first metric. The method for determining an abnormality cause according to claim 1 .

6. On the computer, when an abnormality is detected at a first time based on a first metric among a plurality of metrics indicating usage status of resources included in the information processing system, identifying one or more second metrics indicating that a corresponding resource was unused immediately before the first time from among the plurality of metrics excluding the first metric; Identifying, for each of the one or more second metrics, a second time at which a corresponding resource changes from an unused state to a used state, going back from just before the first time to a past time based on the usage status indicated by each of the one or more second metrics; specifying a search period from a third time, which is the oldest of the identified second times, to the first time, and acquiring, from a database in which logs of events executed in the information processing system are accumulated, logs of candidate events that are candidates for the cause of anomaly based on the first metric and that were executed during the search period; determining a cause of the anomaly based on the first metric on the basis of the candidate event indicated by the acquired log; An abnormality cause determination program that executes processing.

Citation Information

Patent Citations

  • Method and apparatus for cause analysis configuration change

    JP2012003647A

  • Monitoring apparatus, monitoring method, and program

    JP2015164005A

  • Abnormality analysis support system and abnormality analysis support device

    JP2017227973A

  • Correlation for user-selected time ranges of values for performance metrics of components in an information-technology environment with log data from that information-technology environment

    US20140324862A1

  • Fault analysis method, fault analysis system, and storage medium

    WO2014184934A1