조치 로깅 서비스

Adaptive Action Manager에서는 조치 로깅 메커니즘으로 CEI(Common Event Infrastructure)를 사용하여 조치를 로깅할 수 있습니다.

Adaptive Action Manager는 CEI(Common Event Infrastructure)에서 공통 기본 이벤트 구조로 이벤트를 생성하는데, 조치가 실행되기 전과 후에 생성됩니다. 따라서 생성된 이벤트의 로깅 데이터를 기준으로 조치 실행을 추적할 수 있습니다.

다음 테이블은 조치가 실행되기 전의 로깅 이벤트를 설명합니다.
조치 핸들러 로깅 이벤트 전
공통 기본 이벤트 특성 이름 사용법 설명
globalInstanceId xsd:ID. 이벤트 생성 시 CEI(Common Event Infrastructure)가 생성하는, 글로벌에서 고유한 이벤트의 기본 ID
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은 상황 이벤트 글로벌 ID를 여기에 입력합니다.
type = "SituationEventGlobalIdentifier"
name="IBMWBIMonitor" (comply with standards)
contextId= 상황 이벤트
글로벌 ID 값
use addContextDataElementWithId(String arg0,
String arg1, String arg2)method
extensionName “IBMWBIMonitorActionHandlerLoggingEvent”가 저장됨.
ExtendedDataElements 공통 기본 이벤트(상황 이벤트 데이터)에서 확장 데이터 요소의 데이터.
ExtendedDataElements 속성
이름 유형 설명
IBM_AAM_Logging 유형 xsd: 문자열 “BeforeInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd: 문자열 상황 이벤트 확장 이름
IBM_AAM_Monitor_Context_Data_Element_Name xsd: 문자열 상황 이벤트 ContextDataElement 이름
IBM_AAM_Monitor_Context_Data_Element_Id xsd: 문자열 상황 이벤트 ContextDataElement ID
IBM_AAM_Action_Handler_Name xsd: 문자열 실행될 핸들러의 이름
다음 테이블은 조치가 실행된 후의 로깅 이벤트를 설명합니다.
조치 핸들러 로깅 이벤트 후
공통 기본 이벤트 특성 이름 사용법 설명
globalInstanceId xsd:ID. 이벤트 생성 시 CEI(Common Event Infrastructure)가 생성하는, 글로벌에서 고유한 이벤트의 기본 ID.
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은 before 이벤트 글로벌 ID를 여기에 입력합니다.
type ="BeforeInvokingActionServiceLoggingEventGlob
alIdentifier"
name="IBMWBIMonitorActionHandler"
contextId= before 로깅 이벤트
글로벌 ID 값
AAM은 상황 이벤트 글로벌 ID를 여기에 입력합니다.
type = "SituationEventGlobalIdentifier"
name="IBMWBIMonitor"
contextId= 상황 이벤트
글로벌 ID 값
use addContextDataElementWithId(String arg0,
String arg1,String arg2) method
extensionName “IBMWBIMonitorActionHandlerLoggingEvent”가 저장됨.
ExtendedDataElements 공통 기본 이벤트(상황 이벤트 데이터)에서 확장 데이터 요소의 데이터.
ExtendedDataElements의 속성
이름 유형 설명
IBM_AAM_Logging 유형 xsd: 문자열 “AfterInvokingActionService”
IBM_AAM_Situation_Extension_Name xsd: 문자열 상황 이벤트 확장 이름
IBM_AAM_Monitor_Context_Data_Element_Name xsd: 문자열 상황 이벤트 ContextDataElement 이름
IBM_AAM_Monitor_Context_Data_Element_Id xsd: 문자열 상황 이벤트 ContextDataElement ID
IBM_AAM_Action_Handler_Name xsd: 문자열 실행될 핸들러의 이름
IBM_AAM_Action_Invocation_Disposition xsd: 문자열 "ActionInvocationSuccessful" 또는 "ActionInvocationUnSuccessful"
IBM_AAM_Action_Service_Name xsd: 문자열 "전자 우편" 또는 "페이지" 또는 "SMS" 또는 "경고" 또는 "웹 서비스"
IBM_AAM_Template_Name xsd: 문자열 조치 서비스에 사용된 템플리트의 이름
IBM_AAM_Exception_Name xsd: 문자열 발생한 예외 이름(있을 경우)
IBM_AAM_Application_Message xsd: 문자열 공통 로그에 대한 응용프로그램 메시지 이름(있을 경우)

Copyright IBM Corporation 2005, 2006. All Rights Reserved.