US20110072442A1 - Event-handler for selecting responsive actions - Google Patents

Event-handler for selecting responsive actions Download PDF

Info

Publication number
US20110072442A1
US20110072442A1 US12/564,151 US56415109A US2011072442A1 US 20110072442 A1 US20110072442 A1 US 20110072442A1 US 56415109 A US56415109 A US 56415109A US 2011072442 A1 US2011072442 A1 US 2011072442A1
Authority
US
United States
Prior art keywords
action
event
row entry
computer
previously recorded
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.)
Abandoned
Application number
US12/564,151
Inventor
Sanaa Abdelhadi
Guoyou Chen
Kenneth Bruce MacKenzie
David W. Nip
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to US12/564,151 priority Critical patent/US20110072442A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES, CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES, CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ABDELHADI, SANAA, NIP, DAVID WA-WAI, CHEN, GUOYOU, MACKENZIE, KENNETH BRUCE
Publication of US20110072442A1 publication Critical patent/US20110072442A1/en
Priority to US13/433,558 priority patent/US9164818B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0709Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems
    • 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

Definitions

  • the present invention relates generally to a computer implemented method, data processing system, and computer program product for selecting responsive actions. More specifically, the present invention relates to referencing earlier attempted actions, if sufficiently current, and responding with at least one alternate action.
  • An event is a signal that indicates a condition of a resource of a data processing system.
  • An event can be, for example, a condition related to a rotation rate of a fan. Accordingly, the event can be a signal generated to identify both the resource and the condition of the resource. Some events can be asynchronously generated from an error condition.
  • multiple events may be aggregated together to form an event summary.
  • An event summary is an event that describes at least two other events. For example, an event summary can be a count of the number of times a fan speed exceeded a threshold in the previous hour.
  • a resource is a physical data processing hardware or virtual resource, backed by physical data processing hardware.
  • a resource can correspond to a system, subsystem, software program, or device.
  • a resource can have attributes such as a temperature.
  • An event may be a request such as a hypertext protocol request at a server, or a report that a processor on that server has met or exceeded a temperature. Accordingly, the use of events can be helpful to collect information about a data processing system's status.
  • One or more events can be indicative of an underlying problem or anomaly. Accordingly, it is helpful that system administrators pay attention to some events under some conditions.
  • the present invention provides a computer implemented method and apparatus to handle events based on historic actions.
  • An event-handler receives an event, wherein the event has an associated event-type.
  • the event-handler determines if there is a history associated with the event by reading the event-action history table.
  • the event-handler looks up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action.
  • the event-handler executes at least one instruction of the action.
  • the event-handler records the event and action data to the event-action history table.
  • FIG. 1 is a data processing system in accordance with an illustrative embodiment of the invention
  • FIG. 2 is an action table in accordance with an illustrative embodiment of the invention.
  • FIG. 3A is an event-action history table at a first time in accordance with an illustrative embodiment of the invention
  • FIG. 3B is an event-action history table at a second time in accordance with an illustrative embodiment of the invention.
  • FIG. 4 is an event-handler in a data processing system in accordance with an illustrative embodiment of the invention.
  • FIG. 5 is a flowchart of steps performed by an event-handler in accordance with an illustrative embodiment of the invention.
  • Data processing system 100 is an example of a computer, in which code or instructions implementing the processes of the present invention may be located.
  • data processing system 100 employs a hub architecture including a north bridge and memory controller hub (NB/MCH) 102 and a south bridge and input/output (I/O) controller hub (SB/ICH) 104 .
  • NB/MCH north bridge and memory controller hub
  • I/O input/output controller hub
  • Processor 106 , main memory 108 , and graphics processor 110 connect to north bridge and memory controller hub 102 .
  • Graphics processor 110 may connect to the NB/MCH through an accelerated graphics port (AGP), for example.
  • AGP accelerated graphics port
  • local area network (LAN) adapter 112 connects to south bridge and I/O controller hub 104 and audio adapter 116 , keyboard and mouse adapter 120 , modem 122 , read only memory (ROM) 124 , hard disk drive (HDD) 126 , CD-ROM drive 130 , universal serial bus (USB) ports and other communications ports 132 , and PCI/PCIe devices 134 connect to south bridge and I/O controller hub 104 through bus 138 and bus 140 .
  • PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not.
  • ROM 124 may be, for example, a flash binary input/output system (BIOS).
  • Hard disk drive 126 and CD-ROM drive 130 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface.
  • IDE integrated drive electronics
  • SATA serial advanced technology attachment
  • a super I/O (SIO) device 136 may be connected to south bridge and I/O controller hub 104 .
  • An operating system runs on processor 106 , and coordinates and provides control of various components within data processing system 100 in FIG. 1 .
  • the operating system may be a commercially available operating system such as Microsoft® Windows® XP.
  • Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
  • An object oriented programming system such as the JavaTM programming system, may run in conjunction with the operating system and provides calls to the operating system from JavaTM programs or applications executing on data processing system 100 .
  • JavaTM is a trademark of Sun Microsystems, Inc. in the United States, other countries, or both.
  • Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 126 , and may be loaded into main memory 108 for execution by processor 106 .
  • the processes of the present invention can be performed by processor 106 using computer implemented instructions, which may be located in a memory such as, for example, main memory 108 , read only memory 124 , or in one or more peripheral devices.
  • FIG. 1 may vary depending on the implementation.
  • Other internal hardware or peripheral devices such as flash memory, equivalent non-volatile memory, and the like, may be used in addition to or in place of the hardware depicted in FIG. 1 .
  • the processes of the illustrative embodiments may be applied to a multiprocessor data processing system.
  • data processing system 100 may be a personal digital assistant (PDA), which is configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data.
  • PDA personal digital assistant
  • a bus system may be comprised of one or more buses, such as a system bus, an I/O bus and a PCI bus. Of course, the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture.
  • a communication unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter.
  • a memory may be, for example, main memory 108 or a cache such as found in north bridge and memory controller hub 102 .
  • a processing unit may include one or more processors or CPUs.
  • the depicted example in FIG. 1 is not meant to imply architectural limitations.
  • data processing system 100 also may be a tablet computer, laptop computer, or telephone device in addition to taking the form of a PDA.
  • aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
  • a computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • the aspects of the illustrative embodiments provide a computer implemented method, data processing system, and computer program product for recording events and responsive actions. Such a computer implemented method may permit an escalation of event handling through the selection of successive levels of action.
  • An action is a signal transmitted in order to directly or indirectly change the status of a resource.
  • An action can be sending a remote notification message.
  • a remote notification message is a message carried by a signal that targets a device that is likely to be in another room as compared to the room that houses the data processing system executing the event-handler.
  • the remote notification message can be, for example, a text message, an electronic mail, and a voice message.
  • the device can be a personal communication device.
  • a personal communication device is a device typically used only by one person.
  • the personal communication device can be a mobile telephone, a pager, a laptop computer equipped with an email client, and the like.
  • FIG. 2 is an action table in accordance with an illustrative embodiment of the invention.
  • Row entry 201 in action table 200 identifies fields that hold details concerning when or how an action can be triggered.
  • a criterion for finding a match may be at least one of several fields.
  • a row entry is composed of fields.
  • the fields are event description 210 , count threshold 220 , frequency threshold 230 , and action label 240 .
  • the event description may be a specific resource associated with an event-type.
  • An event-type is a classification used to identify events that share a common feature. For example, an event-type can be a fan revolution speed that crosses a pre-defined threshold.
  • Such an event may carry a label that expresses to a human being the nature of the event, for example, “fan slow”.
  • Another event-type can be a power failure of one or more hardware components. Such an event-type may carry a label of, for example, “power off”.
  • Further event-types can be, for example, fan failure, memory utilization above a preset memory level, and processor usage above a preset usage level, among others.
  • a preset memory level is threshold related to an indication of usage of memory.
  • a preset usage level is a threshold related to an indication of processor usage.
  • an event-type can be a resource failure, where a resource fails to respond.
  • the label for an event corresponds to a condition of a resource that is physical or relies on a physical device to provide functionality.
  • An event description may be a combination of an event-type and a descriptor that identifies the particular one of the resources associated with the event. For example, the event description can be “fan slow—fan 21 ” in one case, and “power off—backplane alpha” in another.
  • an event description is associated with an action that can be one of several actions to be taken with respect to the event that meets the event description.
  • a determining factor concerning which of several actions to take can be criteria that compares a count of a particular event to a count threshold.
  • the count threshold is a criterion that is satisfied if the count currently experienced for a resource matches the count threshold.
  • the count threshold may be a range, bounded or unbounded, that is satisfied by the count currently experienced for a resource.
  • row entry 201 describes an Event 1 during times when count threshold 221 of 0 prior events are detected, as well as a ‘not available’ or ‘don't care’ frequency, and an action label 241 of “Email Employee 1 ’.
  • an event-handler may perform an action of emailing Employee 1 in response to receiving an event (corresponding to a resource) at a time when no previously detected Event 1 events have occurred in accordance with row entry 201 .
  • a count corresponding to a resource may be the number of times an event has been detected for a resource after an initialization of the resource. The count can also be limited to recurring events for which a particular action has been performed in response to a event.
  • An initialization of a resource can be application of power, successful self-testing of the resource, and/or satisfying a prolonged period of correct operation by the resource, among others.
  • a prolonged period of correct operation can be a period, which is predetermined to imply that a resource has received sufficient attention to place the resource in a satisfactory state.
  • a row entry can include information consisting of a count, a frequency, and/or a previous action (not shown).
  • Each value in the row represents criteria by which incoming events are judged, except the action label.
  • the action label describes an action targeted to be performed in response to the criteria being met. Accordingly, the action table includes one or more row entries, as described above.
  • the action label such as action label 240
  • action label 241 may be “Email Employee 1 ”.
  • the action may be a program name, and correspond to command line variables to allow for insertion of event details to be placed in a body of an email or other message.
  • the event-handler may use such a label name to resolve the executable code and to perform the steps of the executable code, optionally with reference to the event description 210 or to count 220 .
  • a row entry can include a frequency for the event described in the same row.
  • a frequency is a rate for two or more events that meet criteria.
  • a frequency can be, for example, two times an hour.
  • a frequency field may be expressed as a range that is bounded or unbounded. A typical range may be greater than twice an hour.
  • criteria for taking action described by an action label may include matching or meeting conditions described in event description, count and frequency fields, additional criteria may be tested in order to find a matching row entry to an event.
  • a valid time field may be present which may define allowed times of day for an action to occur.
  • Such a field can direct service calls to employees that are on call on a specific schedule. Accordingly, many additional fields can be applied to more precisely trigger remedial actions.
  • a further criterion can be a previous action.
  • a previous action is a descriptor in a row entry that is used to compare the previously recorded action for an event.
  • the event-handler may compare criteria of the row entry to an event, where a match occurs provided a previously recorded action of the event matches the previous action of the row entry.
  • the event-handler may perform the action described in the matched row entry.
  • the next action to perform is related to the previous action, in this alternate embodiment action table.
  • FIG. 3A is an event-action history table at a first time in accordance with an illustrative embodiment of the invention.
  • An event-action history table is a data structure used to record at least pairs of events and actions that were taken in response to the event.
  • Event-action history table 310 can be populated with event-action 301 , for example, upon performance of the action associated with row entry 201 of FIG. 2 .
  • An event-action is an entry to a row in an event-action table. Accordingly, the event-action can describe the number of times a particular action was performed for a particular event.
  • Event-actions are, for example, event-action 301 and event-action 351 , shown in FIG. 3B .
  • Event-action 301 may contain “Event 1 ” 311 with frequency count 321 of 1, at timestamp “12:01 PM” 331 for “Email Employee 1 ” 341 .
  • a timestamp is an indication of the time the specified action was invoked.
  • “Email Employee 1 ” 341 may be a previously recorded action.
  • a previously recorded action is an action recorded by the event-handler.
  • FIG. 3B is an event-action history table at a second time in accordance with an illustrative embodiment of the invention.
  • Event-action history table 350 may include two events, Event 1 312 and Event 1 352 .
  • the count corresponding to each event-action is “1” 322 and “2” 362 , respectively.
  • Each event-action includes a timestamp, for example, “12:01 PM” 332 and “12:31 PM” 372 , respectively, such as timestamp “12:01 PM” 331 in FIG. 3A .
  • Each event-action may further include action labels, namely, “Email Employee 1 ” 342 and “Email Employee 2 ” 392 .
  • FIG. 4 is an event-handler in a data processing system in accordance with an illustrative embodiment of the invention.
  • Event-handler code 405 can be a software component.
  • a software component is executable code executed by a processor. Accordingly, event-handler code 405 may read from and write to event-action history table 411 , in response to receiving one or more events 401 .
  • Event-handler code 405 may read or look-up row entries in action table 413 . Based on the look-up, event-handler code 405 may transmit an action 409 when executed on computing resources such as data processing system 100 , of FIG. 1 .
  • the event-handler code may, when coupled to the data processing system, execute at least one instruction of the action.
  • event-handler may encapsulate program code instructions together with data structures upon which the code relies.
  • event-handler code 405 event-action history table 411 , and action table 413 may be implemented as an object within an object oriented data processing system.
  • events are shown arriving from outside the data processing system, it is appreciated that events may occur from within the data processing system.
  • actions are shown issuing from the data processing system, it is appreciated that actions may be directed to components or resources within the data processing system.
  • Events can be summarized by event filter 400 .
  • An event filter aggregates events and provides an event as a signal to event-handler code 405 . By summarizing events in this manner, the event-handler code may be sent events that are fewer as compared to operation without an event filter. Use of event filter 400 may trigger an action to satisfy a grouping of events that the event filter processes.
  • FIG. 5 is a flowchart of steps performed by an event-handler in accordance with an illustrative embodiment of the invention.
  • the event-handler may be code executed on a processor, such as processor 106 of data processing system 100 of FIG. 1 .
  • event-handler receives an event (step 501 ).
  • the event can be “Fan 1 —low speed”.
  • an event may be a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a preset level. Accordingly, such an event may correspond to an incipient contention issue associated with a data processing system operating as a web server.
  • the event-handler may record the event to an event-action history table (step 503 ).
  • the recording of the event to the event-action history table can include forming an event-action, for example, by adding a field to the event-action history table, including, for example, “Event 1 ” 311 of FIG. 3A .
  • the event-handler may determine a history associated with the event (step 505 ). This step may be performed by reading or looking-up row entries of the event-action history table. The step can include reading a previous action corresponding to the event. In addition, the event-handler can determine a count for the event, where the count is the historical number of times the event has occurred for the resource, for example, since a point in time. Alternatively, the history can include a previously recorded action, for example previously recorded action “Email Employee 1 ” 341 of FIG. 3A . The previously recorded action may be compared to a previous action in an action table, for example action table 200 of FIG. 2 . Based in part on the previous action, a corresponding action description may be used by the event-handler to select the new action to take.
  • the event-handler may look up a row entry in an action table based on the event-type (step 507 ). This step may also include comparing the count, determined at step 505 , to a count threshold, for example, count threshold 221 of FIG. 2 . This comparison can be considered a match when the count equals the count threshold of a row entry. It is appreciated that additional matching criteria can exist for step 507 . For example, the matching criteria can be equal to or greater than.
  • the event-handler may calculate a frequency based on a timestamp of a previously logged event in relation to a most recently received event. As such, the frequency established in relation to the most recently received event may be used to compare in the action table (frequency field 230 ) to determine if the row entry compares or satisfies the criteria established therein in relation to the existing frequency.
  • the event-handler may execute at least one instruction of the action looked up in the previous step (step 509 ).
  • the action can include a preliminary remedy to the event.
  • a preliminary remedy is an initial remedy which, from experience or based on resource availability, is effective in resolving an event in many cases.
  • the event received is a second or later event received related to a resource
  • the action can include an advanced remedy to the event.
  • An advanced remedy to an event is a remedy that is effective in some cases where an initial remedy is not effective in resolving the event.
  • the event-handler may record action data to the event-action history table (step 515 ).
  • Action data is data that identifies the action taken.
  • Action data may be, for example, event-actions entered as rows to the event-action table, for example event-action table 350 of FIG. 3B .
  • the action taken may be identified with an action label, for example, action label 240 of FIG. 2 . Processing may terminate thereafter.
  • step of recording the action data and the event may be performed in a single write operation to the event-action history table. Accordingly either step 503 may perform the additional step of recording action data, or step 505 may perform the additional step of recording the event, while the alternately numbered step may be optional.
  • the illustrative embodiments permit a system administrator to set up escalating actions for a data processing system to perform or otherwise transmit to account for recurring events. Accordingly, a subsequent action may be varied from a previous action. For example, an error condition can be responded to in a manner different from the first action taken. In other words, a comparison of the previously recorded action to an action table's previous action can be the basis for selecting a new action for the newest iteration of a particular event. Described above, is a way to email a different employee, for example, as one way to follow-up with different actions. The actions are different with respect to at least with respect to multiple occurrences of the same event.
  • a corresponding action may be to request that a hypervisor configure and/or provision a second web server to share the processing load that impacts an initial web server.
  • the illustrative embodiments may sequence actions so that a previous action is sending a real-time message to a personal communication device and the manner different than the previous action is sending a real-time message to a second personal communication device.
  • a real-time message is a message that is dispatched in a manner expected to be noticed within minutes of the message dispatch, for example, a page notification on a mobile paging device.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements.
  • the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
  • the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system.
  • a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • the medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium.
  • Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk.
  • Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
  • a data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus.
  • the memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories, which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
  • I/O devices including but not limited to keyboards, displays, pointing devices, etc.
  • I/O controllers can be coupled to the system either directly or through intervening I/O controllers.
  • Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks.
  • Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.

