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
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Combined Sflow + Nflow patch against nfsen 1.3.5
Thanks for the patch. Fixed in nfsen-1.3.6