| ヘルプ: 環境設定:例2 |
下の環境設定ファイルは、ルーターからエクスポートされるNetFlowデータを用いてそのルーターをモニタするプローブのための典型的な設定を示しています。
[probe]
host = probe.inmon.com ; change to result of "hostname" command
softwareKey = 3BC37BEF3C13E76F0003FFFFA4E46D998B7D7C3949879FCD475158E1
collectorHost = traffic.inmon.com ; name of the sFlow collector
; some settings can have default values defined at the top level
; which are then overridden for specific agents below:
samplingRate = 1000
community = private ; Required to get interface counters.
inputPort = 5555 ; Listen for NetFlow on port 5555
; agent sending NetFlow data
[agent]
address = 10.0.0.254 ; address of the switch management agent
; Note: Only NetFlow packets from this
; agent will be accepted.
; Uncomment next 2 lines to use iBGP to peer with Router
; Note: Only needed if AS path information is required.
; BGP_Peer = YES
; BGP_LocalAS = 65111
[netflow]
netFlowInputASInfo = origin ; Router has been set to export origin AS
注記: このルーター(10.0.0.254)は、probe.inmon.com上のポート5555にNetFlowデータを送信するように設定しておく必要があります。NetFlowエクスポートの設定上の注意事項につきましては、ルーターのマニュアルを参照してください。