Abstract

Disclosed is a computer implemented method, computer program product, and apparatus to handle events based on historic actions. An event-handler receives an event, wherein the event has an associated event-type. The event-handler records the event to an event-action history table. The event-handler determines a history associated with the event by reading the event-action history table. The event-handler looks up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action. The event-handler executes at least one instruction of the action. The event-handler records the event and action data to the event-action history table.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates generally to a computer implemented method, data processing system, and computer program product for selecting responsive actions. More specifically, the present invention relates to referencing earlier attempted actions, if sufficiently current, and responding with at least one alternate action.
  • 2. Description of the Related Art
  • Systems management software installed on data processing systems are used to detect and catalog events. An event is a signal that indicates a condition of a resource of a data processing system. An event can be, for example, a condition related to a rotation rate of a fan. Accordingly, the event can be a signal generated to identify both the resource and the condition of the resource. Some events can be asynchronously generated from an error condition. In addition, multiple events may be aggregated together to form an event summary. An event summary is an event that describes at least two other events. For example, an event summary can be a count of the number of times a fan speed exceeded a threshold in the previous hour. A resource is a physical data processing hardware or virtual resource, backed by physical data processing hardware. A resource can correspond to a system, subsystem, software program, or device. A resource can have attributes such as a temperature. An event, on the other hand, may be a request such as a hypertext protocol request at a server, or a report that a processor on that server has met or exceeded a temperature. Accordingly, the use of events can be helpful to collect information about a data processing system's status.
  • One or more events can be indicative of an underlying problem or anomaly. Accordingly, it is helpful that system administrators pay attention to some events under some conditions.
  • SUMMARY OF THE INVENTION
  • The present invention provides a computer implemented method and apparatus to handle events based on historic actions. An event-handler receives an event, wherein the event has an associated event-type. The event-handler determines if there is a history associated with the event by reading the event-action history table. The event-handler looks up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action. The event-handler executes at least one instruction of the action. The event-handler records the event and action data to the event-action history table.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
  • FIG. 1 is a data processing system in accordance with an illustrative embodiment of the invention;
  • FIG. 2 is an action table in accordance with an illustrative embodiment of the invention;
  • FIG. 3A is an event-action history table at a first time in accordance with an illustrative embodiment of the invention;
  • FIG. 3B is an event-action history table at a second time in accordance with an illustrative embodiment of the invention;
  • FIG. 4 is an event-handler in a data processing system in accordance with an illustrative embodiment of the invention; and
  • FIG. 5 is a flowchart of steps performed by an event-handler in accordance with an illustrative embodiment of the invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • With reference now to the figures and in particular with reference to FIG. 1, a block diagram of a data processing system is shown in which aspects of an illustrative embodiment may be implemented. Data processing system 100 is an example of a computer, in which code or instructions implementing the processes of the present invention may be located. In the depicted example, data processing system 100 employs a hub architecture including a north bridge and memory controller hub (NB/MCH) 102 and a south bridge and input/output (I/O) controller hub (SB/ICH) 104. Processor 106, main memory 108, and graphics processor 110 connect to north bridge and memory controller hub 102. Graphics processor 110 may connect to the NB/MCH through an accelerated graphics port (AGP), for example.
  • In the depicted example, local area network (LAN) adapter 112 connects to south bridge and I/O controller hub 104 and audio adapter 116, keyboard and mouse adapter 120, modem 122, read only memory (ROM) 124, hard disk drive (HDD) 126, CD-ROM drive 130, universal serial bus (USB) ports and other communications ports 132, and PCI/PCIe devices 134 connect to south bridge and I/O controller hub 104 through bus 138 and bus 140. PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not. ROM 124 may be, for example, a flash binary input/output system (BIOS). Hard disk drive 126 and CD-ROM drive 130 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. A super I/O (SIO) device 136 may be connected to south bridge and I/O controller hub 104.
  • An operating system runs on processor 106, and coordinates and provides control of various components within data processing system 100 in FIG. 1. The operating system may be a commercially available operating system such as Microsoft® Windows® XP. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. An object oriented programming system, such as the Java™ programming system, may run in conjunction with the operating system and provides calls to the operating system from Java™ programs or applications executing on data processing system 100. Java™ is a trademark of Sun Microsystems, Inc. in the United States, other countries, or both.
  • Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 126, and may be loaded into main memory 108 for execution by processor 106. The processes of the present invention can be performed by processor 106 using computer implemented instructions, which may be located in a memory such as, for example, main memory 108, read only memory 124, or in one or more peripheral devices.
  • Those of ordinary skill in the art will appreciate that the hardware in FIG. 1 may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash memory, equivalent non-volatile memory, and the like, may be used in addition to or in place of the hardware depicted in FIG. 1. In addition, the processes of the illustrative embodiments may be applied to a multiprocessor data processing system.
  • In some illustrative examples, data processing system 100 may be a personal digital assistant (PDA), which is configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data. A bus system may be comprised of one or more buses, such as a system bus, an I/O bus and a PCI bus. Of course, the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. A communication unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. A memory may be, for example, main memory 108 or a cache such as found in north bridge and memory controller hub 102. A processing unit may include one or more processors or CPUs. The depicted example in FIG. 1 is not meant to imply architectural limitations. For example, data processing system 100 also may be a tablet computer, laptop computer, or telephone device in addition to taking the form of a PDA.
  • The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
  • The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
  • As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
  • Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The aspects of the illustrative embodiments provide a computer implemented method, data processing system, and computer program product for recording events and responsive actions. Such a computer implemented method may permit an escalation of event handling through the selection of successive levels of action. An action is a signal transmitted in order to directly or indirectly change the status of a resource. An action can be sending a remote notification message. A remote notification message is a message carried by a signal that targets a device that is likely to be in another room as compared to the room that houses the data processing system executing the event-handler. The remote notification message can be, for example, a text message, an electronic mail, and a voice message. The device can be a personal communication device. A personal communication device is a device typically used only by one person. For example, the personal communication device can be a mobile telephone, a pager, a laptop computer equipped with an email client, and the like.
  • FIG. 2 is an action table in accordance with an illustrative embodiment of the invention. Row entry 201 in action table 200 identifies fields that hold details concerning when or how an action can be triggered. A criterion for finding a match may be at least one of several fields. A row entry is composed of fields. In this case, the fields are event description 210, count threshold 220, frequency threshold 230, and action label 240. The event description may be a specific resource associated with an event-type. An event-type is a classification used to identify events that share a common feature. For example, an event-type can be a fan revolution speed that crosses a pre-defined threshold. Such an event may carry a label that expresses to a human being the nature of the event, for example, “fan slow”. Another event-type can be a power failure of one or more hardware components. Such an event-type may carry a label of, for example, “power off”. Further event-types can be, for example, fan failure, memory utilization above a preset memory level, and processor usage above a preset usage level, among others. A preset memory level is threshold related to an indication of usage of memory. A preset usage level is a threshold related to an indication of processor usage. In addition, an event-type can be a resource failure, where a resource fails to respond. In each case, the label for an event corresponds to a condition of a resource that is physical or relies on a physical device to provide functionality. An event description may be a combination of an event-type and a descriptor that identifies the particular one of the resources associated with the event. For example, the event description can be “fan slow—fan21” in one case, and “power off—backplane alpha” in another.
  • For each row entry, an event description is associated with an action that can be one of several actions to be taken with respect to the event that meets the event description. A determining factor concerning which of several actions to take can be criteria that compares a count of a particular event to a count threshold. The count threshold is a criterion that is satisfied if the count currently experienced for a resource matches the count threshold. Alternatively, the count threshold may be a range, bounded or unbounded, that is satisfied by the count currently experienced for a resource. For example, row entry 201 describes an Event1 during times when count threshold 221 of 0 prior events are detected, as well as a ‘not available’ or ‘don't care’ frequency, and an action label 241 of “Email Employee1’. Accordingly, an event-handler may perform an action of emailing Employee1 in response to receiving an event (corresponding to a resource) at a time when no previously detected Event1 events have occurred in accordance with row entry 201.
  • A count corresponding to a resource may be the number of times an event has been detected for a resource after an initialization of the resource. The count can also be limited to recurring events for which a particular action has been performed in response to a event. An initialization of a resource can be application of power, successful self-testing of the resource, and/or satisfying a prolonged period of correct operation by the resource, among others. A prolonged period of correct operation can be a period, which is predetermined to imply that a resource has received sufficient attention to place the resource in a satisfactory state.
  • A row entry can include information consisting of a count, a frequency, and/or a previous action (not shown). Each value in the row represents criteria by which incoming events are judged, except the action label. The action label describes an action targeted to be performed in response to the criteria being met. Accordingly, the action table includes one or more row entries, as described above.
  • The action label, such as action label 240, may be a name for executable code, which can be resolved by a data processing system to execute the code and dispatch at least one signal of the corresponding action. For example, action label 241 may be “Email Employee1”. The action may be a program name, and correspond to command line variables to allow for insertion of event details to be placed in a body of an email or other message. The event-handler may use such a label name to resolve the executable code and to perform the steps of the executable code, optionally with reference to the event description 210 or to count 220.
  • A row entry can include a frequency for the event described in the same row. A frequency is a rate for two or more events that meet criteria. A frequency can be, for example, two times an hour. A frequency field may be expressed as a range that is bounded or unbounded. A typical range may be greater than twice an hour.
  • It is appreciated that criteria for taking action described by an action label may include matching or meeting conditions described in event description, count and frequency fields, additional criteria may be tested in order to find a matching row entry to an event. For example, a valid time field may be present which may define allowed times of day for an action to occur. Such a field can direct service calls to employees that are on call on a specific schedule. Accordingly, many additional fields can be applied to more precisely trigger remedial actions.
  • A further criterion can be a previous action. A previous action is a descriptor in a row entry that is used to compare the previously recorded action for an event. In this alternate embodiment, the event-handler may compare criteria of the row entry to an event, where a match occurs provided a previously recorded action of the event matches the previous action of the row entry. Thus, responsive to a match in the action table, the event-handler may perform the action described in the matched row entry. In other words, the next action to perform, is related to the previous action, in this alternate embodiment action table.
  • FIG. 3A is an event-action history table at a first time in accordance with an illustrative embodiment of the invention. An event-action history table is a data structure used to record at least pairs of events and actions that were taken in response to the event. Event-action history table 310 can be populated with event-action 301, for example, upon performance of the action associated with row entry 201 of FIG. 2. An event-action is an entry to a row in an event-action table. Accordingly, the event-action can describe the number of times a particular action was performed for a particular event. Event-actions are, for example, event-action 301 and event-action 351, shown in FIG. 3B. Event-action 301 may contain “Event1311 with frequency count 321 of 1, at timestamp “12:01 PM” 331 for “Email Employee1341. A timestamp is an indication of the time the specified action was invoked. “Email Employee1341 may be a previously recorded action. A previously recorded action is an action recorded by the event-handler.
  • FIG. 3B is an event-action history table at a second time in accordance with an illustrative embodiment of the invention. Event-action history table 350 may include two events, Event1 312 and Event1 352. The count corresponding to each event-action is “1” 322 and “2” 362, respectively. Each event-action includes a timestamp, for example, “12:01 PM” 332 and “12:31 PM” 372, respectively, such as timestamp “12:01 PM” 331 in FIG. 3A. Each event-action may further include action labels, namely, “Email Employee1342 and “Email Employee2392.
  • FIG. 4 is an event-handler in a data processing system in accordance with an illustrative embodiment of the invention. Event-handler code 405 can be a software component. A software component is executable code executed by a processor. Accordingly, event-handler code 405 may read from and write to event-action history table 411, in response to receiving one or more events 401. Event-handler code 405 may read or look-up row entries in action table 413. Based on the look-up, event-handler code 405 may transmit an action 409 when executed on computing resources such as data processing system 100, of FIG. 1. The event-handler code may, when coupled to the data processing system, execute at least one instruction of the action. In addition, the event-handler may encapsulate program code instructions together with data structures upon which the code relies. For example, event-handler code 405, event-action history table 411, and action table 413 may be implemented as an object within an object oriented data processing system. Although events are shown arriving from outside the data processing system, it is appreciated that events may occur from within the data processing system. Although actions are shown issuing from the data processing system, it is appreciated that actions may be directed to components or resources within the data processing system.
  • Events can be summarized by event filter 400. An event filter aggregates events and provides an event as a signal to event-handler code 405. By summarizing events in this manner, the event-handler code may be sent events that are fewer as compared to operation without an event filter. Use of event filter 400 may trigger an action to satisfy a grouping of events that the event filter processes.
  • FIG. 5 is a flowchart of steps performed by an event-handler in accordance with an illustrative embodiment of the invention. The event-handler may be code executed on a processor, such as processor 106 of data processing system 100 of FIG. 1. Initially, event-handler receives an event (step 501). For example, the event can be “Fan 1—low speed”. Alternatively, an event may be a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a preset level. Accordingly, such an event may correspond to an incipient contention issue associated with a data processing system operating as a web server. Next, the event-handler may record the event to an event-action history table (step 503). The recording of the event to the event-action history table can include forming an event-action, for example, by adding a field to the event-action history table, including, for example, “Event 1311 of FIG. 3A.
  • Next, the event-handler may determine a history associated with the event (step 505). This step may be performed by reading or looking-up row entries of the event-action history table. The step can include reading a previous action corresponding to the event. In addition, the event-handler can determine a count for the event, where the count is the historical number of times the event has occurred for the resource, for example, since a point in time. Alternatively, the history can include a previously recorded action, for example previously recorded action “Email Employee1341 of FIG. 3A. The previously recorded action may be compared to a previous action in an action table, for example action table 200 of FIG. 2. Based in part on the previous action, a corresponding action description may be used by the event-handler to select the new action to take.
  • Next, the event-handler may look up a row entry in an action table based on the event-type (step 507). This step may also include comparing the count, determined at step 505, to a count threshold, for example, count threshold 221 of FIG. 2. This comparison can be considered a match when the count equals the count threshold of a row entry. It is appreciated that additional matching criteria can exist for step 507. For example, the matching criteria can be equal to or greater than. In addition, the event-handler may calculate a frequency based on a timestamp of a previously logged event in relation to a most recently received event. As such, the frequency established in relation to the most recently received event may be used to compare in the action table (frequency field 230) to determine if the row entry compares or satisfies the criteria established therein in relation to the existing frequency.
  • Next, the event-handler may execute at least one instruction of the action looked up in the previous step (step 509). If the event received is the first event received related to a particular resource, the action can include a preliminary remedy to the event. A preliminary remedy is an initial remedy which, from experience or based on resource availability, is effective in resolving an event in many cases. If the event received is a second or later event received related to a resource, the action can include an advanced remedy to the event. An advanced remedy to an event is a remedy that is effective in some cases where an initial remedy is not effective in resolving the event.
  • In response to executing the at least one instruction, the event-handler may record action data to the event-action history table (step 515). Action data is data that identifies the action taken. Action data may be, for example, event-actions entered as rows to the event-action table, for example event-action table 350 of FIG. 3B. The action taken may be identified with an action label, for example, action label 240 of FIG. 2. Processing may terminate thereafter.
  • It is appreciated that the step of recording the action data and the event ( steps 515 and 503, respectively) may be performed in a single write operation to the event-action history table. Accordingly either step 503 may perform the additional step of recording action data, or step 505 may perform the additional step of recording the event, while the alternately numbered step may be optional.
  • The illustrative embodiments permit a system administrator to set up escalating actions for a data processing system to perform or otherwise transmit to account for recurring events. Accordingly, a subsequent action may be varied from a previous action. For example, an error condition can be responded to in a manner different from the first action taken. In other words, a comparison of the previously recorded action to an action table's previous action can be the basis for selecting a new action for the newest iteration of a particular event. Described above, is a way to email a different employee, for example, as one way to follow-up with different actions. The actions are different with respect to at least with respect to multiple occurrences of the same event.
  • Where an event is a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a preset level a corresponding action may be to request that a hypervisor configure and/or provision a second web server to share the processing load that impacts an initial web server.
  • In addition, the illustrative embodiments may sequence actions so that a previous action is sending a real-time message to a personal communication device and the manner different than the previous action is sending a real-time message to a second personal communication device. A real-time message is a message that is dispatched in a manner expected to be noticed within minutes of the message dispatch, for example, a page notification on a mobile paging device.
  • The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
  • The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
  • Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
  • A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories, which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
  • Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
  • Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
  • The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (25)

