操作日志记录服务

自适应操作管理器通过将“公共事件基础结构(CEI)”作为操作日志记录机制,实现对操作日志记录功能的支持。

在执行操作前后,自适应操作管理器在“公共事件基础结构”上的“公共基础事件”基础结构中发出事件。您可以根据已发布事件中的日志记录数据来跟踪操作的执行。

下表描述操作执行之前的日志记录事件。
操作前处理程序记录事件
公共基础事件属性名 用法描述
globalInstanceId xsd: ID 事件的全球唯一主标识,当发布事件时由 CEI 生成。
creationTime xsd:dateTime 事件发布的日期和时间。必须是 dateTime 数据类型。
sourceComponentId
cbe: ComponentIdentification
location = 标准主机名(如 host.raleigh.ibm.com)
locationType=“FQHostname”
application=不在字段中输入任何内容
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”。
categoryName=“OtherSituation”
contextDataElement
AAM 在此放置一个状况事件全局标识。
type =“SituationEventGlobalIdentifier”
name=“IBMWBIMonitor”(符合标准)
contextId=状况事件全局标识的值
使用 addContextDataElementWithId(String arg0,
String arg1, String arg2) 方法
extensionName 存储“IBMWBIMonitorActionHandlerLoggingEvent”。
ExtendedDataElements 来自于“公共基础事件(状况事件数据)”中扩展数据元素的数据。
ExtendedDataElements 中的属性
名称 类型 描述
IBM_AAM_Logging 类型 xsd: string “BeforeInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd:string 状况事件扩展名
IBM_AAM_Monitor_Context_Data_Element_Name xsd:string 状况事件 ContextDataElement 名
IBM_AAM_Monitor_Context_Data_Element_Id xsd:string 状况事件 ContextDataElement 标识
IBM_AAM_Action_Handler_Name xsd:string 将执行的处理程序名
下表描述操作执行之后的日志记录事件。
操作后处理程序日志记录事件
公共基础事件属性名 用法描述
globalInstanceId xsd:ID。事件的全球唯一主标识,当发布事件时由 CEI 生成。
creationTime xsd:dateTime 事件发布的日期和时间。必须是 dateTime 数据类型。
sourceComponentId
cbe: ComponentIdentification
location = 标准主机名(如 host.raleigh.ibm.com)
locationType=“FQHostname”
application=不在字段中输入任何内容
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”。
categoryName=“OtherSituation”
contextDataElement
AAM 在此放置操作前事件的全局标识。
type =“BeforeInvokingActionServiceLoggingEventGlob
alIdentifier”
name=“IBMWBIMonitorActionHandler”
contextId=操作前日志记录事件的全局标识的值
AAM 在此放置一个状况事件全局标识。
type =“SituationEventGlobalIdentifier”
name=“IBMWBIMonitor”
contextId=状况事件全局标识的值
使用 addContextDataElementWithId(String arg0,
String arg1, String arg2) 方法
extensionName 存储“IBMWBIMonitorActionHandlerLoggingEvent”。
ExtendedDataElements 来自于“公共基础事件(状况事件数据)”中扩展数据元素的数据。
ExtendedDataElements 中的属性
名称 类型 描述
IBM_AAM_Logging 类型 xsd: string “AfterInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd:string 状况事件扩展名
IBM_AAM_Monitor_Context_Data_Element_Name xsd:string 状况事件 ContextDataElement 名
IBM_AAM_Monitor_Context_Data_Element_Id xsd:string 状况事件 ContextDataElement 标识
IBM_AAM_Action_Handler_Name xsd:string 将执行的处理程序名
IBM_AAM_Action_Invocation_Disposition xsd:string “ActionInvocationSuccessful”或 “ActionInvocationUnSuccessful”
IBM_AAM_Action_Service_Name xsd:string “电子邮件”、“页面”、“SMS”、“警报”或“Web Service”
IBM_AAM_Template_Name xsd:string 用于操作服务的模板名称
IBM_AAM_Exception_Name xsd:string 抛出的异常的名称(如果有的话)
IBM_AAM_Application_Message xsd:string 公共日志的应用程序消息名称(如果有的话)

Copyright IBM Corporation 2005, 2006. All Rights Reserved.