差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:monitoring:03_remote_monitoring [2024/01/24 05:48] – 作成 - 外部編集 127.0.0.1 | ja:documentation:pandorafms:monitoring:03_remote_monitoring [2024/05/15 09:02] (現在) – [経路監視] junichi | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== リモート監視 ====== | + | ====== リモート監視 ====== |
+ | |||
{{indexmenu_n> | {{indexmenu_n> | ||
行 169: | 行 170: | ||
==== リモート実行モジュール ==== | ==== リモート実行モジュール ==== | ||
- | <WRAP center round tip 60%> | + | In order to successfully use these modules, the connection credentials of the agent to be monitored are required. Therefore, all this must be registered in the [[: |
- | {{wiki: | + | |
- | </ | + | |
- | * Remote execution data | + | これらのモジュールを正常に使用するには、監視対象のエージェントの接続認証情報が必要です。 したがって、これらすべてを [[: |
- | * Remote execution data proc | + | |
- | * Remote execution data string | + | |
- | * Remote execution data inc | + | |
- | これらのモジュールを正常に使用するには、監視するエージェントの接続認証データが必要です。それには、[[ja: | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | {{ wiki: | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | ネットワークサーバでの新規モジュール作成例: | + | In addition, the following parameters must be defined: |
- | {{ wiki: | + | さらに、次のパラメータを定義する必要があります。 |
- | リモート実行の場合、次のタイプのデータが有効です。 | + | - **Target IP**: optionally the IP of the target (if not, the agent' |
+ | - **Port**: optionally the port to connect to (22 in GNU/Linux, indifferent in MS Windows®). | ||
+ | - **Command**: | ||
+ | - **Credential identifier**: | ||
+ | - **Connection method:** optionally the connection method of the target (if not, the Agent' | ||
- | | + | |
- | | + | |
- | * '' | + | |
- | * '' | + | - **認証情報(Credential identifier)**: |
+ | - **接続方法(Connection method)**: オプションでターゲットの接続方法 | ||
- | 以下を定義します。 | + | <WRAP center round tip 60%> |
- | - **対象IP(Target IP)**: オプションで対象の IP (設定しないとエージェントのそれが利用されます) | + | The behavior of the module is identical when it comes to assigning alerts, generating events or viewing reports. |
- | - **ポート(Port)**: | + | |
- | - **コマンド(Command)**: | + | |
- | - **認証情報(Credential identifiler)**: | + | |
- | - **対象OS(Target OS)**: オプションで対象の OS (設定しないとエージェントのそれが利用されます) | + | |
- | 例: | + | </ |
- | {{ wiki: | + | <WRAP center round tip 60%> |
+ | アラートの割り当て、イベントの生成、レポートの表示に関しては、モジュールの動作は同じです。 | ||
- | システムはリモートマシンに対してコマンドを実行し、一時作業ディレクトリ内のファイル数を受け取ります。 | + | </ |
- | {{ wiki: | + | <WRAP center round important 60%> |
+ | As of version **743**, the '' | ||
- | 文字列のタイプを選択して、コマンドの出力を表示することもできます。 | + | </ |
- | モジュール設定: | + | <WRAP center round important 60%> |
- | {{ wiki: | + | Pandora FMS バージョン **743**以降では、'' |
- | |||
- | 対象となるエージェントの運用システムを継承するように、**対象 OS**パラメータを設定することができます。 | ||
- | |||
- | 結果: | ||
- | |||
- | {{ wiki: | ||
- | |||
- | {{ wiki: | ||
- | |||
- | <WRAP center round tip 60%> | ||
- | アラートの割り当て、イベントの生成、レポートの表示におけるモジュールの操作は他と同じです。 | ||
- | </ | ||
- | |||
- | <WRAP center round important 60%> | ||
- | Pandora FMS バージョン **743**以降では、**pandora_server.conf** でリモート実行モジュールパラメータに関連する次のトークンが利用できます。: | ||
</ | </ | ||
行 428: | 行 418: | ||
==== MIB 管理 ==== | ==== MIB 管理 ==== | ||
- | Pandora FMS は、事前に決定された方法で、''/ | + | Pandora FMS by default uses the MIBs that are hosted by the operating system in: |
- | {{ : | + | Pandora FMS はデフォルトで、以下にあるオペレーティングシステムが持つ MIB を使用します。 |
- | <WRAP center round tip 60%> | + | <file> |
- | この機能は、//SNMP ポーリング// のための MIB のみを管理します。// | + | /usr/share/snmp/mibs. |
- | </ | + | |
- | ==== Pandora FMS SNMP ブラウザ ==== | + | </ |
- | <WRAP center round tip 60%> | + | New MIBs can be added (and managed later) via the **MIB uploader** functionality from the **Operation** menu → **Monitoring** → **SNMP**. |
- | {{wiki: | + | |
- | </ | + | |
- | SNMP ブラウザはデバイスのツリーの全体を取得するため、操作には数分かかる場合があります。特定のブランチに限定して時間を短縮することもできます。 | + | 新しい MIB は、**操作(Operation)** メニュー → **モニタリング(Monitoring)** → **SNMP** から |
- | //監視(Monitoring)// > //SNMP// > **SNMPブラウザ(SNMP Browser)** からアクセスします。 | + | |
- | たとえば、Cisco® デバイスの enterprise サブ MIB ツリーの情報のみを取得するには、次のような OID を利用します。 | + | These MIBs are only used by Pandora FMS and are stored in the route: |
- | .1.3.6.1.4.1.9 | + | これらの MIB は Pandora FMS によってのみ使用され、以下に保存されます。 |
- | The browser is used to browse, which means clicking on each branch and obtain values. The system will ask for that information and will show the requested OID information (if available). If there is no information about the device OID, this is only displayed in numeric format. The OID descriptive information is stored through [[https://en.wikipedia.org/ | + | < |
+ | {PANDORA_CONSOLE}/attachment/mibs. | ||
- | ブラウザを使用して操作します。各ブランチをクリックすることにより値を取得します。システムは情報を問い合わせ、指定された OID 情報(利用可能な場合)を表示します。 デバイスの OID に関する情報がない場合は、これは数値形式でのみ表示されます。OID に関する説明は [[https:// | + | </file> |
- | Pandora FMS SNMP ブラウザでは、取得した OID の値と翻訳された OID の値(利用可能な場合)の両方でテキスト文字列を検索できます。既知の特定の文字列を探し、それらの OID を見つける場合に特に役立ちます。複数のエントリが見つかった場合は、1つのエントリから別のものに移動でき、黄色で強調表示されます。 | + | <WRAP center round tip 60%> |
- | {{ wiki:snmp_browser_module_creator.png?800 }} | + | This functionality **only manages** the MIBs for SNMP Polling, in the case of SNMP Traps see the chapter [[:en: |
- | 複数の OID を選択し、" | + | </ |
- | {{ wiki: | + | <WRAP center round tip 60%> |
- | {{ wiki:SNMP12.png? | + | この機能は、SNMP ポーリングのための MIB のみを管理します。SNMP トラップの場合は、[[ja:documentation: |
- | また、複数の OID を選択し、" | + | </ |
- | {{ wiki: | + | ==== Pandora FMS SNMP ブラウザ ==== |
- | + | ||
- | これらの OID のモジュール設定を追加したポリシーをすべて選択します。これらの OID の新たなポリシーを作成したい場合は、" | + | |
- | + | ||
- | {{ wiki: | + | |
- | + | ||
- | 名前、グループ、ポリシーの説明のフィールドに入力し、" | + | |
- | {{ wiki:SNMP31.png?500 }} | + | The SNMP Browser performs a complete walk-through of the device tree. This operation can take several minutes, and it is possible to traverse precise branches and shorten the traversal. It is accessed from **Monitoring** → **SNMP** → **SNMP Browser**. |
+ | SNMP ブラウザはデバイスのツリーの全体を取得します。操作には数分かかる場合があります。特定のブランチに限定して時間を短縮することもできます。 | ||
+ | **モニタリング(Monitoring)** → **SNMP** → **SNMP ブラウザ(SNMP Browser)** からアクセスします。 | ||
- | {{ wiki:SNMP32.png?500 }} | + | The system will request that information from the system and will also display (if available) the requested OID information. If there is no information about the OID of the device, it is displayed only in numeric format. The descriptive information of the OIDs is stored by the managed information bases or MIB. If you don't have a MIB for the device you want to explore, you probably have to resort to looking for " |
- | 特定の OID を選択する場合は、OID | + | システムは対象システムにその情報を要求し、要求された |
- | {{ wiki:SNMP41.png?800 }} | + | The SNMP browser also allows you to search for a text string both in the obtained OID values and in the translated values of the OID themselves (if available). This is especially useful for searching for specific known strings and locating their OID. If it locates several entries, it will allow us to jump from one occurrence to another, and it will show them highlighted in yellow. |
- | SNMP モジュールエディターから、ネットワークモジュールを作成または編集するときは、" | + | SNMP ブラウザでは、取得した OID 値と、OID 自体の翻訳された値 (利用可能な場合) の両方でテキスト文字列を検索することもできます。 これは、特定の既知の文字列を検索し、その OID を特定する場合に特に役立ちます。 |
- | 探している | + | It is possible to select several |
- | {{ wiki:Snmp browser from module creation.jpg? | + | **エージェントモジュールの作成(Create agent modules)** ボタンをクリックすると、複数の OID を選択してエージェントに追加できます。 これを行うには、上記の OID で監視されるエージェントを選択し、右側のボックスに追加します。 複数の OID を選択して [[:ja: |
==== Pandora FMS SNMP ウィザード ==== | ==== Pandora FMS SNMP ウィザード ==== | ||
行 713: | 行 696: | ||
リモートプラグインはスクリプトまたは実行形式のファイルで、パラメータに応じて **単一の** 値を返します。結果は、数値、二値(0: | リモートプラグインはスクリプトまたは実行形式のファイルで、パラメータに応じて **単一の** 値を返します。結果は、数値、二値(0: | ||
+ | |||
+ | There are two kinds of remote plugin: standard and type Nagios. The difference is mainly that the Nagios type respond with an error level and **also, optionally, with a descriptive string.** | ||
リモートプラグインには、標準タイプと Nagios タイプの 2種類があります。 違いは、Nagios リモートプラグインはエラーレベルに加えて説明文字列で応答することです。 | リモートプラグインには、標準タイプと Nagios タイプの 2種類があります。 違いは、Nagios リモートプラグインはエラーレベルに加えて説明文字列で応答することです。 | ||
行 718: | 行 703: | ||
==== リモートプラグイン管理 ==== | ==== リモートプラグイン管理 ==== | ||
- | {{ : | + | It is accessed by **Management** → **Servers** → **Plugins**, |
- | Click on **Servers** | + | **管理(Management)** → **サーバ(Servers)** → **プラグイン(Plugins)** からアクセスすると、新しいウィンドウが開き、登録されているプラグインのリストが表示されます。 **ロック** ボタンと共に表示されている使用中のモジュールがある場合を除き、各項目には対応する編集ボタンと削除ボタンがあります。 |
- | **サーバ(Servers)**、そして **プラグイン(Plugins)** をクリックするとウインドウが開きます。 | + | When editing a plugin: |
- | {{ | + | プラグインの編集: |
- | By clicking on one of them, the following dialogue | + | * **Plug-in type**: Allows you to establish whether it is standard or Nagios type. |
+ | * **Max. timeout**: To set the waiting time for its execution, special attention must be paid to this value since it must cover enough time for the execution otherwise it will not obtain any value. | ||
+ | * The description field is important since it will be seen in the user interface of the plugin, choose a short and explanatory legend. | ||
- | いずれかをクリックすると次のダイアログが開きます。 | + | * **プラグインタイプ(Plug-in type)**: 標準か Nagios |
+ | * **最大タイムアウト(Max. timeout)**: 実行タイムアウト時間を設定します。実行には十分な時間を確保する必要があるため、この値には特に注意してください。そうしないと、値を取得できません。(不明状態となります) | ||
+ | * 説明フィールドはプラグインのユーザインターフェイスに表示されるため重要です。短く内容がわかる記載をしてください。 | ||
- | {{ : | + | <WRAP center round tip 90%> |
- | * **Plug-in type**: It allows setting whether it is standard or Nagios. | + | * When executing a plugin, there are three wait values: the server' |
- | * **Max. timeout**: To fix the waiting | + | * When **editing** a plugin and it is in use by at least one agent, you **will not be able to add or delete macros**. |
- | * **プラグインタイプ(Plug-in type)**: 標準か Nagios かを設定できます。 | + | </ |
- | * **最大タイムアウト(Max. timeout)**: 実行タイムアウト時間を設定します。実行には十分な時間を確保する必要があるため、この値には特に注意してください。そうしないと、値を取得できません。(不明状態となります) | + | |
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | In a plugin execution, there are three timeouts: those of servere, those of plugins and those of modules. Please note that the server prevails over the others, and secondly that of the plugin. That is, if you have a server with a 10-second timeout and a plugin with a 20-second timeout and a module that uses that plugin with a 30-second timeout, | + | * プラグインの実行には、サーバ、プラグイン、モジュールの 3つのタイムアウトがあります。 サーバのタイムアウトが他よりも優先され、次にプラグインのタイムアウトが優先されることに注意してください。 つまり、タイムアウトが |
+ | * プラグインを**編集**し、それが少なくとも 1 つのエージェントによって使用されている場合、**マクロを追加または削除することはできません**。 | ||
- | <WRAP center round tip 60%> | ||
- | プラグインの実行には、サーバ、プラグイン、モジュールの 3つのタイムアウトがあります。 サーバのタイムアウトが他よりも優先され、次にプラグインのタイムアウトが優先されることに注意してください。 つまり、タイムアウトが 10秒のサーバとタイムアウトが 20秒のプラグインがあり、そのプラグインをタイムアウトが 30秒で使用するモジュールがある場合、そのモジュールのタイムアウトは 10秒になります。 | ||
</ | </ | ||
- | |||
- | The description field is important since it will be seen in a plugin use interface by the user, make sure you choose a descriptive but short one. The following image shows a practical example: | ||
- | |||
- | 説明フィールドは、ユーザがプラグインを使用するインターフェースに表示されるため重要です。説明的で短いものを選択してください。 次の画像は実際の例を示しています。 | ||
- | |||
- | {{ : | ||
- | |||
- | Essential configuration values: | ||
- | |||
- | 重要な設定値: | ||
- | |||
- | {{ : | ||
- | |||
- | * **プラグインコマンド(Plug-in command)**: プラグインコマンドのパスです。標準のインストールでのデフォルトでは、''/ | ||
- | |||
- | * **プラグインパラメータ(Plug-in parameters)**: | ||
- | |||
- | それぞれのマクロは 3つのフィールドがあります: | ||
- | |||
- | {{ : | ||
- | |||
- | * **Description**: | ||
- | * **Default value**: The default value assigned to the field. | ||
- | * **Help**: A text with an explanation of the macro, to show some examples of use or better explain what that field is for. | ||
- | * The **Add macro** | ||
- | |||
- | * **説明(Description)**: | ||
- | * **デフォルト値(Default value)**: デフォルトでフィールドに割り当てられる値です。 | ||
- | * **ヘルプ(Help)**: | ||
- | * **マクロの追加(Add macro)** および **マクロの削除(Delete macro)** ボタンは、マクロの追加および削除に利用します。 | ||
- | |||
- | <WRAP center round info 60%> | ||
- | |||
- | When you **edit** | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round info 60%> | ||
- | |||
- | プラグインを**編集**し、それが少なくとも 1 つのエージェントによって使用されている場合、**マクロを**// | ||
- | |||
- | </ | ||
- | |||
=== 内部マクロ === | === 内部マクロ === | ||
行 1028: | 行 972: | ||
===== 経路監視 ===== | ===== 経路監視 ===== | ||
- | |||
- | <WRAP center round tip 60%> | ||
- | |||
- | Version NG 715 or higher. | ||
- | |||
- | </ | ||
- | |||
- | <WRAP center round tip 60%> | ||
- | |||
- | バージョン NG 715 以降 | ||
- | |||
- | </ | ||
Pandora FMS offers by default the monitoring of complete routes between two points in the network, visually indicating the path that is being followed at all times to communicate between these two points. Pandora FMS route analyzer uses an agent plugin to map the route. | Pandora FMS offers by default the monitoring of complete routes between two points in the network, visually indicating the path that is being followed at all times to communicate between these two points. Pandora FMS route analyzer uses an agent plugin to map the route. |