| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:monitoring:06_web_monitoring [2026/04/18 02:25] – [Obtaining numeric data from a web page] junichi | ja:documentation:pandorafms:monitoring:06_web_monitoring [2026/04/18 02:33] (現在) – [高度なトランザクション監視] junichi |
|---|
| <wrap #ks3_4 /> | <wrap #ks3_4 /> |
| |
| ==== Obtaining text data from a web page ==== | ==== ウェブページからテキストデータを取得する ==== |
| |
| The <wrap :en>**Remote HTTP module to retrieve string data**</wrap> module type works similarly [[#ks1_3_3|to its numeric counterpart]] without the inconvenient filtering process to guarantee only figures. | The <wrap :en>**Remote HTTP module to retrieve string data**</wrap> module type works similarly [[#ks1_3_3|to its numeric counterpart]] without the inconvenient filtering process to guarantee only figures. |
| | |
| | <wrap :ja>**Remote HTTP module to retrieve string data**</wrap> モジュールタイプは、数値版と同様に動作しますが、数値のみを保証するためのフィルタリング処理は不要です。 |
| |
| <code> | <code> |
| |
| Here ''[[#get_content_advanced|get_content_advanced]]'' is the key parameter that allows choosing an HTML element (in this case a level three heading ''h3'', class ''ha2-b'') and then, according to a regular expression ''(.*)'', extracting the character string located there. | Here ''[[#get_content_advanced|get_content_advanced]]'' is the key parameter that allows choosing an HTML element (in this case a level three heading ''h3'', class ''ha2-b'') and then, according to a regular expression ''(.*)'', extracting the character string located there. |
| | |
| | ここで ''[[#get_content_advanced|get_content_advanced]]'' は、HTML 要素 (この場合はレベル 3 の見出し ''h3''、クラス ''ha2-b'') を選択し、正規表現 ''(.*)'' に従って、そこにある文字列を抽出することを可能にするキーパラメータです。 |
| |
| {{ :wiki:pfms-web_module-academy_pandorafms_com.png }} | {{ :wiki:pfms-web_module-academy_pandorafms_com.png }} |
| |
| Since for the normal condition values cannot be compared, the warning threshold or the critical threshold is used **with the inverse interval set** with the expected text: | Since for the normal condition values cannot be compared, the warning threshold or the critical threshold is used **with the inverse interval set** with the expected text: |
| | |
| | 通常の状態では値を比較できないため、期待される次のようなテキストおよび条件の反転設定とともに、警告しきい値または障害しきい値が使用されます。 |
| |
| ''Terms & Important Notes'' (note the use of entities in the received HTML code). | ''Terms & Important Notes'' (note the use of entities in the received HTML code). |
| | |
| | ''Terms & Important Notes''(受信したHTMLコードにおけるエンティティの使用に注意してください) |
| |
| <wrap #ks3_5 /> | <wrap #ks3_5 /> |
| ==== Server status code check ==== | |
| | ==== サーバステータスコード確認 ==== |
| |
| To check the status code of a web page, select the <wrap :en>**Remote HTTP module to check server status code**</wrap> module type (''web_server_status_code_string'' type) with the following [[#task_begin|task_begin]] … [[#task_end|task_end]] code block: | To check the status code of a web page, select the <wrap :en>**Remote HTTP module to check server status code**</wrap> module type (''web_server_status_code_string'' type) with the following [[#task_begin|task_begin]] … [[#task_end|task_end]] code block: |
| | |
| | ウェブページのステータスコードを確認するには、次の [[#task_begin|task_begin]] … [[#task_end|task_end]] コードブロックを使用して、<wrap :ja>**Remote HTTP module to check server status code**</wrap> モジュールタイプ (''web_server_status_code_string'' タイプ) を選択します。 |
| |
| <code bash> | <code bash> |
| * It is important to use the ''[[#head|head]]'' parameter to obtain the status code. | * It is important to use the ''[[#head|head]]'' parameter to obtain the status code. |
| * To configure the critical threshold, ''HTTP/X 200 OK'' can be placed (where ''X'' is the protocol version) and marking the inverse interval: | * To configure the critical threshold, ''HTTP/X 200 OK'' can be placed (where ''X'' is the protocol version) and marking the inverse interval: |
| | |
| | * [[#curl|サーバ設定]]では、Curl を使用する必要があります。 |
| | * ステータスコードを取得するには、''[[#head|head]]'' パラメータを使用することが重要です。 |
| | * 障害しきい値を設定するには、''HTTP/X 200 OK''(''X''はプロトコルバージョン)を指定し、条件の反転を指定します。 |
| |
| {{ :wiki:pfms-web_module-head.png }} | {{ :wiki:pfms-web_module-head.png }} |
| |
| This way, upon receiving any different response, the module will change to critical status: | This way, upon receiving any different response, the module will change to critical status: |
| | |
| | このように、異なる応答を受け取った場合、モジュールは障害状態に変わります。 |
| |
| {{ :wiki:pfms-web_module-head-http_400_response.png }} | {{ :wiki:pfms-web_module-head-http_400_response.png }} |
| |
| <wrap #ks4 /> | <wrap #ks4 /> |
| ===== Advanced transactional monitoring ===== | |
| | ===== 高度なトランザクション監視 ===== |
| |
| In addition to the functionality offered by PFMS Web server, there is another way to perform transactional monitoring: [[:en:documentation:pandorafms:monitoring:13_user_monitorization|Web User Experience Monitoring (WUX)]]. | In addition to the functionality offered by PFMS Web server, there is another way to perform transactional monitoring: [[:en:documentation:pandorafms:monitoring:13_user_monitorization|Web User Experience Monitoring (WUX)]]. |
| | |
| | PFMS ウェブサーバが提供する機能に加えて、トランザクション監視を実行する別の方法があります: [[:ja:documentation:pandorafms:monitoring:13_user_monitorization|ウェブユーザエクスペリエンス監視(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)]]. | 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)]]。 | PFMS ウェブサーバが提供する機能に加えて、トランザクション監視を実行する別の方法があります: [[:ja:documentation:pandorafms:monitoring:13_user_monitorization|WEB ユーザエクスペリエンス監視 (WUX)]] |
| |
| [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] | [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] |