アクション・ロギング・サービス

Adaptive Action Manager は、アクション・ロギングのメカニズムとして、CEI (Common Event Infrastructure) を使用してアクション・ロギングを有効にします。

Adaptive Action Manager は、アクションが実行される前と後に、CEI (Common Event Infrastructure) で CBE (Common Base Event) のイベントを発行します。発行されたイベントのログ・データに基づいてアクション実行をトラックできます。

以下の表は、アクションの実行前のロギング・イベントについて説明します。
アクション・ハンドラーのロギング・イベントの発生前
CBE (Common Base Event) のプロパティー名 使用法の説明
globalInstanceId xsd: ID。イベントのグローバルに固有な基本 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」
シチュエーション
cbe: シチュエーション
situationType cbe: SituationType
reasoningScope=「EXTERNAL」が割り当てられています。
categoryName=「OtherSituation」
contextDataElement
AAM は、ここにシチュエーション・イベントの
グローバル ID を配置します。
type =「SituationEventGlobalIdentifier」
name=「IBMWBIMonitor」(規格に準拠する)
contextId=シチュエーション・イベントのグローバル ID の値
addContextDataElementWithId(String arg0,
String arg1, String arg2) メソッドを使用
extensionName 「IBMWBIMonitorActionHandlerLoggingEvent」が保管されます。
ExtendedDataElements CBE (Common Base Event) (シチュエーション・イベント・データ) に含まれる拡張データ・エレメントのデータ。
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:ストリング 実行対象ハンドラーの名前。
次の表は、アクションの実行後のロギング・イベントについての説明を示します。
アクション・ハンドラーのロギング・イベントの発生後
CBE (Common Base Event) のプロパティー名 使用法の説明
globalInstanceId xsd:ID。イベントのグローバルに固有な基本 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」
シチュエーション
cbe: シチュエーション
situationType cbe: SituationType
reasoningScope=「EXTERNAL」が割り当てられています。
categoryName=「OtherSituation」
contextDataElement
AAM は、ここにイベント前のグローバル ID を配置します。
type =「BeforeInvokingActionServiceLoggingEventGlob
alIdentifier」
name=「IBMWBIMonitorActionHandler」
contextId=ロギング・イベント前のグローバル ID の値
AAM は、ここにシチュエーション・イベントの
グローバル ID を配置します。
type =「SituationEventGlobalIdentifier」
name=「IBMWBIMonitor」
contextId=シチュエーション・イベントのグローバル ID の値
addContextDataElementWithId(String arg0,
String arg1, String arg2) メソッドを使用
extensionName 「IBMWBIMonitorActionHandlerLoggingEvent」が保管されます。
ExtendedDataElements CBE (Common Base Event) (シチュエーション・イベント・データ) に含まれる拡張データ・エレメントのデータ。
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:ストリング 「E メール」、「ページ」、「SMS」、「アラート」、または「Web サービス」
IBM_AAM_Template_Name xsd:ストリング アクション・サービスに使用されるテンプレートの名前。
IBM_AAM_Exception_Name xsd:ストリング スローされた例外の名前 (存在する場合)。
IBM_AAM_Application_Message xsd:ストリング 共通ログのアプリケーション・メッセージの名前 (存在する場合)。

Copyright IBM Corporation 2005, 2006. All Rights Reserved.