1. A computer implemented method for handling events based on historic actions, the computer implemented method comprising:
receiving an event, wherein the event has an associated event-type;
determining a history associated with the event by reading an event-action history table;
looking up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action;
executing at least one instruction of the action; and
recording the event and action data to the event-action history table to form an event-action.
2. The computer implemented method of claim 1, wherein recording the event and action data comprises recording a timestamp with the action data.
3. The computer implemented method of claim 1, wherein the row entry comprises at least one selected from the group consisting of a count threshold, a frequency threshold, and an action.
4. The computer implemented method of claim 3, wherein determining a history comprises locating a previously recorded action corresponding to the event; and looking up a row entry comprises:
determining a count for the event-action;
iteratively comparing the count to a count threshold of at least one row entry; and
comparing a frequency of the event-action to a frequency threshold of at least one row entry; wherein the looking up forms a match to the at least one selected from the group consisting of a row entry's count threshold, and the row entry's frequency threshold.
5. The computer implemented method of claim 4, wherein the event-action history table comprises a previously recorded action with respect to the event, and looking up forms a match, provided the previously recorded action matches the previous action.
6. The computer implemented method of claim 1, wherein looking up a row entry further comprises:
looking up the row entry in the action table based on the previously recorded action; and
executing further comprises executing the action in a manner different than the previously recorded action, wherein the previously recorded action is a preliminary remedy and the manner different than the previously recorded action is an advanced remedy.
7. The computer implemented method of claim 6, wherein the event is a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a frequency threshold.
8. The computer implemented method of claim 7, wherein the resource is a server, and the action is provisioning a server.
9. The computer implemented method of claim 8, wherein the action comprises sending at least one remote notification message selected from the group consisting of a text message, electronic mail, and a voice message.
10. The computer implemented method of claim 7, wherein the previously recorded action is sending a real-time message to a first personal communication device and the manner different than the previously recorded action is sending a real-time message to a second personal communication device.
11. The computer implemented method of claim 1, wherein the event-type is a resource failure.
12. A computer program product handling events based on historic actions, the computer program product comprising:
computer readable program code configured to receive an event, wherein the event has an associated event-type;
computer readable program code configured to determine a history associated with the event by reading an event-action history table;
computer readable program code configured to look up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action;
computer readable program code configured to execute at least one instruction of the action; and
computer readable program code configured to record the event and an action data to the event-action history table to form an event-action.
13. The computer program product of claim 12, wherein the row entry comprises at least one selected from the group consisting of a count threshold, a frequency threshold, and an action.
14. The computer program product of claim 13, wherein computer readable program code configured to determine a history comprises computer readable program code configured to locate a previously recorded action corresponding to the event; and looking up a row entry comprises:
computer readable program code configured to determine a count for the event-action;
computer readable program code configured to iteratively compare the count to the count threshold of at least one row entry; and
computer readable program code configured to compare a frequency of the event-action to a frequency threshold of at least one row entry; wherein computer readable program code configured to look up forms a match to the at least one selected from the group consisting of a row entry's count threshold, and the row entry's frequency threshold.
15. The computer program product of claim 12, wherein computer readable program code configured to look up a row entry further comprises:
computer readable program code configured to look up the row entry in the action table based on the previously recorded action; and
computer readable program code configured to execute further comprises computer readable program code to execute the action in a manner different than the previously recorded action, wherein the previously recorded action is a preliminary remedy and the manner different than the previous action is an advanced remedy, wherein the previously recorded action is sending a real-time message to a first personal communication device and the manner different than the previously recorded action is sending a real-time message to a second personal communication device.
16. The computer program product of claim 15, wherein the event is a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a frequency threshold.
17. The computer program product of claim 16, wherein the resource is a server and the action is provisioning a server.
18. A computer implemented method for handling events, the computer implemented method comprising:
receiving an event, wherein the event an associated event-type;
recording the event to an event-action history table, wherein recording the action data comprises recording a timestamp with the action data;
determining a history associated with the event by reading the event-action history table;
looking up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action; and
recording an action data to the event-action history table, wherein the action data is different than previously recorded action data for the prior events associated with a resource in common with the event.
19. The computer implemented method of claim 18, wherein receiving further comprises receiving an event asynchronously.
20. A data processing system comprising:
a bus;
a storage device connected to the bus, wherein computer usable code is located in the storage device;
a communication unit connected to the bus; and
a processing unit connected to the bus, wherein the processing unit executes the computer usable code for handling events based on historic actions, wherein the processor executes computer usable code to receive an event, wherein the event has an associated event-type; record the event to an event-action history table, wherein recording the action data comprises recording a timestamp with the action data; determine a history associated with the event by reading the event-action history table; look up a row entry in an action table based at least in part on the event-type, wherein the row entry comprises an action; execute at least one instruction of the action; and record the event and action data to the event-action history table to form an event-action.
21. The data processing system of claim 20, wherein the row entry comprises at least one selected from the group consisting of a count threshold, a frequency threshold, and an action.
22. The data processing system of claim 21, wherein in executing computer usable code to determine a history, the processing unit further executes computer usable code to locate a previously recorded action corresponding to the event; and wherein in executing computer usable code to look up a row entry the processing unit further executes computer readable program code configured to determine a count for the event-action; iteratively compare the count to the count threshold of at least one row entry; and compare a frequency of the event-action to a frequency threshold of at least one row entry; wherein looking up forms a match to the at least one selected from the group consisting of a row entry's count threshold, and the row entry's frequency threshold.
23. The data processing system of claim 20, wherein in executing computer usable code to look up a row entry, the processing unit further executes computer usable code to look up the row entry in the action table based on the previously recorded action; and execute the action in a manner different than the previously recorded action, wherein the previously recorded action is a preliminary remedy and the manner different than the previously recorded action is an advanced remedy, wherein the previously recorded action is sending a real-time message to a first personal communication device and the manner different than the previously recorded action is sending a real-time message to a second personal communication device.
24. The data processing system of claim 23, wherein the event is a hypertext transport protocol request in a sequence of hypertext transport protocol requests having a frequency above a frequency threshold.
25. The data processing system of claim 24, wherein the resource is a server, and the action is provisioning a server.
US12/564,151 2009-09-22 2009-09-22 Event-handler for selecting responsive actions Abandoned US20110072442A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/564,151 US20110072442A1 (en) 2009-09-22 2009-09-22 Event-handler for selecting responsive actions
US13/433,558 US9164818B2 (en) 2009-09-22 2012-03-29 Event-handler for selecting responsive actions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/564,151 US20110072442A1 (en) 2009-09-22 2009-09-22 Event-handler for selecting responsive actions

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/433,558 Continuation US9164818B2 (en) 2009-09-22 2012-03-29 Event-handler for selecting responsive actions

