Patent ID: 8316383

Claim:
A method for determining an incident of a resource in a computing environment, the method comprising: selecting a target state and a current state of the resource upon detecting an occurrence of an event of at least one event pertaining to the resource, the target state being a state which the resource is planned to be in, the current state being a state which the resource is actually in, wherein an event data of at least one event data is associated with the event, the selecting comprising: selecting the target state and the current state of the resource from a state value set, the state value set comprising ONLINE, OFFLINE, STARTUP, and SHUTDOWN, wherein ONLINE denotes that the resource is available for services, wherein OFFLINE denotes that the resource is not available for services, wherein STARTUP denotes that the resource transits from OFFLINE to ONLINE, and wherein SHUTDOWN denotes that the resource transits from ONLINE to OFFLINE; assigning a selected target state to a DESIRED_STATE parameter of the event data; assigning a selected current state to an OBSERVED_STATE parameter of the event data; and assigning a time value when the event occurred to a TIMESTAMP parameter of the event data; determining that the event occurred to the resource is incidental and instantiating the event data accordingly, the determining comprising: responsive to discovering that the target state remains in a same state of ONLINE prior to and upon detecting the event and responsive to discovering that the current state has changed from ONLINE prior to the event to STARTUP upon detecting the event, setting an UNPLANNED parameter of the event data such that the UNPLANNED parameter indicates that the event is an incident; and storing the event data in a data repository of the computing environment, wherein the selecting, the determining, and the storing are performed by a system automation module of the computing environment.