ja:documentation:03_monitoring:12_transactional_monitoring

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ja:documentation:03_monitoring:12_transactional_monitoring [2021/07/16 21:45] – [制御スクリプト設定] junichija:documentation:03_monitoring:12_transactional_monitoring [2023/06/19 05:52] – [ビジネストランザクション監視] junichi
行 1: 行 1:
-====== ビジネストランザクション監視 ====== +====== (OBSOLETE) ビジネストランザクション監視 ====== 
 {{indexmenu_n>12}} {{indexmenu_n>12}}
  
行 8: 行 8:
 ==== 概要 ==== ==== 概要 ====
  
-<WRAP center round tip 60%> バージョン NG 上 </WRAP>+<WRAP center round info 60%> 
 + 
 +**Version NG 767 or earlier.** 
 + 
 +</WRAP> 
 + 
 +<WRAP center round info 60%> 
 + 
 +**バージョン NG 767 前** 
 + 
 +</WRAP>
  
 [[:wiki:icono-modulo-enterprise.png?id=ja:documentation:03_monitoring:12_transactional_monitoring&media=wiki:icono-modulo-enterprise.png|{{:wiki:icono-modulo-enterprise.png?nolink&  |Versión Enterprise.}}]] [[:wiki:icono-modulo-enterprise.png?id=ja:documentation:03_monitoring:12_transactional_monitoring&media=wiki:icono-modulo-enterprise.png|{{:wiki:icono-modulo-enterprise.png?nolink&  |Versión Enterprise.}}]]
行 42: 行 52:
  
 ==== 処理 ==== ==== 処理 ====
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
 +
 +The set of //stages//  and their workflow (dependency relations) will define a **transactional graph**.
 +
 +//ステージ//の集合とそのワークフロー(依存関係)が、**トランザクショングラフ** を定義します。
  
 <WRAP center round tip 60%>より複雑なタスクを構成する一連のステップとして **トランザクション** を定義します。 これらのステップを **ステージ** と呼びます。</WRAP> <WRAP center round tip 60%>より複雑なタスクを構成する一連のステップとして **トランザクション** を定義します。 これらのステップを **ステージ** と呼びます。</WRAP>
  
-フェーズの集合とそのワークフロー(依存関係)が、**トランザクションネットワーク** を定義します。+Pandora FMS, based on the transactional graph, will launch an order to execute control scripts in each of the previously defined stages. These control scripts will perform the monitoring tasks for each stage.
  
-Pandora FMSは、これらのトランザクショングラフに基づいて、あらかじめ定義された各フェで一連の制御スクリプトを起動します。 これらの制御スクリプトは、各フェに対応する監視タスクを実行します。+Pandora FMSは、これらのトランザクショングラフに基づいて、あらかじめ定義された各ステで一連の制御スクリプトを起動します。 これらの制御スクリプトは、各ステに対応する監視タスクを実行します。
  
 トランザクションのステータスに関する情報を提供する制御スクリプトをチェックするための最も一般的なポイントは次のとおりです。 トランザクションのステータスに関する情報を提供する制御スクリプトをチェックするための最も一般的なポイントは次のとおりです。
行 56: 行 82:
   * inbox にメールが存在するかどうか   * inbox にメールが存在するかどうか
  
-トランザクションシステムは分散しており、必要なだけインフラ上に多くの **トランザクションエージェント**  を配置することができ、これらのエージェントと通信する Pandora FMS サーバがコントロールスクリプトを実行し、各ステップをフォローし状態を表示します。+The transactional system is distributed, being able to deploy as many **transactional agents**  in an infrastructure as needed, and it will be Pandora FMS server the one that will communicate with these agents, indicating the steps to follow and the time when they must run a control script.
  
 +トランザクションシステムは分散しており、必要なだけインフラ上に多くの **トランザクションエージェント**  を配置することができ、これらのエージェントと通信する Pandora FMS サーバがコントロールスクリプトを実行し、各ステップをフォローし状態を表示します。
  
 ==== トランザクションの設定 ==== ==== トランザクションの設定 ====
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
 +
 トランザクション監視を設定し実行するには、以下が必要です。 トランザクション監視を設定し実行するには、以下が必要です。
  
行 72: 行 112:
  
 === 事前分析 === === 事前分析 ===
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
  
 通常のケースを分析してみましょう。 通常のケースを分析してみましょう。
