Menu

#17 Sflow + Netflow mixed error

closed
None
5
2011-07-20
2011-03-09
Anonymous
No

Hi,
I tried to setup this config:
%sources = (
'milkyway' => { 'port' => '9995', 'col' => '#006600', 'type' => 'netflow'},
'highway' => { 'port' => '6351', 'col' => '#0000FF', 'type' => 'sflow' },
'broadway' => { 'port' => '6352', 'col' => '#006666', 'type' => 'sflow' },
);

which ended in this error:
netflow# nfsen start
Starting nfcapd:Can not start different type 'sflow' and 'netflow' on same port!
Can not start different type 'sflow' and 'netflow' on same port!
Can not start different type 'sflow' and 'netflow' on same port!

This is the same problem as mentioned here: http://www.mail-archive.com/nfsen-discuss@lists.sourceforge.net/msg01871.html

It just seems that the service type wasnt checked in the if ($port == $_port) section. So we couldnt mix multiples collector type, even on different ports

Best regards,
Christophe Meron

Discussion

  • Peter Haag

    Peter Haag - 2011-07-20
    • assigned_to: nobody --> phaag
    • status: open --> closed
     
  • Peter Haag

    Peter Haag - 2011-07-20

    Thanks for the patch. Fixed in nfsen-1.3.6

     
Auth0 Logo