ja:documentation:03_monitoring:15_raspberry_monitoring

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ja:documentation:03_monitoring:15_raspberry_monitoring [2021/11/13 23:43] – [Raspberry 用の Pandora FMS イメージ] junichija:documentation:03_monitoring:15_raspberry_monitoring [2023/12/21 02:35] – [Netflow プローブ] junichi
行 4: 行 4:
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
-{{wiki: raspberry_logo.png}} {{wiki: pandora_logo.png}} +  * Network connection and device configuration guide. 
- +  * Pandora FMS agent and satellite installation on a Raspberry device
-===== ここでの説明内容 =====+  * Automatic creation Pandora FMS user, securing the ssh protocol.
  
   * ネットワーク接続およびデバイス設定ガイド   * ネットワーク接続およびデバイス設定ガイド
行 15: 行 15:
  
 ==== Rasberry ==== ==== Rasberry ====
-Raspberry デバイスは、1ボードの低コストコンピュータです(SBC)。公式なオペレーティングシステムはオープンソースの Debian を元にしたもので、Raspbian と呼ばれます。 
  
-{{  :wiki:raspberry_placa.png?400  }}+A Raspberry device is a reduced-plate computer, single-plate computer or low-cost single-plate computer (SBC)Its official operating system is an open source version adapted from Debian, called Raspbian. 
 + 
 +Raspberry デバイスは、単一基板の低コストコンピュータです(SBC)。公式なオペレーティングシステムはオープンソースの Debian を元にしたもので、Raspbian と呼ばれます。
  
-==== キーボード ==== 
-USB 接続のキーボード 
  
-==== モニター ==== 
-HDMI 接続のモニター 
  
 ===== ソフトウエア ===== ===== ソフトウエア =====
  
 ==== Raspberry 用の Pandora FMS イメージ ==== ==== Raspberry 用の Pandora FMS イメージ ====
-配布イメージは、Raspbian オペレーティングシステムを元にしています。エージェント、サテライト、eHorus クライアント、netflow プローブをインストールするためのパッケージおよび、これらの依存ファイルが含まれています。 
  
-{{  :wiki:raspbian.png?200  }}{{  :wiki:ehorus.png  }}{{  :wiki:pandora_logo.png  }}+The distributed image is based on the Raspbian operating systemIt contains the agent, the satellite, the eHorus client, the packages to install a NetFlow probe and all their dependencies. 
 + 
 +配布イメージは、Raspbian オペレーティングシステムを元にしています。エージェント、サテライト、eHorus クライアント、Netflow プローブをインストールするためのパッケージおよび、これらの依存ファイルが含まれています。
  
 ===== インストール ===== ===== インストール =====
行 36: 行 34:
 ==== SD カード用フラッシュイメージ ==== ==== SD カード用フラッシュイメージ ====
 === Raspberry 用の Pandora FMS 公式イメージのダウンロード === === Raspberry 用の Pandora FMS 公式イメージのダウンロード ===