行 87: 行 139:
  
 === 開発と展開 === === 開発と展開 ===
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
  
 例では 4つのフェーズがあり、4つのスクリプトが必要です。 例では 4つのフェーズがあり、4つのスクリプトが必要です。
行 148: 行 212:
  
 === トランザクションの作成 === === トランザクションの作成 ===
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
 +
 Pandora FMS コンソールを利用します。 Pandora FMS コンソールを利用します。
  
行 171: 行 248:
  
 === ステージツリーの作成 === === ステージツリーの作成 ===
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
  
 トランザクションを作成したら、対応するフォームにアクセスすることによってツリーグラフを作成できます。 トランザクションを作成したら、対応するフォームにアクセスすることによってツリーグラフを作成できます。
行 223: 行 312:
 === 制御スクリプト設定 === === 制御スクリプト設定 ===
  
-各フェーズに関連する制御スクリプトを構成する必要があります。これらのスクリプトは、必要なチェックを実行するために事前に定義されている必要があり、また、特定の基本構造を維持するために管理されていなければなりません。 スクリプトの[[wp>Standard_streams|標準出力]] ( ''STDOUT'' ) は、フェーズにおける中心値を決定しますが、ステータス(正しいか不正か)はスクリプト自体の "実行結果" によって決まります。 スクリプトの標準出力(実行時に画面に表示される値)と "実行結果"("エラーレベル"、または "終了コード" とも呼ばれます)と混同しないようにしてください。+<WRAP center round info 60%> 
 + 
 +**Version NG 767 or earlier.** 
 + 
 +</WRAP> 
 + 
 +<WRAP center round info 60%> 
 + 
 +**バージョン NG 767 以前** 
 + 
 +</WRAP> 
 + 
 +各フェーズに関連する制御スクリプトを構成する必要があります。これらのスクリプトは、必要なチェックを実行するために事前に定義されている必要があり、また、特定の基本構造を維持するために管理されていなければなりません。 スクリプトの[[https://en.wikipedia.org/wiki/Standard_streams|標準出力]] ( ''STDOUT'' ) は、フェーズにおける中心値を決定しますが、ステータス(正しいか不正か)はスクリプト自体の "実行結果" によって決まります。 スクリプトの標準出力(実行時に画面に表示される値)と "実行結果"("エラーレベル"、または "終了コード" とも呼ばれます)と混同しないようにしてください。
  
 エラーレベルは、Linux システムで //echo $?// コマンドを実行することで確認できます。また、Windows システムでは、//echo %ERRORLEVEL%// です。 エラーレベルは、Linux システムで //echo $?// コマンドを実行することで確認できます。また、Windows システムでは、//echo %ERRORLEVEL%// です。
行 253: 行 354:
 === トランザクション制御 === === トランザクション制御 ===
 == トランザクションの開始 == == トランザクションの開始 ==
-トランザクション一覧へ行き、開始アイコン(黒いドーナツ)をクリックします。 
  
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
 +
 +トランザクション一覧へ行き、開始アイコン(黒いドーナツ)をクリックします。
  
-{{ wiki:trans14.JPG?800 }}+{{  :wiki:trans14.jpg?800  |trans14.jpg}}
  
  
行 262: 行 375:
  
  
-{{ wiki:trans15.JPG?800 }}+{{  :wiki:trans15.jpg?800  |trans15.jpg}}
  
  
 トランザクションの名前をクリックすると、トランザクションの状態が表示されます。 トランザクションの名前をクリックすると、トランザクションの状態が表示されます。
  
-{{ wiki:trans16.JPG?800 }}+{{  :wiki:trans16.jpg?800  |trans16.jpg}}
  
 == トランザクションの停止 == == トランザクションの停止 ==
行 298: 行 411:
  
 ==== 設定 ==== ==== 設定 ====
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
 +
 === トランザクションサーバ === === トランザクションサーバ ===
  
行 324: 行 450:
  
 === トランザクションエージェント === === トランザクションエージェント ===
 +
 +<WRAP center round info 60%>
 +
 +**Version NG 767 or earlier.**
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +**バージョン NG 767 以前**
 +
 +</WRAP>
  
 トランザクションエージェントは、ワークディレクトリ内に設定ファイルがあります。デフォルトは以下の通りです。 トランザクションエージェントは、ワークディレクトリ内に設定ファイルがあります。デフォルトは以下の通りです。