Action logging service for Common Base Events (Deprecated)
The Monitor action services enable action logging using Common Event Infrastructure (CEI) as the action-logging mechanism.
The Monitor action services emit events using the Common Base Event structure before and after an action is executed. You can track whether an action has been taken based on the logging data from the emitted events.
The following tables describe the logging events before the actions
are executed.
Before Action Handler Logging Event
Common Base Event 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 |
|
Situation |
|
contextDataElement |
|
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 handles the event |
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.hostname.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 is handling the event |
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 applicable) |
IBM_AAM_Application_Message | xsd:string | Name of the application message to the common logs (if applicable) |