ja:documentation:pandorafms:monitoring:06_web_monitoring

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:monitoring:06_web_monitoring [2025/06/15 06:40] – [概要] junichija:documentation:pandorafms:monitoring:06_web_monitoring [2025/06/15 06:56] (現在) – [高度なトランザクション監視] junichi
行 33: 行 33:
 ==== インストールと設定 ==== ==== インストールと設定 ====
  
-[[:en:documentation:pandorafms:installation:04_configuration#webserver|The Pandora FMS server must be activated]] and restarted with:+The [[:en:documentation:pandorafms:installation:04_configuration#webserver|Web server must be activated]] and Pandora FMS server restarted. To activate the Web server, it must be modified in PFMS server configuration file:
  
-以下のように [[:ja:documentation:pandorafms:installation:04_configuration#webserver|Pandora FMS サーバを有効化]]再起動します。+[[:ja:documentation:pandorafms:installation:04_configuration#webserver|Webサーバを有効化]]し、Pandora FMS サーバを再起動してください。Webサーバを有効化するには、PFMS サーバ設定ファイルを変更する必要があります。
  
-<code> +  webserver 1
-webserver 1 +
-</code>+
  
-実行したいリクエスト数に応じて、スレッド数およびデフォルトのタイムアウトを増やします。+Depending on the number of requests you may have to increase the number of threads and the default timeout:
  
-<code> +リクエストの数に応じて、スレッド数とデフォルトのタイムアウトを増やす必要がある場合があります。 
- web_threads 1  + 
- web_timeout 60 +  web_threads 1 
-</code>+  web_timeout 60
  
 Goliat が使うライブラリのタイプ (LWP または CURL) を変更できる拡張設定トークンがあります。デフォルトでは CURL が利用されていますが、切り替えることができます。 Goliat が使うライブラリのタイプ (LWP または CURL) を変更できる拡張設定トークンがあります。デフォルトでは CURL が利用されていますが、切り替えることができます。
  
-<code> +   
-web_engine curl +  # Use curl or LWP 
- +  web_engine curl
-</code>+
  
-<WRAP center round info 60%>+<WRAP center round info 90%>
  
-Pandora FMS has protection against CSRF and it may happen that web checks, when debugged, get this message: ''Cannot verify the origin of the request'' Take this protection into account when considering the use of "[[:en: documentation:pandorafms:monitoring:13_user_monitorization#introduction|WUX Monitoring]]".+Pandora FMS has protection against CSRF and when debugging web checks you could get this message: \\ ''Cannot verify the origin of the request'' \\ Take into account this protection to consider the use of "[[:en:documentation:pandorafms:monitoring:13_user_monitorization|WUX monitoring]]".
  
 </WRAP> </WRAP>
  
-<WRAP center round info 60%>+<WRAP center round info 90%>
  
-Pandora FMS は [[https://en.wikipedia.org/wiki/Cross-site_request_forgery|CSRF]] に対して保護されており、デバッグ時に Web チェックで ''Cannot verify the origin of the request'' いうメッセージが表示される場合があります。 +Pandora FMS は CSRF に対する保護機能があり、Web チェックをデバッグするきに次のメッセージが表示される場合があります: \\ ''Cannot verify the origin of the request'' \\ この保護機能を考慮して、"[[:ja:documentation:pandorafms:monitoring:13_user_monitorization|WUX モニタリング]]の使用を検討てください。
-[[:ja:documentation:pandorafms:monitoring:13_user_monitorization#概要|WUX 監視]] の使用を検討する際には、この保護を考慮に入れてください。+
  
 </WRAP> </WRAP>
行 139: 行 135:
 これらの値を利用することにより、フォームにデータを送信し、正しく動作するかどうかをチェックすることができます。 これらの値を利用することにより、フォームにデータを送信し、正しく動作するかどうかをチェックすることができます。
  
-<WRAP center round important 60%+<WRAP center round important 90%>
-ドメインのリダイレクションには対応していません。この問題に対応するには、リダイレクトされた後にアクセスされるアドレスでモジュールを作成する必要があります。 +
-</WRAP>+
  
-前のケースでは、 **curl** コマンドのパラメータが短いバージョンでは、+In some cases of domain redirection, checks may not work. One way to solve this is to modify the module pointing to the final domain, e.g. ''curl -L''.
  
-<code> +</WRAP>
--L+
  
-</code>+<WRAP center round important 90%>
  
-あり、長いバージョンでは、+ドメインリダイレクトの場合、チェックが機能しないことがあります。これを解決する一つの方法は最終的なドメイを指すようにモジュールを変更することす。例: ''curl -L''
  
-<code> +</WRAP>
---location +
- +
-</code> +
- +
-であるため、HTTP 3XX リダイレクトを受けた場合、リダイレクトされたドメインに対して再度実行されます。 **ただし、Pandora FMS の柔軟性により**、デバッグボタンを使用できます。  +
- +
-{{  :wiki:resources-manage_agents-modules-remote_http_debug.png?700  }} +
- +
-モジュールの作成時点では、モジュールは有効化されておらず、最初のチェックを実行した後モジュールを使用できるようになります。これを強制的に実行して時間を節約できます。  +
- +
-このモジュールを変更するときは、**デバッグ(Debug)** ボタンをクリックすると、デバッグモードに入って **クエリ(Query)** を編集できます。  +
- +
-{{  :wiki:resources-manage_agents-modules-remote_http_debug-curl_parameters.png?800  }} +
- +
-モジュールのクエリを **クエリの実行(Execute query)** ボタンで実行したり、目的の結果が得られるまで他の値に変更して再実行したりできます。 +
  
-{{  :wiki:resources-manage_agents-modules-remote_http_debug-curl_parameters_pfms.png?700  }}+<wrap #ks1_4 />
  
 ==== ウェブの応答時間チェック ==== ==== ウェブの応答時間チェック ====
行 201: 行 179:
 </WRAP> </WRAP>
  
 +<wrap #ks1_5 />
  
 ==== ウェブページのフォームのチェック ==== ==== ウェブページのフォームのチェック ====
行 428: 行 406:
 [[:wiki:apiwiki2.png?id=ja:documentation:03_monitoring:06_web_monitoring&media=wiki:apiwiki2.png|{{  :wiki:apiwiki2.png?nolink&400  }}]] [[:wiki:apiwiki2.png?id=ja:documentation:03_monitoring:06_web_monitoring&media=wiki:apiwiki2.png|{{  :wiki:apiwiki2.png?nolink&400  }}]]
  
-<WRAP center round important 60%> 呼び出しが正しく実行されるように、括弧内にキャプチャグループを適切に定義することが重要です。 </WRAP>+<WRAP center round important 90%>
  
-<WRAP center round important 60%> API 呼び出しを作成するときは、宛先 API に呼び出しを許可する適切な権限があるかどうかを確認する必要があります。 </WRAP>+  * It is important to correctly define the capture groups in parentheses so that the call is performed properly. 
 +  * When making API calls, it is important to note that the target API must have permissions to be queried.
  
 +</WRAP>
  
 +<WRAP center round important 90%>
 +
 +  * 呼び出しが適切に実行されるように、括弧内のキャプチャグループを正しく定義することが重要です。
 +  * API 呼び出しを行う場合、対象 API にクエリを実行するための権限が必要であることに注意することが重要です。
 +
 +</WRAP>
 +
 +<wrap #ks1_9 />
  
 ==== 拡張オプション ==== ==== 拡張オプション ====
 +
 +<wrap #ks1_9_1 />
 +
 === HTTP ヘッダーのカスタマイズ === === HTTP ヘッダーのカスタマイズ ===
 //header// オプションで、HTTP ヘッダのカスタマイズしたり追加したりできます。たとえば、//Host// HTTP ヘッダーを変更するには次のようにします。 //header// オプションで、HTTP ヘッダのカスタマイズしたり追加したりできます。たとえば、//Host// HTTP ヘッダーを変更するには次のようにします。
行 445: 行 436:
 </code> </code>
  
-<wrap #ks1_8_2 />+<wrap #ks1_9_2 />
  
 === ウェブチェックのデバッグ === === ウェブチェックのデバッグ ===
行 456: 行 447:
  task_end  task_end
 </code> </code>
 +
 +<wrap #ks1_9_3 />
  
 === LWP の代わりの Curl の利用 === === LWP の代わりの Curl の利用 ===
行 468: 行 461:
 Pandora FMS サーバを再起動すると、ウェブチェックに LWP の代わりに Curl バイナリが利用されます。 Pandora FMS サーバを再起動すると、ウェブチェックに LWP の代わりに Curl バイナリが利用されます。
  
 +<wrap #ks2 />
  
 ===== 高度なトランザクション監視 ===== ===== 高度なトランザクション監視 =====
  
-Goliath が提供する機能に加えて、Web トランザクション監視を実行するの方法があります。一つは分散型(UX)で、アクセスできないネットワークであっても、サーバとは異なるシステムに "エージェント" として展開します。もう一つは集中化された方法(WUX)です。より詳細については [[ja:documentation:03_monitoring:13_user_monitorization|ユーザエクスペリエンス監視 (UX および WUX)]] を参照してください+In addition to the feature offered by PFMS Web server, there is another way to perform transactional monitoring: the [[:en:documentation:pandorafms:monitoring:13_user_monitorization|WEB User Experience Monitoring (WUX)]]. 
 + 
 +PFMS ウェブサーバが提供する機能に加えて、トランザクション監視を実行するの方法があります[[:ja:documentation:pandorafms:monitoring:13_user_monitorization|WEB ユーザエクスペリエンス監視 (WUX)]]。
  
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  • ja/documentation/pandorafms/monitoring/06_web_monitoring.1749969606.txt.gz
  • 最終更新: 2025/06/15 06:40
  • by junichi