差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:monitoring:02_operations [2026/05/30 22:54] – [Windows における特定の監視] junichi | ja:documentation:pandorafms:monitoring:02_operations [2026/05/30 23:04] (現在) – [エンドポイントを使った監視] junichi | ||
|---|---|---|---|
| 行 4: | 行 4: | ||
| - | [[: | + | [[: |
| <wrap #ks1 /> | <wrap #ks1 /> | ||
| 行 1454: | 行 1454: | ||
| === プロセスモニタリング === | === プロセスモニタリング === | ||
| - | The **module_proc** parameter checks if a certain process name is running | + | The '' |
| - | **module_proc** | + | '' |
| < | < | ||
| 行 1465: | 行 1465: | ||
| module_description Process Command line | module_description Process Command line | ||
| module_end | module_end | ||
| - | |||
| </ | </ | ||
| - | The parameter **[[: | + | The '' |
| - | **module_async yes** のパラメータを指定する必要があります。 | + | '' |
| < | < | ||
| - | module_begin | + | module_begin |
| - | | + | module_name CMDProcess |
| - | | + | module_type generic_proc |
| - | | + | module_proc cmd.exe |
| - | | + | module_async yes |
| - | | + | module_description Process Command line |
| - | | + | module_end |
| </ | </ | ||
| 行 1487: | 行 1485: | ||
| === プロセスウォッチドック === | === プロセスウォッチドック === | ||
| - | Windows のソフトウエアエージェントのウォッチドック機能は、プロセスがダウンしたときに再起動することができます。ウォッチドックは、モジュールが非同期の場合にのみ動作します。 | + | he Watchdog functionality for MS Windows® allows restarting an interrupted process. |
| - | ウォッチドックモジュールの設定例を以下に示します。 | + | MS Windows® のウォッチドッグ機能を使用すると、中断されたプロセスを再起動できます。 |
| - | <code> | + | In the following |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | </code> | + | |
| - | Each time the notepad.exe process is deactivated and the command: | + | 以下のコードでは、**メモ帳**プログラムがインストールされたエンドポイントを介して// |
| - | + | ||
| - | notepad.exe | + | |
| < | < | ||
| - | %SystemRoot%\notepad.exe | + | module_begin |
| + | module_name Notepad | ||
| + | module_type generic_data | ||
| + | module_proc notepad.exe | ||
| + | module_description Notepad | ||
| + | module_async yes | ||
| + | module_watchdog yes | ||
| + | module_user_session yes | ||
| + | module_start_command "%SystemRoot%\notepad.exe" | ||
| + | module_startdelay 3000 | ||
| + | module_retrydelay 2000 | ||
| + | module_retries 5 | ||
| + | module_end | ||
| </ | </ | ||
| - | will be executed (see common rules at the beginning of the Windows section). The process reactivation will be attempted 5 times with an initial waiting time of 3 seconds and a waiting time between retries of 2 seconds in the user's active session. | + | <wrap #ks12_2 /> |
| - | + | ||
| - | が実行されます(Windows の章の冒頭にある一般的なルールを参照してください)。 | + | |
| ==== サービスモニタリングと、サービスウォッチドック ==== | ==== サービスモニタリングと、サービスウォッチドック ==== | ||
| 行 1526: | 行 1515: | ||
| === サービスモニタリング === | === サービスモニタリング === | ||
| - | **module_service** パラメータは、指定したサービスがマシンで動作しているかどうかをチェックします。モジュールの設定例を以下に示します。 | + | The '' |
| - | < | + | '' |
| - | | + | |
| - | | + | |
| - | | + | |
| - | module_service | + | |
| - | | + | |
| - | | + | |
| + | < | ||
| + | module_begin | ||
| + | module_name Service_Dhcp | ||
| + | module_type generic_proc | ||
| + | module_service Dhcp | ||
| + | module_description Service DHCP Client | ||
| + | module_end | ||
| </ | </ | ||
| - | サービス名にスペースが含まれる場合、«" | + | The '' |
| - | サービスがダウンしたときにソフトウエアエージェントがすぐに通知して欲しい場合は、**module_async yes** | + | プロセスが動作を停止したときに**即座に**通知するために、'' |
| < | < | ||
| - | module_begin | + | module_begin |
| - | | + | module_name Service_Dhcp |
| - | | + | module_type generic_proc |
| - | | + | module_service Dhcp |
| - | | + | module_description Service DHCP Client |
| - | | + | module_async yes |
| - | | + | module_end |
| </ | </ | ||
| + | |||
| + | <wrap #ks12_2_2 /> | ||
| === サービスウォッチドック === | === サービスウォッチドック === | ||
| - | プロセスと同様に、ダウンしたサービスを再起動できるウォッチドックモードがあります。ウォッチドックを使ったモジュール定義例は次の通りです。 | + | It works similarly to the [[# |
| - | < | + | これは、[[# |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | < | ||
| + | module_begin | ||
| + | module_name ServiceSched | ||
| + | module_type generic_proc | ||
| + | module_service Schedule | ||
| + | module_description Service Task scheduler | ||
| + | module_async yes | ||
| + | module_watchdog yes | ||
| + | module_end | ||
| </ | </ | ||
| - | ウォッチドックの定義には、特別なパラメータは必要ありません。サービスの定義内にあるためです。 | + | <WRAP center round tip 90%> |
| + | |||
| + | The Watchdog definition for services does not require any additional parameters like the one for processes //because that information is already within the service definition// | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | サービスに対するウォッチドッグ定義では、プロセスに対するもののような追加のパラメータは必要ありません。// | ||
| + | |||
| + | </ | ||
| <wrap #ks12_3 /> | <wrap #ks12_3 /> | ||
| 行 1575: | 行 1577: | ||
| ==== 基本リソースのモニタリング ==== | ==== 基本リソースのモニタリング ==== | ||
| - | When installing the PFMS EndPoint for MS Windows® the necessary | + | <WRAP center round info 90%> |
| + | |||
| + | When installing the PFMS EndPoint for MS Windows®, the basic necessary | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | MS Windows® 用の PFMS エンドポイントをインストールする際に、必要な基本モジュールはすべて含まれています。 | ||
| + | |||
| + | </ | ||
| + | |||
| + | Some modules | ||
| + | |||
| + | 一部のモジュールは最初から有効になっていますが、その他のモジュールは< | ||
| - | MS Windows® 用 Pandora FMS エンドポイントをインストールすると、必要な基本モジュールが含まれています。その一部は有効になっていますが、その他は **リモート設定** (またはエンドポイントの '' | ||
| === CPU のモニタリング === | === CPU のモニタリング === | ||
| 行 1690: | 行 1705: | ||
| </ | </ | ||
| - | [[: | + | [[: |
| ===== (OBSOLETE) バージョン 7 NG 以前 ===== | ===== (OBSOLETE) バージョン 7 NG 以前 ===== | ||