差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:05_hwg-ste_sensor [2021/06/17 13:30] – 作成 - 外部編集 127.0.0.1 | ja:documentation:pandorafms:technical_annexes:05_hwg-ste_sensor [2024/11/16 22:42] (現在) – [Step #2. センサーの設定] junichi | ||
---|---|---|---|
行 1: | 行 1: | ||
====== HWg-STE センサーの設定 ====== | ====== HWg-STE センサーの設定 ====== | ||
+ | |||
{{indexmenu_n> | {{indexmenu_n> | ||
[[ja: | [[ja: | ||
- | ===== HWg-STE 温度センサー設定 ===== | + | <wrap #ks1 /> |
- | ==== 概要 ==== | + | ===== 概要 ===== |
- | この設定クイックガイドでは、Pandora で HWg-STE 温度センサーをモニタする方法をステップごとに説明します。 | + | |
- | eMail アラートを割り当てて、基本的なレポートを作成します。 | + | This quick configuration guide explains how to use Pandora FMS to monitor a HWg-STE temperature sensor with email alerts and a basic report. |
- | ==== インストールと設定 | + | この設定クイックガイドでは、Pandora で HWg-STE 温度センサーをモニタする方法をステップごとに説明します。eMail |
- | === Step #1. Pandora のインストール === | + | |
- | インストールマニュアルを見るか、Pandora インストール済みの仮想イメージから開始します。 | + | |
- | === Step #2. センサーの設定 === | + | < |
- | HWg-STE センサーの設定を始めましょう。 | + | |
- | {{ wiki: | + | ===== インストールと設定 ===== |
+ | <wrap #ks2_1 /> | ||
- | ベンダーのドキュメント: http:// | + | ==== Step #1. Pandora FMS のインストール ==== |
- | センサーのマニュアル: http:// | + | The [[en:documentation:pandorafms: |
- | 温度センサーにアクセスするための IP アドレスを設定しネットワークに接続します。OID を確認しておく必要もあります。そのためには、ウェブからデバイスにアクセスして設定する必要があります。 | + | [[ja: |
- | {{ wiki: | + | <wrap #ks2_2 /> |
+ | ==== Step #2. センサーの設定 ==== | ||
- | 画面の " | + | Sensor model: HWg-STE. |
- | {{ wiki:oidhwg.png? | + | センサー: HWg-STE |
+ | Manufacturer' | ||
- | 一つのセンサーのみであれば、OID は次のようになります。 | + | ベンダーのドキュメント: |
- | | + | [[http:// |
- | デバイスは温度を小数点なしの値で返すということに注意してください。実際の値を表示したい場合は、その値を 10 で割ります。これは Pandora の保存倍率の設定で行えます。 | + | センサーのマニュアル: |
- | また、IP アドレス設定は次の通りです。 | + | [[https:// |
- | {{ wiki: | + | The most important thing is to configure the access IP address and make sure that the temperature sensor is connected and to know its OID. To do this, access the device via the web and configure: |
+ | 温度センサーにアクセスするための IP アドレスを設定しネットワークに接続します。OID を確認しておく必要もあります。そのためには、ウェブからデバイスにアクセスして設定する必要があります。 | ||
- | === Step #3. Pandora でのセンサーの設定 === | + | {{ : |
- | エージェント設定画面に行きましょう。新たなエージェントを作成し関連する情報を入力します。このエージェントには、センサーに設定した IP アドレスと同じアドレスを設定する必要があります。 | + | |
- | {{ wiki:pandorasensor1.png? | + | In the **System → TXT List of common SNMP OID' |
+ | 画面の " | ||
- | ここでは、サーバグループに所属させました。センサーグループを作成する場合は、あとで変更できます。 | + | {{ : |
- | SNMP モジュールを設定します。モジュールの画面へ行きます。 | + | Since there is only one sensor, the OID will be: |
- | {{ wiki: | + | 一つのセンサーのみであれば、OID は次のようになります。 |
+ | < | ||
+ | .1.3.6.1.4.1.21796.4.1.3.1.5.1 | ||
- | "SNMP Numeric Data Module" | + | </ |
- | {{ wiki: | + | It should be noted that the device returns the temperature in degrees Celsius without decimal separator. The value must be divided by 10 in order to display the real value, this post-processing is done in Pandora FMS. |
+ | デバイスは温度を小数点なしの値で返すということに注意してください。実際の値を表示したい場合は、その値を 10 で割ります。これは Pandora FMS の保存倍率の設定で行えます。 | ||
- | 前もって取得した情報を SNMP OID フィールドに入力する必要があります。SNMP のコミュニティは、デフォルトで " | + | The IP address of the device is queried: |
- | {{ wiki: | + | また、IP アドレス設定は次の通りです。 |
+ | {{ : | ||
- | 結果を 10で割るように保存倍率を設定するために、拡張を開く必要があります。 | + | <wrap #ks2_3 /> |
- | {{ wiki: | + | ==== Step #3. Pandora FMS でのセンサーの設定 ==== |
+ | Go to the agent configuration screen. Create an agent and fill in the relevant information. The agent must have the queried IP address of the sensor. A **Remote SNMP network agent** module of type **Numeric data** is defined in modules. | ||
+ | エージェント設定画面に行きます。新たなエージェントを作成し関連する情報を入力します。このエージェントには、センサーに設定した IP アドレスと同じアドレスを設定する必要があります。**数値データ** タイプの **Remote SNMP network agent** モジュールを定義します。 | ||
- | " | + | In the SNMP OID field the previously obtained SNMP OID is placed. By default the SNMP community is '' |
- | 正しくモジュールを作成できたら、次のような画面が表示されます。 | + | SNMP OID フィールドには、前に取得した SNMP OID を設定します。デフォルトの SNMP コミュニティは '' |
- | {{ wiki:pandorasensor6.png }} | + | {{ :wiki:pandorasensor4.png }} |
+ | In the advanced section specify a postprocess that divides the value by 10: | ||
- | 電球のボタンをクリックすると(モジュール)、 | + | 高度な設定で、結果を 10で割るように保存倍率を設定します。 |
- | {{ wiki:pandorasensor7.png }} | + | {{ wiki:pandorasensor5.png }} |
+ | Click on create module. You should see something like this image: | ||
- | 新たなモジュールが更新され、三角形のアイコンは表示されなくなります。 | + | " |
- | {{ wiki:pandorasensor8.png }} | + | {{ wiki:pandorasensor6.png }} |
+ | You will be able to see the data obtained from the sensor, in a few hours you will have enough data for a graph like this one: | ||
+ | センサーから取得したデータを確認できるようになります。数時間後には、次のようなグラフ描画に十分なデータが得られます。 | ||
- | エージェント表示にいくと(虫めがねアイコン)、 | + | {{ : |
- | {{ wiki: | + | <wrap #ks2_4 /> |
+ | ==== Step #4. アラートの設定 ==== | ||
+ | So that when 38 degrees Celsius is exceeded, an alert is generated by e-mail. | ||
- | センサーから収集したデータを見ることができます。 | ||
- | |||
- | {{ wiki: | ||
- | |||
- | |||
- | モジュールが正常に稼動しています。数時間後、データが集まると次のようにグラフを見ることができます。 | ||
- | |||
- | {{ wiki: | ||
- | |||
- | |||
- | === Step #4. アラートの設定 === | ||
温度が 38度を超えた場合に、メールでアラート通知したいとします。最初に行うのはモジュールの設定です。値が 38度を超えたときに障害状態になるようにします。 | 温度が 38度を超えた場合に、メールでアラート通知したいとします。最初に行うのはモジュールの設定です。値が 38度を超えたときに障害状態になるようにします。 | ||
- | モジュールを編集します... (編集画面またはエージェント表示画面で以下のアイコンをクリックします) | + | {{ : |
- | {{ wiki:pandorasensor12.png }} | + | An alert action is defined to send mail to a specific address. Go to the menu < |
+ | アラートアクションは、特定のアドレスにメールを送信するように定義されています。メニュー <wrap : | ||
- | モジュールが 38ºC を超えたときに障害になるように範囲を設定する必要があります。 | + | Edit the agent and go to the alerts tab, create a new alert, starting from the default alert template " |
- | {{ wiki: | + | エージェントを編集し、アラートタブに移動して、デフォルトのアラートテンプレート「障害状態」から新しいアラートを作成します。これらの手順がすべて完了すると、アラートの準備が整います。 |
+ | <wrap #ks2_5 /> | ||
- | 次に、特定のメールアドレスにメールを送信するアラートアクションを定義します。新規に作成するには、システム設定(Administration) -> アラート管理(Manage alerts) -> アクション(Actions) へ行きます。 | + | ==== Step #5. 基本レポートの作成 |
- | アラートアクションをメール送信に設定します。障害状態になるどんなモジュールにも使えます。 | + | To create a report with a simple temperature graph, and the average and maximum value. |
- | {{ wiki: | + | 簡単な温度グラフと平均値および最大値を含むレポートを作成します。 |
+ | Go to menu <wrap : | ||
- | アクションを作成したら、センサーモジュールを持っているエージェントにアラートを設定するのみです。それには、アラートの画面へ行ってエージェントを編集する必要があります。 | + | メニュー |
- | {{ wiki:pandorasensor15.png }} | + | Go to the key tab to add items to the report and choose an item of type < |
+ | レポートに項目を追加するには、キー タブに移動し、< | ||
- | 新たにアラートを作成し、デフォルトのアラートテンプレート " | + | In the same way, two elements of type AVG (Average) and MAX (Maximum value) must be created. Once they have been created, to display them, click on the report display tab (the first one on the left). |
- | {{ wiki: | + | 同様に、AVG (平均) と MAX (最大値) の 2 つの要素を作成する必要があります。これらを作成したら、レポート表示タブ (左側の最初のタブ) をクリックして表示します。 |
- | + | [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] | |
- | これで新たなアラートは準備完了です。次のような画面が表示されます。 | + | |
- | + | ||
- | {{ wiki:pandorasensor17.png? | + | |
- | + | ||
- | + | ||
- | === Step #5. 基本レポートの作成 === | + | |
- | 前述のステップが終わったら、最後に平均と最大値を含む基本的な温度グラフを含むレポートを作成します。 | + | |
- | + | ||
- | システム管理(Administration) → レポート(Reports) → レポート作成(Create report) へ行きます。 | + | |
- | + | ||
- | {{ wiki:pandorasensor18.png? | + | |
- | + | ||
- | + | ||
- | スパナボタンをクリックすると、レポートに新たな要素を追加できます。" | + | |
- | + | ||
- | {{ wiki: | + | |
- | + | ||
- | + | ||
- | 同じ手順で、平均と最大の 2つの要素を作成します。 | + | |
- | + | ||
- | 作成後、表示するにはレポート表示ボタンをクリックします。ほかに、操作(Operation) -> レポート(Report) へ行き、作成したレポートをクリックして表示することもできます。 | + | |
- | + | ||
- | レポートは次のように表示されます。(十分なデータは、数時間/ | + | |
- | + | ||
- | {{ wiki: | + | |