ja:documentation:pandorafms:technical_annexes:06_energy_efficiency

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:06_energy_efficiency [2024/05/28 08:49] – [自動検出スクリプトの登録] junichija:documentation:pandorafms:technical_annexes:06_energy_efficiency [2024/10/14 06:44] (現在) – [Pandora FMS 用 IPMI プラグイン] junichi
行 5: 行 5:
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
-===== Pandora FMS とエネルギー効率 =====+<wrap #ks1 /> 
 + 
 +===== 概要 ===== 
 + 
 +Sustainability and energy efficiency represent **savings**, a goal that different manufacturers, both software and hardware, pursue with different methods, strategies and tools. **Pandora FMS** can integrate them all into a single tool and support IPMI.
  
 持続性とエネルギー効率を管理することは節約を行うことになります。異なるベンダのソフトウエアやハードウエアでは、エネルギーを節約するための異なる手法やツールがあります。Pandora FMS はそれらすべてを一つに統合することができます。また、この章では、IPMI のサポートについて説明します。 持続性とエネルギー効率を管理することは節約を行うことになります。異なるベンダのソフトウエアやハードウエアでは、エネルギーを節約するための異なる手法やツールがあります。Pandora FMS はそれらすべてを一つに統合することができます。また、この章では、IPMI のサポートについて説明します。
  
 +<wrap #ks2 />
  
 +===== Pandora FMS 用 IPMI プラグイン =====
  
-{{ wiki:Esquema_dcm.png ‎}}+**IPMI** (<wrap :en>**Intelligent Platform Management Interface**</wrap>) is an interface created by Intel® to manage and monitor IT systems. Through IPMI it is possible to check the temperature sensors, voltages or fan speed of the devices and many other variables, all remotely.
  
 +**IPMI** (Intelligent Platform Management Interface) は、インテルによって作られた IT システムを管理・モニタリングするためのインタフェースです。例えば、IPMI を通して、温度センサー、電圧、ファンの速度などをリモートからチェックできます。
  
 +<wrap #ks2_1 />
  
 +==== IPMI プラグインの動作 ====
  
-==== Pandora FMS 用 IPMI プラグイン ==== +IPMI monitoring is based on two components: a plugin that collects device data and a **NetScan** script that automatically discovers all devices on a network that support IPMI.
-IPMI (Intelligent Platform Management Interface) は、インテルによって作られた IT システムを管理・モニタリングするためのインタフェースです。例えば、IPMI を通して、温度センサー、電圧、ファンの速度などをリモートからチェックできます。+
  
-=== IPMI プラグインの動作 === +IPMI 監視は、デバイスデータを収集するプラグインと、ネットワーク上で IPMI をサポートするすべてのデバイスを自動的に検出する **NetScan** スクリプトの 2 つのコンポーネントから成ります。
-IPMI を通してのモニタリングは、デバイスからデータを収集するプラグインと、IPMI に対応したネットワーク上のデバイスを自動的に検出する自動検出処理の 2つのコンポーネントから成ります。+
  
