Action logging service

The Adaptive Action Manager enables action logging using Common Event Infrastructure (CEI) as the action-logging mechanism.

The Adaptive Action Manager emits events in Common Base Event structureon the Common Event Infrastructure before and after an action is executed. You can track action execution based on the logging data in the emitted events.

The following tables describe the logging events before the actions are executed.
Before Action Handler Logging Event
Common Base Events Property Name Usage description
globalInstanceId xsd: ID Globally unique primary identifier of the event, generated by CEI when event is emitted.
creationTime xsd:dateTime The date and time when the event was issued. Must be a dateTime data type.
sourceComponentId
cbe: ComponentIdentification
location = Fully qualified hostname like
host.raleigh.ibm.com
locationType="FQHostname"
application=put nothing in this field
component= "IBMWBIMonitor#6.0"
subComponent=“AdaptiveActionManager#6.0”
componentIdType=“ServiceName”
componentType=
"http://www.ibm.com/namespaces/autonomic/
WebSphereApplicationServer/IBMWBIMonitorComponent"
Situation
cbe: Situation
situationType cbe: SituationType
reasoningScope=“EXTERNAL” is assigned.
categoryName=“OtherSituation”
contextDataElement
AAM puts a situation event global identifier here.
type = "SituationEventGlobalIdentifier"
name="IBMWBIMonitor" (comply with standards)
contextId=value of the situation
event global identifier
use addContextDataElementWithId(String arg0,
String arg1, String arg2)method
extensionName “IBMWBIMonitorActionHandlerLoggingEvent” is stored.
ExtendedDataElements Data from the extended data element in a Common Base Event (situation event data).
Attributes in ExtendedDataElements
Name Type description
IBM_AAM_Logging Type xsd: string “BeforeInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd:string Situation Event Extension Name
IBM_AAM_Monitor_Context_Data_Element_Name xsd:string Situation Event ContextDataElement Name
IBM_AAM_Monitor_Context_Data_Element_Id xsd:string Situation Event ContextDataElement Id
IBM_AAM_Action_Handler_Name xsd:string Name of the handler that will be executing
The following tables describe the logging events after the actions are executed.
After Action Handler Logging Event
Common Base Events Property Name Usage description
globalInstanceId xsd:ID. Globally unique primary identifier of the event, generated by CEI when event is emitted.
creationTime xsd:dateTime The date and time when the event was issued. Must be a dateTime data type.
sourceComponentId
cbe: ComponentIdentification
location = Fully qualified hostname like
host.raleigh.ibm.com
locationType="FQHostname"
application=put nothing in this field
component= "IBMWBIMonitor#6.0"
subComponent=“AdaptiveActionManager#6.0”
componentIdType=“ServiceName”
componentType=
"http://www.ibm.com/namespaces/autonomic/
WebSphereApplicationServer/IBMWBIMonitorComponent"
Situation
cbe: Situation
situationType cbe: SituationType
reasoningScope=“EXTERNAL” is assigned.
categoryName=“OtherSituation”
contextDataElement
AAM puts before event global identifier here.
type ="BeforeInvokingActionServiceLoggingEventGlob
alIdentifier"
name="IBMWBIMonitorActionHandler"
contextId=value of the before logging event
global identifier
AAM puts a situation event global identifier here.
type = "SituationEventGlobalIdentifier"
name="IBMWBIMonitor"
contextId=value of the situation
event global identifier
use addContextDataElementWithId(String arg0,
String arg1,String arg2) method
extensionName “IBMWBIMonitorActionHandlerLoggingEvent” is stored.
ExtendedDataElements Data from the extended data element in a Common Base Event (situation event data).
Attributes in ExtendedDataElements
Name Type Description
IBM_AAM_Logging Type xsd: string “AfterInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd:string Situation Event Extension Name
IBM_AAM_Monitor_Context_Data_Element_Name xsd:string Situation Event ContextDataElement Name
IBM_AAM_Monitor_Context_Data_Element_Id xsd:string Situation Event ContextDataElement Id
IBM_AAM_Action_Handler_Name xsd:string Name of the handler that will be executing
IBM_AAM_Action_Invocation_Disposition xsd:string "ActionInvocationSuccessful" or "ActionInvocationUnSuccessful"
IBM_AAM_Action_Service_Name xsd:string "Email" or "Page" or "SMS" or "Alert" or "Web Service"
IBM_AAM_Template_Name xsd:string Name of the template used for the action service
IBM_AAM_Exception_Name xsd:string Name of the exception thrown (if there is a one)
IBM_AAM_Application_Message xsd:string Name of the application message to the common logs (if there is a one)

Copyright IBM Corporation 2005, 2006. All Rights Reserved.