差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:03_monitoring:02_operations [2024/01/12 08:49] – [KeepAlive によるモニタリング] junichi | ja:documentation:03_monitoring:02_operations [2024/01/15 02:27] – [プロキシモード] junichi | ||
---|---|---|---|
行 628: | 行 628: | ||
プロキシモードを有効にするには、ソフトウエアエージェントにて次のパラメータを設定します。 | プロキシモードを有効にするには、ソフトウエアエージェントにて次のパラメータを設定します。 | ||
+ | |||
+ | * **server_ip**: | ||
+ | * **proxy_mode**: | ||
+ | * **proxy_max_connection**: | ||
+ | * **proxy_timeout**: | ||
+ | * **proxy_address**: | ||
+ | * **proxy_port**: | ||
* server_ip: Pandora FMS サーバの IP アドレスです。 | * server_ip: Pandora FMS サーバの IP アドレスです。 | ||
- | * proxy_mode: 有効(([[http:// | + | * proxy_mode: 有効(1) または 無効(0)。 |
* proxy_max_connection: | * proxy_max_connection: | ||
* proxy_timeout: | * proxy_timeout: | ||
行 1346: | 行 1353: | ||
===== 画像の監視と表示 ===== | ===== 画像の監視と表示 ===== | ||
- | This method allows | + | This method allows |
- | この監視では、[[https:// | + | この監視では、base64 エンコードを使用したテキスト形式の画像を含む文字列型 ('' |
- | ' | + | For example: |
- | {{ | + | 例: |
- | + | ||
- | このように画像を表示するには、全データと必要な XML タグを送るプラグインを書き、モジュールプラグインとして実行する必要があります。以下のプラグインの例は、上記の画像を出力する例です。 | + | |
< | < | ||
- | |||
#!/bin/bash | #!/bin/bash | ||
echo "< | echo "< | ||
行 1367: | 行 1371: | ||
</ | </ | ||
- | 上記のファイルをエージェント上で保存し(またはファイルコレクションで配り)し、次のように実行します。 | + | Write that content to a file on the agent (or distribute by [[: |
+ | |||
+ | 上記のファイルをエージェント上で保存し(または[[: | ||
< | < | ||
- | module_plugin < complete path to the file > | + | |
+ | module_plugin < | ||
</ | </ | ||
< | < | ||
+ | |||
module_plugin < | module_plugin < | ||
+ | |||
</ | </ | ||
===== Windows における特定の監視 ===== | ===== Windows における特定の監視 ===== | ||
- | The software agent for Windows has specific features to make monitoring a lot easier. These features are explained with some examples. Common rules: | + | <WRAP center round info 90%> |
- | Windows | + | * If the process name contains white spaces **do not use ** **'' |
+ | * The process name must be the same as the one displayed in the Windows | ||
+ | * It is important to **respect upper and lower case letters**. | ||
- | <WRAP center round tip 60%> If the name of the process contains blank spaces, **do not use ''" | + | </ |
- | <WRAP center round tip 60%> プロセスの名前に空白が含まれている場合は、 **''" | + | <WRAP center round info 90%> |
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | </ | ||
==== プロセスモニタリングと、プロセスウォッチドック ==== | ==== プロセスモニタリングと、プロセスウォッチドック ==== | ||
行 1392: | 行 1409: | ||
=== プロセスモニタリング === | === プロセスモニタリング === | ||
- | **module_proc** | + | The **module_proc** parameter checks if a certain process name is running on this machine. Example: |
+ | |||
+ | **module_proc** | ||
< | < | ||
行 1404: | 行 1423: | ||
</ | </ | ||
- | プロセス名にスペースが含まれる場合は、**«" " | + | The parameter |
- | プロセスが動作していない時、すぐにソフトウエアエージェントから通知が欲しい場合は、**module_async yes** のパラメータを設定します。モジュールの設定例は次の通りです。 | + | **module_async yes** のパラメータを指定する必要があります。 |
< | < | ||
行 1507: | 行 1526: | ||
==== 基本リソースのモニタリング ==== | ==== 基本リソースのモニタリング ==== | ||
- | この項では、Windows マシンの基本的な値をモニタリングする方法について説明します。 | + | When installing the PFMS Software Agent for MS Windows® the necessary basic modules are included, some of them come active and others must be activated by **Remote Configuration** (or locally editing the agent' |
+ | |||
+ | MS Windows® 用 Pandora FMS ソフトウェアエージェントをインストールすると、必要な基本モジュールが含まれています。その一部は有効になっていますが、その他は **リモート設定** (またはエージェントの '' | ||
=== CPU のモニタリング === | === CPU のモニタリング === | ||
行 1620: | 行 1641: | ||
</ | </ | ||
- | ===== バージョン 7 NG 以前 ===== | + | [[: |
+ | |||
+ | ===== (OBSOLETE) | ||
==== エージェントの名前 ==== | ==== エージェントの名前 ==== | ||
行 1638: | 行 1661: | ||
デフォルトでは、設定ファイルのいずれかを使用しないので、マシンのホスト名を別名として取得し、非常に大きなランダムな16進数を名前または識別子として取得します。エージェント名は表示されなくなり(エージェント詳細表示を除く)、変更することはできません。 エージェントの一意の識別子はエージェントの「名前」であるため、エージェントの別名はソフトウェアエージェントの設定を心配することなく、いつでも変更できます。 | デフォルトでは、設定ファイルのいずれかを使用しないので、マシンのホスト名を別名として取得し、非常に大きなランダムな16進数を名前または識別子として取得します。エージェント名は表示されなくなり(エージェント詳細表示を除く)、変更することはできません。 エージェントの一意の識別子はエージェントの「名前」であるため、エージェントの別名はソフトウェアエージェントの設定を心配することなく、いつでも変更できます。 | ||
- | [[: | + | |