ja:documentation:pandorafms:technical_annexes:06_energy_efficiency

文書の過去の版を表示しています。


Pandora FMS とエネルギー効率

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 のサポートについて説明します。

IPMI (Intelligent Platform Management Interface) is an interface created by Intel® to manage and monitor IT systems. Through IPMI it is possible to consult the temperature sensors, voltages or fan speed of the devices and many other variables, all remotely.

IPMI (Intelligent Platform Management Interface) は、インテルによって作られた IT システムを管理・モニタリングするためのインタフェースです。例えば、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 監視は、デバイスデータを収集するプラグインと、ネットワーク上で IPMI をサポートするすべてのデバイスを自動的に検出する NetScan スクリプトの 2 つのコンポーネントから成ります。

事前に用意するもの

プラグインと自動検出処理共に、FreeIPMI の 0.7.16 以降のバージョンが必要です。

RHEL/CentOS では、インストールには以下のコマンドを利用できます。

yum install freeipmi

Debian の場合、次のコマンドでインストールできます。

#apt-get install freeipmi-tools

IPMI プラグインの登録

まず最初にプラグインを登録します。方法が良く分からない場合は、プラグインを使ったモニタリング を確認してください。

プラグイン登録のパラメータは次の通りです。

それぞれのフィールドに入力する値は次の通りです。

  • 名前(Name): IPMI Plugin
  • プラグインタイプ(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_

カスタムフィールドは以下の通りです。 - Field 1: 対象IP - Field 2: ユーザ - Field 3: パスワード - Field 4: センサー - Field 5: 追加オプション

自動検出処理が依存しているため、プラグインの名前は “IPMI Plugin” である必要があります。

自動検出スクリプトの登録

The second step to finish the installation is to register the NetScan script. You can see the complete registration process in section Discovery. The registered plugin will be like this:

設定を完了させるために 2つ目に行うのは、自動検出スクリプトの登録です。登録方法の詳細については、ネットスキャンスクリプト を参照してください。

モニタリングを開始するためには、すべての IPMI デバイスを検出するための自動検出タスクを作成する必要があります。このタスクは、検出したデバイスごとに一つのエージェントを作成し、それぞれのデバイスに存在するチェック項目をモジュールとして作成します。

以下の画面は、192.168.70.0/24 ネットワークで、admin/admin の権限で IPMI デバイスを検索する例です。

この設定で、自動検出タスクは、ネットワーク検出を行い、それぞれのデバイスのエージェントおよびモジュール登録を行います。

IPMI コマンドによって返される値は、それぞれのベンダに依存します。そのため、デフォルトでは自動検出タスクは監視したいモジュールを見つけることができません。

デフォルトのモジュールのほかに、それぞれのベンダがハードウエアから OEM コマンドで情報を取得できるようにしているものがあります。対応しているデバイスと、それぞれに存在するコマンドは、http://www.gnu.org/s/freeipmi/manpages/man8/ipmi-oem.8.html で確認することができます。

これらのコマンドで、必要なコマンドを実行する一つのプラグインモジュールを作成することができます。その方法は、プラグインを使ったモニタリング を参照してください。

  • ja/documentation/pandorafms/technical_annexes/06_energy_efficiency.1723796714.txt.gz
  • 最終更新: 2024/08/16 08:25
  • by junichi