Publications (1)

Publication Number Publication Date
US20110072442A1 true US20110072442A1 (en) 2011-03-24

Family

ID=43757748

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/564,151 Abandoned US20110072442A1 (en) 2009-09-22 2009-09-22 Event-handler for selecting responsive actions
US13/433,558 Expired - Fee Related US9164818B2 (en) 2009-09-22 2012-03-29 Event-handler for selecting responsive actions

Family Applications After (1)

Application Number Title Priority Date Filing Date
US13/433,558 Expired - Fee Related US9164818B2 (en) 2009-09-22 2012-03-29 Event-handler for selecting responsive actions

Country Status (1)

Country Link
US (2) US20110072442A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150234936A1 (en) * 2014-02-20 2015-08-20 Fujitsu Limited Event propagation in graph data
CN107894885A (en) * 2017-11-17 2018-04-10 北京酷我科技有限公司 A kind of square frequency spectrum generation method of audio
US10333792B2 (en) * 2016-04-21 2019-06-25 Korea Advanced Institute Of Science And Technology Modular controller in software-defined networking environment and operating method thereof
CN111124547A (en) * 2019-12-26 2020-05-08 中国平安人寿保险股份有限公司 Task processing method and device
US10970143B1 (en) * 2019-11-19 2021-04-06 Hewlett Packard Enterprise Development Lp Event action management mechanism
CN112671549A (en) * 2019-10-16 2021-04-16 华为技术有限公司 Data processing method, equipment and system
US11126584B2 (en) 2015-10-30 2021-09-21 Samsung Electronics Co., Ltd. Method for transferring request in storage device and method for issuing command in host

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9483331B1 (en) * 2012-12-27 2016-11-01 EMC IP Holding Company, LLC Notifying a multipathing driver of fabric events and performing multipathing management operations in response to such fabric events

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530868A (en) * 1991-08-12 1996-06-25 International Business Machines Corporation Notification of event handlers in broadcast or propagation mode by event management services in a computer system
US6094681A (en) * 1998-03-31 2000-07-25 Siemens Information And Communication Networks, Inc. Apparatus and method for automated event notification
US6487677B1 (en) * 1999-09-30 2002-11-26 Lsi Logic Corporation Methods and systems for dynamic selection of error recovery procedures in a managed device
US20040186739A1 (en) * 2002-11-01 2004-09-23 David Bolles Customer configurable system and method for alarm system and monitoring service
US7026929B1 (en) * 2002-05-10 2006-04-11 A La Cart, Inc. Food information monitoring system
US20060240803A1 (en) * 2005-04-26 2006-10-26 Xerox Corporation Automated notification systems and methods
US7219239B1 (en) * 2002-12-02 2007-05-15 Arcsight, Inc. Method for batching events for transmission by software agent
US7293087B2 (en) * 2000-01-21 2007-11-06 Scriptlogic Corporation Event-based application for performing configuration changes in a networked environment
US7389354B1 (en) * 2000-12-11 2008-06-17 Cisco Technology, Inc. Preventing HTTP server attacks
US7543024B2 (en) * 2001-05-03 2009-06-02 Oracle International Corporation System and method for monitoring multiple online resources in different formats
US20090183023A1 (en) * 2008-01-11 2009-07-16 Lucent Technologies Inc. Method and apparatus for time-based event correlation
US7756972B2 (en) * 2005-12-06 2010-07-13 Cisco Technology, Inc. System for power savings in server farms
US20100268764A1 (en) * 2009-04-15 2010-10-21 Wee Sewook Method and system for client-side scaling of web server farm architectures in a cloud data center
US8332502B1 (en) * 2001-08-15 2012-12-11 Metavante Corporation Business to business network management event detection and response system and method
US8806275B1 (en) * 2009-04-30 2014-08-12 Bank Of America Corporation Self-service terminal remote fix

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7149917B2 (en) * 2002-07-30 2006-12-12 Cisco Technology, Inc. Method and apparatus for outage measurement
US7743286B2 (en) * 2005-05-17 2010-06-22 International Business Machines Corporation Method, system and program product for analyzing demographical factors of a computer system to address error conditions

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530868A (en) * 1991-08-12 1996-06-25 International Business Machines Corporation Notification of event handlers in broadcast or propagation mode by event management services in a computer system
US6094681A (en) * 1998-03-31 2000-07-25 Siemens Information And Communication Networks, Inc. Apparatus and method for automated event notification
US6487677B1 (en) * 1999-09-30 2002-11-26 Lsi Logic Corporation Methods and systems for dynamic selection of error recovery procedures in a managed device
US7293087B2 (en) * 2000-01-21 2007-11-06 Scriptlogic Corporation Event-based application for performing configuration changes in a networked environment
US7389354B1 (en) * 2000-12-11 2008-06-17 Cisco Technology, Inc. Preventing HTTP server attacks
US7543024B2 (en) * 2001-05-03 2009-06-02 Oracle International Corporation System and method for monitoring multiple online resources in different formats
US8332502B1 (en) * 2001-08-15 2012-12-11 Metavante Corporation Business to business network management event detection and response system and method
US7026929B1 (en) * 2002-05-10 2006-04-11 A La Cart, Inc. Food information monitoring system
US20040186739A1 (en) * 2002-11-01 2004-09-23 David Bolles Customer configurable system and method for alarm system and monitoring service
US7219239B1 (en) * 2002-12-02 2007-05-15 Arcsight, Inc. Method for batching events for transmission by software agent
US20060240803A1 (en) * 2005-04-26 2006-10-26 Xerox Corporation Automated notification systems and methods
US7756972B2 (en) * 2005-12-06 2010-07-13 Cisco Technology, Inc. System for power savings in server farms
US20090183023A1 (en) * 2008-01-11 2009-07-16 Lucent Technologies Inc. Method and apparatus for time-based event correlation
US20100268764A1 (en) * 2009-04-15 2010-10-21 Wee Sewook Method and system for client-side scaling of web server farm architectures in a cloud data center
US8806275B1 (en) * 2009-04-30 2014-08-12 Bank Of America Corporation Self-service terminal remote fix

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150234936A1 (en) * 2014-02-20 2015-08-20 Fujitsu Limited Event propagation in graph data
US11126584B2 (en) 2015-10-30 2021-09-21 Samsung Electronics Co., Ltd. Method for transferring request in storage device and method for issuing command in host
US10333792B2 (en) * 2016-04-21 2019-06-25 Korea Advanced Institute Of Science And Technology Modular controller in software-defined networking environment and operating method thereof
CN107894885A (en) * 2017-11-17 2018-04-10 北京酷我科技有限公司 A kind of square frequency spectrum generation method of audio
CN112671549A (en) * 2019-10-16 2021-04-16 华为技术有限公司 Data processing method, equipment and system
US20220239572A1 (en) * 2019-10-16 2022-07-28 Huawei Technologies Co., Ltd. Data Processing Method, Device, and System
US10970143B1 (en) * 2019-11-19 2021-04-06 Hewlett Packard Enterprise Development Lp Event action management mechanism
CN111124547A (en) * 2019-12-26 2020-05-08 中国平安人寿保险股份有限公司 Task processing method and device

