| Help : Configure : Example 2 |
The following configuration file shows typical settings for a probe monitoring a router using NetFlow data exported from the router:
[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 on UDP port 5555
; agent sending NetFlow data
[agent]
address = 10.0.0.254 ; address of the router management agent
; Only NetFlow packets from this agent will be accepted.
[netflow] ;
netFlowInputASInfo = origin ; Router has been set to export origin AS
; If the router is running BGP and full AS-Path data is required, then the probe
; can be configured to use BGP to peer (read-only) with the router and learn the
; AS-Path routing information. Below is an example. The router must be configured
; to accept the peering connection from the probe server.
; [agent]
; address = 10.0.0.254 ; address of the router management agent
; BGP_Peer = YES ; turn on BGP peering
; BGP_LocalAS = 701 ; your AS number here
; [netflow] ;
; netFlowInputASInfo = origin ; Router has been set to export origin AS
Note: The router (10.0.0.254) must be configured to send NetFlow data to port 5555 on probe.inmon.com. Consult the documentation for your router for instructions on configuring NetFlow export.