-=== プラグインのインストールと自動検出タスク === +<wrap #ks2_2 />
-== 事前に用意するもの == +
-プラグインと自動検出処理共に、[[http://www.gnu.org/s/freeipmi/|FreeIPMI]] の 0.7.16 以降のバージョンが必要です。+
  
-RHEL/CentOS では、インストールには以下コマンドを利用できます。+==== プラグインのインストールと NetScan スクリプト設定 ====
  
-  yum install freeipmi+<wrap #ks2_2_1 />
  
-Debian 場合、次のコマンドでインストールできます。+=== 事前に用意するもの ===
  
-  #apt-get install freeipmi-tools+Both the plugin and the **NetScan task** script require the [[http://www.gnu.org/s/freeipmi/|FreeIPMI]] utility in version 0.7.16 .
  
-== IPMI プラグインの登録 == +プラグインと **NetScan タスク** スクリプト共に、[[http://www.gnu.org/s/freeipmi/|FreeIPMI]] の 0.7.16 以降のバージョが必要です
-まず最初プラグインを登録します。方法が良く分からない場合は、[[:ja:documentation:03_monitoring:03_remote_monitoring#.E3.83.97.E3.83.A9.E3.82.B0.E3.82.A4.E3.83.B3.E3.82.92.E4.BD.BF.E3.81.A3.E3.81.9F.E3.83.A2.E3.83.8B.E3.82.BF.E3.83.AA.E3.83.B3.E3.82.B0|プラグイを使ったモニタリング]] を確認してください+
  
-プラグイン登録のパラメータは次の通りです。+On RHEL distributions you can use the following command to install it:
  
 +RHEL では、インストールには以下のコマンドを利用できます。
  
 +<code bash>
 +dnf install freeipmi
  
-{{ wiki:ipmi_plugin_registration.png }}+</code>
  
 +While in Ubuntu:
  
 +Ubuntu では次の通りです。
  
-それぞれのフィールドに入力する値は次の通りです。+<code bash> 
 +apt install freeipmi-tools
  
-  * **名前(Name)**: IPMI Plugin +</code>
-  * **プラグインタイプ(Plug-in type)**: 標準(Standard) +
-  * **最大タイムアウト(Max. timeout)**: 300 +
-  * **説明(Description)**: This plugin gets information from IPMI devices. +
-  * **プラグインコマンド(Plug-in Command)**: /home/admin/ipmi-plugin.pl (ipmi-plugin.pl ファイルがある場所のパス) +
-  * **プラグインパラメータ(Plug-in parameters)**: -h _field1_ -u _field2_ -p _field3_ -s _field4_ -- _field5_+
  
-タムフィール以下の通りです。 +<wrap #ks2_2_2 /> 
-- Field 1対象IP + 
-- Field 2ユーザ +=== IPMI プラグインの登録 === 
-- Field 3パスワード + 
-- Field 4センサー +To use the plugin, it must be registered in Pandora FMS (menu <wrap :en>**Management → Servers → Plugins**</wrap>). In new installations it is included by default, in case it is necessary to register it manually: "[[en:documentation:pandorafms:technical_reference:05_anexo_server_plugins_development|Anexo Server Plugins"]]. 
-- Field 5: 追加オショ+ 
 +プラグインを使用するには、Pandora FMS に登録する必要があります (メニュー <wrap :ja>**管理(Management) → サーバ(Servers) → プラグイン(Plugins)**</wrap>)。新規インールデフォルト含まれていまが、手動で登録する必要がある場合は "[[ja:documentation:pandorafms:technical_reference:05_anexo_server_plugins_development|サーラグイ"]] を参照してください。 
 + 
 +<WRAP center round important 90%> 
 + 
 +It is important that the name of the plugin is exactly ''IPMI Plugin'', as this depends on the correct functioning of NetScan.
  
-<WRAP center round important 60%> 
-自動検出処理が依存しているため、プラグインの名前は "IPMI Plugin" である必要があります。 
 </WRAP> </WRAP>
  
-== 自動検出スクリプトの登録 ==+<WRAP center round important 90%> 
 + 
 +NetScan が正しく機能するためには、プラグインの名前が正確に IPMI Plugin'' であることが重要です。 
 + 
 +</WRAP> 
 + 
 +The registration parameters of the plugin are as follows: 
 + 
 +プラグイン登録のパラメータは次の通りです。 
 + 
 +{{  :wiki:ipmi_plugin_registration.png  }} 
 + 
 +The descriptions of the custom fields are as follows: 
 + 
 +カスタムフィールドの説明は次のとおりです。 
 + 
 +  * <wrap :en>**Field 1**</wrap>: Target IP address. 
 +  * <wrap :en>**Field 2**</wrap>: User. 
 +  * <wrap :en>**Field 3**</wrap>: Password. 
 +  * <wrap :en>**Field 4**</wrap>: Sensor. 
 +  * <wrap :en>**Field 5**</wrap>: Additional options. 
 + 
 +  * <wrap :ja>**フィールド 1**</wrap>: 対象の IP アドレス 
 +  * <wrap :ja>**フィールド 2**</wrap>: ユーザ 
 +  * <wrap :ja>**フィールド 3**</wrap>: パスワード 
 +  * <wrap :ja>**フィールド 4**</wrap>: センサー 
 +  * <wrap :ja>**フィールド 5**</wrap>: 追加オプション 
 + 
 +<wrap #ks2_2_3 /> 
 + 
 +=== NetScan  スクリプトの登録 ==
 + 
 +The second step to finish the installation is to register the **NetScan** script. You can see the complete registration process in section [[en:documentation:pandorafms:monitoring:17_discovery_2#ks3_1|Discovery]]. 
 + 
 +設定を完了させるために 2つ目に行うのは、**NetScan** スクリプトの登録です。登録方法の詳細については、[[:ja:documentation:pandorafms:monitoring:17_discovery_2#ネットスキャン|自動検出]] を参照してください。 
 + 
 +{{  :wiki:ipmi_recon_registration.png  }} 
 + 
 +<wrap #ks2_3 /> 
 + 
 + 
 + 
 +==== IPMI プラグインでのモニタリング ==== 
 + 
 +To start monitoring, a <wrap :en>**Recon Task**</wrap> must be created to discover all IPMI devices. This task will create an agent for each device discovered, and the modules with all the available checks for each device. 
 + 
 +モニタリングを開始するためには、すべての IPMI デバイスを検出するための**自動検出タスク**を作成する必要があります。このタスクは、検出したデバイスごとに一つのエージェントを作成し、それぞれのデバイスに存在するチェック項目をモジュールとして作成します。 
 + 
 +With this configuration the Discovery server will sweep the network and create an agent for each device found with all the available modules.
  
-The second step to finish the installation is to register the NetScan script. You can see the complete registration process in section +この設定では、自動検出サーバはネットワークをスキャンし、利用可能なすべてのモジュールで検出された各デバイスに対してエージェントを作成します。
-[[en:documentation:pandorafms:monitoring:17_discovery_2#Net_scan_scripts|Discovery]]. The registered plugin will be like this:+
  
-設定を完了させるために 2つ目に行うのは、自動検出スクリプトの登録です。登録方法の詳細については、[[:ja:documentation:pandorafms:monitoring:17_discovery_2#ネットスキャンスクリプト|ネットスキャンスクリプト]] を参照してください。+<wrap #ks2_4 />
  
-{{ wiki:ipmi_recon_registration.png }}+==== OEM の値の監視 ====
  
 +The values returned by the IPMI commands depend on each manufacturer. Therefore, it is possible that by default the **NetScan** does not find the module it needs to monitor.
  
-=== IPMI プラグイでのモニタリング === +IPMI コマよっ返されは、それぞれのベンダしま。そのため、デフォルトでは **NetScan** は監視したいモジュールを見つけるこができせん
-モニタリングを開始するためは、すべの IPMI デバイスを検出すための自動検出タスクを作成する必要があります。このタスク、検出したデバイスごとに一つのエージェントを作成し、それぞれのデバイスに存るチェック項目をモジュールとして作成し+
  
-以下の画面は、192.168.70.0/24 ネットワークで、admin/admin の権限で IPMI デバイスを検索する例です。+In addition to the default modules, each manufacturer can enable a number of OEM commands specific to their motherboardsYou can check the supported devices and the available commands for each [[http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html|on this page]].
  
-{{ wiki:Ipmi_recon_example.png }}+デフォルトのモジュールに加えて、各メーカーは自社のマザーボードに固有の OEM コマンドをいくつか有効にすることができます。サポートされているデバイスと、それぞれの使用可能なコマンドについては、[[http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html|このページ]]で確認できます。
  
-この設定で、自動検出タスクは、ネットワーク検出を行い、それぞれのデバイスのエージェントおよびモジュール登録を行います。+With these commands you can create a module of type //plugin// that executes the required command, see section "[[en:documentation:pandorafms:technical_reference:05_anexo_server_plugins_development|Server Plugins Annex]]".
  
-=== OEM の値監視 === +これらのコマンドを使用す必要なコマドを実行る //プラグイン// イプのモジュールを作成できます。「[[ja:documentation:pandorafms:technical_reference:05_anexo_server_plugins_development|サーバプラグイン]]」の章を参照してください
-IPMI コマンドによって返され値はそれぞれのベダに依存しま。そのため、デフォルトでは自動検出スクは監視したいモジュールを見つけることができません+
  
-デフォルトのモジールのほかに、それぞれのベダがハードウエアから OEM コマンドで情報を取得できるようしていものがあります。対応しているデバイスと、それぞれに存在するコマンドは、[[http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html|http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html]] で確認することができます。+[[ja:documentation:start|Pandora FMS ドキト一覧る]]
  
-これらのコマンドで、必要なコマンドを実行する一つのプラグインモジュールを作成することができます。その方法は、[[:ja:documentation:03_monitoring:03_remote_monitoring#.E3.83.97.E3.83.A9.E3.82.B0.E3.82.A4.E3.83.B3.E3.82.92.E4.BD.BF.E3.81.A3.E3.81.9F.E3.83.A2.E3.83.8B.E3.82.BF.E3.83.AA.E3.83.B3.E3.82.B0|プラグインを使ったモニタリング]] を参照してください。 
  • ja/documentation/pandorafms/technical_annexes/06_energy_efficiency.1716886160.txt.gz
  • 最終更新: 2024/05/28 08:49
  • by junichi