Also Published As

Publication number Publication date
US9164818B2 (en) 2015-10-20
US20120197951A1 (en) 2012-08-02

Similar Documents

Publication Publication Date Title
US9164818B2 (en) Event-handler for selecting responsive actions
US8595564B2 (en) Artifact-based software failure detection
US9641413B2 (en) Methods and computer program products for collecting storage resource performance data using file system hooks
US8839271B2 (en) Call stack sampling to obtain information for analyzing idle states in a data processing system
US8086838B2 (en) Methods and systems for providing manufacturing mode detection and functionality in a UEFI BIOS
US7962782B2 (en) Modifying connection records
US20140189776A1 (en) Real-Time Representation of Security-Relevant System State
US8301860B2 (en) Identifying dynamically changing virtual storage devices
WO2019148727A1 (en) Electronic device, redis-based exception warning method and storage medium
US11360847B2 (en) Memory scrub system
US20190138375A1 (en) Optimization of message oriented middleware monitoring in heterogenenous computing environments
US9424546B2 (en) Prioritising event processing based on system workload
US10896073B1 (en) Actionability metric generation for events
US11836067B2 (en) Hyper-converged infrastructure (HCI) log system
US9176783B2 (en) Idle transitions sampling with execution context
CN115004156A (en) Real-time multi-tenant workload tracking and automatic throttling
WO2020015116A1 (en) Database monitoring method and terminal device
US11243979B1 (en) Asynchronous propagation of database events
US8205121B2 (en) Reducing overpolling of data in a data processing system
US7657664B2 (en) Method and system for tracking device driver requests
US20230066698A1 (en) Compute instance warmup operations
US11340964B2 (en) Systems and methods for efficient management of advanced functions in software defined storage systems
CN113238815B (en) Interface access control method, device, equipment and storage medium
US8132183B2 (en) Methods, systems and computer program products for dynamic categorized event cool off for CIM indications
US11809299B2 (en) Predicting storage array capacity

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES, CORPORATION, NEW

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ABDELHADI, SANAA;CHEN, GUOYOU;MACKENZIE, KENNETH BRUCE;AND OTHERS;SIGNING DATES FROM 20090915 TO 20090917;REEL/FRAME:023262/0835

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION