差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:monitoring:18_netflow [2024/09/16 05:44] – [分散設定] junichi | ja:documentation:pandorafms:monitoring:18_netflow [2025/02/07 08:07] (現在) – [分散設定] junichi | ||
---|---|---|---|
行 165: | 行 165: | ||
== fprobe のインストール == | == fprobe のインストール == | ||
- | **fprobe** | + | The **fprobe** |
**fprobe** がトラフィックを取得し Netflow サーバへ送信します。インターフェイスを通過するすべてのトラフィックから、Netflow トラフィックを生成できます。 | **fprobe** がトラフィックを取得し Netflow サーバへ送信します。インターフェイスを通過するすべてのトラフィックから、Netflow トラフィックを生成できます。 | ||
- | To download the RPM package just run the following command, and then install | + | In Ubuntu 22 it is installed and configured with: |
- | RPM パッケージをダウンロードおよびインストールするには、以下のコマンドを用います。 | + | Ubuntu 22 では、次のようにインストールおよび設定します。 |
- | < | + | < |
- | wget http:// | + | sudo apt install fprobe |
- | yum install fprobe-1.1-2.el7.lux.x86_64.rpm | + | |
</ | </ | ||
- | For instance, executing this command, all '' | + | The installation offers |
- | たとえば、このコマンドを実行すると、すべての '' | + | インストールでは、デフォルトのインターフェースとして '' |
- | < | + | It will then query for the IP address and listening port of the device that will collect the data (in this case the **PFMS server**), e.g. '' |
- | / | + | |
- | </ | + | 次に、データを収集するデバイス (この場合は **PFMS サーバ**) の IP アドレスと待ち受けポート (例: '' |
- | Once the traffic | + | Once the installation |
- | トラフィックが生成されたら、次のコマンドでトラフィックの状態を見る事ができます。 | + | インストールが完了したら、操作をテストできます。 |
- | < | + | < |
- | nfdump -R / | + | sudo systemctl status fprobe |
</ | </ | ||
- | 次のような情報が表示されます。 | + | And it will return a response similar to this: |
- | < | + | そして、次のような応答が返されます。 |
- | Aggregated flows 1286 | + | |
- | Top 10 flows ordered by packets: | + | |
- | Date flow start Duration Proto Src IP Addr: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | Top 10 flows ordered by bytes: | + | {{ wiki:sudo_systemctl_status_fprobe.png }} |
- | Date flow start Duration Proto Src IP Addr: | + | |
- | 2011-12-22 20:48:15.057 1.347 TCP | + | To enable it at every system startup: |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20:46: | + | システムの起動ごとに有効にするには: |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20:48: | + | <code bash> |
- | 2011-12-22 20: | + | sudo systemctl enable fprobe |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | 2011-12-22 20: | + | |
- | Summary: total flows: 1458, total bytes: 5.9 M, total packets: 15421, avg bps: 49574, avg pps: 15, avg bpp: 399 | ||
- | Time window: 2011-12-22 20:40:46 - 2011-12-22 20:57:21 | ||
- | Total flows processed: 1458, Records skipped: 0, Bytes read: 75864 | ||
- | Sys: 0.006s flows/ | ||
</ | </ | ||
+ | To read the complete **fprobe** help: | ||
- | ここまでの動作確認ができたら、次はそれを利用できるようにするための Pandora FMS の設定です。 | + | 完全な **fprobe** ヘルプを読むには: |
+ | |||
+ | https:// | ||
+ | |||
+ | Once traffic has been generated, you can view traffic statistics in the NetFlow collector of the **PFMS server** with the command: | ||
+ | |||
+ | トラフィックが生成されると、次のコマンドを使用して、**PFMS サーバ** の NetFlow コレクターでトラフィック統計を表示できます。 | ||
+ | |||
+ | < | ||
+ | nfdump -R / | ||
+ | |||
+ | </ | ||
== pmacct のインストール == | == pmacct のインストール == | ||
行 550: | 行 539: | ||
==== 分散設定 ==== | ==== 分散設定 ==== | ||
- | It is possible to locate the Pandora FMS node that collects NetFlow data in a host independent | + | It is possible to locate the Pandora FMS node that collects NetFlow data in a host separate |
コンソールから独立したホスト上に Netflow データを収集する pandora ノードを配置することも可能です。大量の Netflow データがある環境では、高速ディスクと 2コア以上の高速 CPU を備えたサーバに配置することをお勧めします。 Pandora コンソールがNetflow データを抽出するためには、以下の手順に従ってシステムのデフォルト設定を変更する必要があります。 | コンソールから独立したホスト上に Netflow データを収集する pandora ノードを配置することも可能です。大量の Netflow データがある環境では、高速ディスクと 2コア以上の高速 CPU を備えたサーバに配置することをお勧めします。 Pandora コンソールがNetflow データを抽出するためには、以下の手順に従ってシステムのデフォルト設定を変更する必要があります。 | ||
行 619: | 行 608: | ||
{{ wiki: | {{ wiki: | ||
+ | |||
+ | <wrap #ks3 /> | ||
===== sFlow でのネットワーク監視 ===== | ===== sFlow でのネットワーク監視 ===== |