[ixpmanager] peering matrix and memcached

Nick Hilliard nick at inex.ie
Mon Nov 24 14:56:04 GMT 2014


On 24/11/2014 14:45, Brian Thompson wrote:
> Yes this is where the problem is. I have tried all options.  I can not
> figure out how to get two streams working.
> sflowtool_opts = -4 -p 5000 -l RRD works but not BGP
> sflowtool_opts = -4 -p 6343 -f 127.0.0.1/5501 <http://127.0.0.1/5501> -l
> BGP works but not RRD
> sflowtool_opts = -4 -p 6343 -f 127.0.0.1/5500 <http://127.0.0.1/5500> -f
> 127.0.0.1/5501 <http://127.0.0.1/5501> BGP but not RRD

Hi Brian,

You need to start a separate sflowtool process to handle the fan-out, then
set up two sflow consumers like this:

>        sflowtool_opts = -4 -p 5500 -l
>        sflowtool_bgp_opts = -4 -p 5501 -l

This means you'll end up with three sflowtool processes running:

- one to handle the fanout (-4 -p 6343 -f 127.0.0.1/5500 -f 127.0.0.1/5501)
- one consumer for rrd (-4 -p 5500 -l)
- one consumer for bgp (-4 -p 5501 -l)

This is what "ps ax|grep sflowtool" looks like on our sflow box:

>  594  -  S      27:48.20 /usr/local/bin/sflowtool -4 -p 6343 -f 127.0.0.1/5500 -f 127.0.0.1/5501
>  839  -  S      87:02.59 /usr/local/bin/sflowtool -4 -p 5501 -l
>  844  -  S      77:40.26 /usr/local/bin/sflowtool -4 -p 5500 -l

Nick



More information about the ixpmanager mailing list