-インストールの最初のステップは、[[https://sourceforge.net/projects/pandora/files/Raspberry-PandoraFMS/|公式ダウンロードページ]] からの raspberry 用の公式 Pandora FMS イメージをダウンロードです。 
-SD カードへ書き込む .img ファイルをダウンロードします。SD カードは最低 4GB 必要です。 
  
-=== Etcher のダウンロード === +The initial step for installing it is to download the official Pandora FMS image for raspberry from the official download page:
-イメージを書き込むために Etcher を利用します。[[https://etcher.io/|Etcher の公式ページ]] からダウンロードすることができ、Windows と Linux の双方で動きます。+
  
-=== SD カードへの書き込み処理 === +ンスト最初のステップは、raspberry 用の公式 Pandora FMS イメージダウンロードす。
-SD へ書き込みたい Pandora FMS イメージを //select image// をクリックすることにより選択します。前もってダウンロードした Pandora FMS イメージを選択するためのファイルエクスプローラが開きます。+
  
-{{ wiki: etcher1.png }}+<WRAP center round download 90%>
  
-コンピュータに挿入した SD カードを選択します。デフォルトでは 1つのカードが表示されます。対象がそれであればそのまま、そうでなければ変更し対象の SD カードを選択します。+https://sourceforge.net/projects/pandora/files/Raspberry-PandoraFMS/
  
-{{ wiki: etcher2.png }}+</WRAP>
  
-カードにイメージを書き込むには、Flash! ボタンをクリックします。その後、カードを取り外します。+Once the ''.img'' file is downloaded, flash it onto your SD card of at least 4gb.
  
-{{ wiki: etcher2.png }}+SD カードへ書き込む ''.img'' ファイルをダウンロードします。SD カードは最低 4GB 必要です。
  
-==== ハードウエア接続 ===+=== Etcher のダウンロード ===
-このステップでは、我々のオペレーティングシステムで Raspberry を起動するために、すべてのコンポーネントを接続します。 +
-  * SD カードを箱の下にあるスロットに挿入します。 +
-  * キーボードを任意の USB ポートへ接続します。 +
-  * HDMI ケーブルで Raspberry とモニターを接続します。 +
-  * 電源ケーブルを電源に接続します。+
  
-==== ネットワーク設定 ==== +To flash the image, use the Etcher software that can be downloaded at
-画面にはどのデバイスを起動するかが表示されます。また、どのインタフェースを設定するかがインストーラで表示されます。+
  
-=== DHCP === +書き込むために Etcher 利用ます。以下からダウンロードできます。
-有線のネットワークンタフェスの設定行うために Eth0 選択します。+
  
-{{ wiki: cable1.png }}+<WRAP center round download 90%>
  
-Eth0 インタフェースの設定を変更するかどうか聞かれます。+https://etcher.balena.io/
  
-{{ wiki: cable2.png }}+</WRAP>
  
-ネットワーク上に DHCP サーバがある場合は、DHCP を選択します。+It works similarly on both Windows® and Linux®.
  
-{{ wiki: cable3.png }}+Windows® と Linux® の両方で同様に動作します。
  
-有線ネットワクの設定が正しくできた旨のメッセージが表示されます。+=== SD カドへメージの書き込み処理 ===
  
-=== 固定 IP 設定 === +Insert the SD card into your computer which should have a special port for those kinds of devices. Execute Etcher.
-{{ wiki: cable4.png }}+
  
-有線インタフェ手動で設定たい場合は、IP STATIC 選択します。+SD カコンピュータに挿入ます。コンピュータには、これらの種類のデバイス用の特別なポートが必要です。 Etcher 実行します。
  
-{{ wiki: cable5.png }}+Click **Select image**. This will open the file explorer to select the previously downloaded Pandora FMS image.
  
-Raspberry の固定 IP 入力します。+**Select image** クリックします。 これにより、ファイルエクスプローラーが開き、事前にダウンロードした Pandora FMS イメージを選択します。
  
-{{ wiki: cable6.png }}+Select the SD card inserted in the computer. If the SD card is the one that appears by default, leave it as it is and if not, click **Change** and select the desired SD card.
  
-ネットワークのトウェイ入力します。+コンピュタに挿入されている SD カードを選択します。 SD カードがデフォルトで表示されるものである場合はそのままにし、そうでない場合は **Change** をリックして目的の SD カ選択します。
  
-{{ wiki: cable7.png }}+{{  :wiki:etcher2.png  }}
  
-ネットワークマスクを入力します。+Click **Flash!** to mount the image on the card.
  
-{{ wiki: cable8.png }}+**Flash!** をクリックして、イメージをカードに書き込みます。
  
-DNS を入力します。+Then, remove the card securely according to your OS instructions.
  
-{{ wiki: cable9.png }}+次に、OS の指示に従ってカードを安全に取り外します。
  
-設定が完了しジが表示されます。+==== ハードウエア接続 ==== 
 +このステップでは、我々のオペレーティングシステムで Raspberry を起動するめに、すべてコンポーネントを接続します。 
 +  * SD カードを箱の下にあるスロトに挿入します。 
 +  * キボードを任意の USB ポートへ接続します。 
 +  * HDMI ケーブルで Raspberry とモニターを接続します。 
 +  * 電源ケーブルを電源に接続します。
  
-{{ wiki: cable10.png }}+==== ネットワーク設定 ==== 
 +画面にはどのデバイスを起動するかが表示されます。また、どのインタフェースを設定するかがインストーラで表示されます。
  
-=== 無線 LAN DHCP === +=== DHCP ===
-無線 LAN 設定には、Wlan0 を選択します。+
  
-{{ wikiwifi1.png }}+Select ''Eth0'' to configure the wired network interface:
  
-Wlan0 インタフェースの設定を変更するかどか聞かれます。+有線のネットワークインタフェースの設定をために ''Eth0'' を選択します。
  
-{{ wiki: wifi2.png }}+It will ask whether you want to change the Eth0 interface settingsClick **Yes**
  
-ネットワク上に DHCP サバがあ場合は、DHCP 選択します。+Eth0 インタフェス設定を変更すかどうか尋ねられます。 **Yes** をクリックします
  
-{{ wiki: wifi3.png }}+Select **DHCP** if there is a DHCP server in the network
  
-アクセスポイン一覧表示されます。+ネッワーク内に DHCP サーバある場合は、**DHCP** を選択します。
  
-指定のアクセスポイントのパスワードを入力します。+Then, a message will appear saying that the wired network has been correctly configured.
  
-{{ wiki: wifi5.png }}+次に、有線ネットワークが正しく設定されたことを示すメッセージが表示されます。
  
-設定が完了した旨のメッセージが表示されます。+=== 固定 IP 設定 ===
  
-=== 無線 LAN 固定 IP 設定 === +Select **IP STATIC** if you wish to configure the wired interface manually.
-{{ wiki: wifi6.png }}+
  
-線 LAN 固定 IP 設定したい場合は、WIFI STATIC を選択します。+インタフェースを手動で設定したい場合は、**IP STATIC** を選択します。
  
-{{ wiki: wifi7.png }}+Enter the Raspberry's static IP.
  
-アクセスポイント名一覧からアクセスポイント選択します。+Raspberry の固定 IP 入力します。
  
-アクセスポイントのパスワードを入力します。+Enter the network's **Gateway.**
  
-{{ wiki: wifi9.png }}+ネットワークの **Gateway** を入力します。
  
-デバイスの固定 IP を入力します。 +Enter the network mask.
- +
-{{ wiki: wifi10.png }}+
  
 ネットワークマスクを入力します。 ネットワークマスクを入力します。
  
-{{ wiki: wifi11.png }}+Enter the public DNS.
  
-アクセスポイントのゲートウェイを入力します。+DNS を入力します。
  
-{{ wiki: wifi12.png }}+You will get a message that the configuration has been successfully completed.
  
-設定完了した旨のメッセージが表示されます。+設定完了した旨のメッセージが表示されます。
  
-{{ wiki: wifi13.png }}+=== 無線 LAN DHCP ===
  
-=== インストーラを終了する === +Select **Wlan0** to configure the wireless network interface
-インストーラを終了するには、メインメニューに戻り cancel をクリックします。+
  
-{{ wiki: wifi14.png }}+無線 LAN 設定には、**Wlan0** を選択します。
  
-==== エージェント/サテライトの設定 ==== +{{  :wiki:wifi1.png  }}
-=== エージェント === +
-エージェントをインストールするには、メニューから AGENT を選択します。+
  
-{{ wiki: agente1.1.png }}+It will ask whether you wish to change the **Wlan0** interface configurationClick **Yes.**
  
-ントが接続する先の Pandora サーバの IP かれます。+**Wlan0** インタイス設定変更するどうかを尋ねらます。 **Yes** をクリックします。
  
-{{ wiki: agente2.2.png }}+Select **DHCP** if there is a DHCP server in the network.
  
-ジェントを追加したいサーバ上の既存グループ入力します。+ネットワク上に DHCP サーバがある場合は、**DHCP** 選択します。
  
-{{ wiki: agente3.3.png }}+Choose the name of the access point from the provided listEnter the password of the access point.
  
-=== サテライト === +表示されたリスからアクセス ポの名前選択します。 アクセスポイントのパスワ入力します。
-サテライトをイントールするには、メニューから SATELLITE 選択します。+
  
-{{ wiki: satelite1.png }}+You will get a message that the configuration was successful.
  
-エージェント接続る先の Pandora サバの IP を聞かれます。+設定成功したことを示メッセジが表示されます。
  
-{{ wiki: satelite2.png }}+=== 無線 LAN 固定 IP 設定 ===
  
-監視したいネットワークの範囲をマスクをつけて入力します。+  * Select **WIFI STATIC** if you wish to configure the wired interface manually. 
 +  * Choose the name of the access point from the provided list. Enter the password of the access point. 
 +  * Enter the device static IP address. 
 +  * Enter the network mask. 
 +  * Enter the access point **Gateway.** 
 +  * You will receive a message saying the configuration was successful.
  
-{{wiki: satelite3.png}}+  * 無線 LAN で固定 IP 設定をしたい場合は、**WIFI STATIC** を選択します。 
 +  * アクセスポイント名一覧からアクセスポイントを選択します。アクセスポイントのパスワードを入力します。 
 +  * デバイスの固定 IP を入力します。 
 +  * ネットワークマスクを入力します。 
 +  * アクセスポイントの **Gateway** を入力します。 
 +  * 設定が成功したことを示すメッセージが表示されます。
  
-ネットワーク内のデバイスの SNMP コミュニティもしくは、その一覧を入力します。 
  
-{{ wiki: satelite4.png }} 
  
-ネットワク上ュータへ WMI クエリ実行する場合ザもくは、ユザ一覧を入力します。+==== エジェント/サテライト設定 ==== 
 +=== エージェト === 
 + 
 +  * To install the agent, select **AGENT** from the menu. 
 +  * It will ask for the IP address of the Pandora FMS server the agent must point to. 
 +  * Enter the **existing group** in the Pandora FMS server you wish to add the agent to. 
 + 
 +  * エージェントをインストールするには、メニューから **AGENT** 選択します。 
 +  * エージェントが接続するの Pandora FMS サバの IP を聞かれます。 
 +  * エージェントを追加たい Pandora FMS サーバ上の **既存グルプ** を入力します。 
 + 
 +=== サテライト === 
 + 
 +  * To install the satellite, select **SATELLITE** from the menu. 
 +  * Enter the IP address of Pandora FMS server the agent must point to. 
 +  * Enter the network range you wish to monitor along with its mask. 
 +  * Enter the community or list of SNMP communities of the devices in your network. 
 +  * Enter the user or list of users to make WMI queries to the computers on your network.
  
-{{ wiki: satelite5.png }}+  * サテライトをインストールするには、メニューから **SATELLITE** を選択します。 
 +  * エージェントが接続する先の Pandora FMS サーバの IP を聞かれます。 
 +  * 監視したいネットワークの範囲をマスクをつけて入力します。 
 +  * ネットワーク内のデバイスの SNMP コミュニティもしくは、その一覧を入力します。 
 +  * ネットワーク上のコンピュータへ WMI クエリを実行する場合のユーザもしくは、ユーザ一覧を入力します。
  
 ===== インストール後の調整 ===== ===== インストール後の調整 =====
行 236: 行 249:
  
 ==== Netflow プローブ ==== ==== Netflow プローブ ====
 +
 処理は、次の複数のコンポーネントに基づいて行われます。 処理は、次の複数のコンポーネントに基づいて行われます。
   * ネットフローとの互換性を持つデバイスで、通常は、情報パケットを生成するスイッチまたはルータのようなネットワークハードウェア、または netflow プローブ。   * ネットフローとの互換性を持つデバイスで、通常は、情報パケットを生成するスイッチまたはルータのようなネットワークハードウェア、または netflow プローブ。
行 242: 行 256:
 Pandora FMS は、すべての netflow トラフィックを処理するために nfcapd というオープンソースツールを用います。このデーモンは、Pandora FMS サーバにより自動的に起動されます。このシステムはデータを指定の場所のバイナリファイルに保存します。Pandora で Netflow が動作するようにするためには、システムに nfcapd をインストールしておく必要があります。デフォルトで nfcapd デーモンは、9995/UDP で待ち受けます。Netflow プローブを設定するとき、ファイアーウォールがある場合はこのポートを開ける必要があることを考慮してください。 Pandora FMS は、すべての netflow トラフィックを処理するために nfcapd というオープンソースツールを用います。このデーモンは、Pandora FMS サーバにより自動的に起動されます。このシステムはデータを指定の場所のバイナリファイルに保存します。Pandora で Netflow が動作するようにするためには、システムに nfcapd をインストールしておく必要があります。デフォルトで nfcapd デーモンは、9995/UDP で待ち受けます。Netflow プローブを設定するとき、ファイアーウォールがある場合はこのポートを開ける必要があることを考慮してください。
  
-{{ wiki: Netflow_architecture.png }} 
  
 === ソフトウエア経由での Netflow プローブ === === ソフトウエア経由での Netflow プローブ ===
行 276: 行 289:
 </code> </code>
  
-Netflow は、操作および管理メニューからアクセスできるように有効化されている必要があります。 [[:ja:documentation:05_big_environments:04_netflow#設定|Netflow設定]]+Netflow は、操作および管理メニューからアクセスできるように有効化されている必要があります。 [[:ja:documentation:03_monitoring:18_netflow#設定|Netflow設定]]
  
 Netflow の設定をしたら、nfcapd を起動するために Pandora FMS サーバを再起動する必要があります。起動のまえに正しくインストールされている必要があります。うまくいかない場合はサーバのログを確認してください。 Netflow の設定をしたら、nfcapd を起動するために Pandora FMS サーバを再起動する必要があります。起動のまえに正しくインストールされている必要があります。うまくいかない場合はサーバのログを確認してください。
行 283: 行 296:
 === ポートミラーリングによる Netflow プローブ === === ポートミラーリングによる Netflow プローブ ===
  
-[[:ja:documentation:05_big_environments:04_netflow#設定|Netflow ポートミラーリング]] を参照してください。+[[:ja:documentation:03_monitoring:18_netflow#設定|Netflow ポートミラーリング]] を参照してください。