ja:documentation:pandorafms:monitoring:06_web_monitoring

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:monitoring:06_web_monitoring [2025/11/02 04:34] – [ウェブモジュールの作成方法] junichija:documentation:pandorafms:monitoring:06_web_monitoring [2025/11/02 04:41] (現在) – [HTTP の簡単な認証] junichi
行 171: 行 171:
  
 ==== ウェブページのフォームのチェック ==== ==== ウェブページのフォームのチェック ====
-より実用的な、Web フォームのチェックです。 しかし、これは単に Web ページ上のテキストをチェックするよりもはるかに複雑です。 このサンプルチェックでは、Pandora 自身のコンソールを使用してログインし、ログインできたことを確認し、ログインしているユーザのデータが表示されているワークスペースのテキストを確認します。 デフォルトのコンソールであれば、管理者のユーザには、"Admin Pandora" という記述が含まれています。 
  
-このタイプのチェックを実行するには、ログインに必要な資格情報が必要です。これの値を使用して HTML フォーム「送信」するためです。また、ページに移動して HTML のソスから変数名をる必要があります。どのように Goliat が動作するか理解するためには、HTML に関する限の知識が必要です。+A form check is much more complex than simply checking text on a web page. In order to perform this type of check, you must have the necessary credentials. In addition, you need to //go//  to the page and get the HTML code to get the variable names, and then you need to have minimal knowledge of HTML to enter the query for the Network Server. 
 + 
 +フォームチェックは、Webページ上のテキストを単純にチェックするよりもはるかに複雑です。こののチェックを実行するには、必要な認証情報が必要です。らに、ページにアクセスしてHTMLドを取得し、変数名を取得する必要があります。さら、ネットワークサーバへのクエリ入力するには、最のHTMLの知識が必要です。 
 + 
 +<WRAP center round tip 90%> 
 + 
 +The practical method to design a WEB transactional test with several steps is to test them one by one in debugging mode.
  
-<WRAP center round tip 60%> 
-複数ステップの WEB トランザクションテストを設定するときに、設定を確認する良い方法としては、ステップの 1つで何かが見逃された場合に備えて、ステップごとにテストすることです。 
 </WRAP> </WRAP>
 +
 +<WRAP center round tip 90%>
 +
 +複数のステップを含む WEB トランザクションテストを設計する実用的な方法は、デバッグモードでステップを 1 つずつテストすることです。
 +
 +</WRAP>
 +
  
 Pandora コンソールのログイン URL が以下であると仮定します。 Pandora コンソールのログイン URL が以下であると仮定します。
行 228: 行 238:
 </code> </code>
  
-Pandora FMS 上での全体の設定は次のようになります。+<wrap #ks1_6 />
  
-{{ wiki:goliat_full_sample.jpg?800 }} 
  
 ==== サーバステータスコードの確認 ==== ==== サーバステータスコードの確認 ====
行 255: 行 264:
 ==== HTTP の簡単な認証 ==== ==== HTTP の簡単な認証 ====
  
-いくつかのウェブページでは、[[https://en.wikipedia.org/wiki/Basic_access_authentication|HTTP 基本認証]] を必要とします。通常、これは高速認証、高度なセキュリティチェック(暗号化、データ永続性など)へのアクセスを可能にする最小限のセキュリティとして使用されます。+Some pages may require simple HTTP authentication. It is generally used as a quick check, a minimal security //greeting//  that allows access to more advanced security checks (encryption, data persistence, etc.).
  
-[[:wiki:conexion_http.png?id=ja:documentation:03_monitoring:06_web_monitoring&media=wiki:conexion_http.png|{{  :wiki:conexion_http.png?nolink&650  }}]]+一部のページでは、シンプルなHTTP認証が必要となる場合があります。これは通常、より高度なセキュリティチェック(暗号化、データの永続化など)へのアクセスを可能にする、最低限のセキュリティチェックとして使用されます。
  
-(上記スクリーンショットのように)拡張オプションで設定することも、次の設定トークンを使用して WEB タスク定義で直接設定することもできます。+<WRAP center round important 90%>
  
-**チェックタイプ(Check type)**+  The use of quotation marks in the password for ''http_auth_pass''  is not supported. 
 +  Avoid using single quotation marks.
  
-HTTP サーバチェックタイプ+</WRAP>
  
-**http認証(ログイン)(http auth (login))** +<WRAP center round important 90%>
- +
-ユーザ名 +
- +
-**http認証(パスワード)(http auth (password))** +
- +
-パスワード +
- +
-**プロキシ認証レルム(Proxy auth realm)** +
- +
-認証レルム名 +
- +
-**プロキシ認証(サーバ)(Proxy auth (server))** +
- +
-待ち受けているドメインと HTTP ポート +
- +
-**プロキシURL(Proxy URL)** +
- +
-プロキシサーバの URL +
- +
-**プロキシ認証(ログイン)(Proxy auth (login))** +
- +
-プロキシ接続ユーザ +
- +
-**プロキシ認証(パスワード)(Proxy auth (pass))** +
- +
-プロキシ接続パスワード +
- +
-タスク全体の例: +
-<code> +
- +
- task_begin +
- get http://artica.es/pandoraupdate4/ui/ +
- cookie 1 +
- resource 1 +
- check_string Pandora FMS Update Manager \(4.0\) +
- http_auth_serverport artica.es:80 +
- http_auth_realm Private area +
- http_auth_user admin +
- http_auth_pass xxxx +
- task_end +
- +
-</code> +
- +
-<WRAP center round important 60%>The use of quotation marks in the password for ''http_auth_pass'' is not supported. Avoid using single quotes '' ' ''+
- +
-</WRAP>+
  
-<WRAP center round important 60%> ''http_auth_pass'' に指定するパスワードではクォーテーションには対応していません。シングルクォート '' ' '' の利用は避けてください。+  * ''http_auth_pass'' に指定するパスワードではクォーテーションには対応していません。 
 +  * シングルクォート '' ' '' の利用は避けてください。
  
 </WRAP> </WRAP>
  
 +<wrap #ks1_8 />
  
 ==== WEB サービスおよび API モニタリング ==== ==== WEB サービスおよび API モニタリング ====
  • ja/documentation/pandorafms/monitoring/06_web_monitoring.1762058082.txt.gz
  • 最終更新: 2025/11/02 04:34
  • by junichi