Thanks for pointing that out. I've updated the userguide with the new option 
format along with a quite detailed meaning and description of the option values.

Simone

> On 22 Jul 2018, at 19:18, Luca Deri <[email protected]> wrote:
> 
> Simone
> Can you please update the guide?
> 
> Luca
> 
> On 22 Jul 2018, at 16:04, Ryan Gelobter <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> That option is still in the current nprobe users guide. Also about a year 
>> ago I wrote to the mailing list and Simone had recommended the setting 
>> 
>> On Sat, Jul 21, 2018, 2:28 AM Luca Deri <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Ryan
>> that option has been reworked. Can you please tell me where you read of it 
>> that we need to fix the documentation?
>> 
>> This said this is the option you need to use.
>> 
>> Thanks Luca
>> 
>> [--sample-rate|-S] <pkt rate>:<flow collection rate>:<flow export rate>
>>                                     | Packet capture sampling rate (-i only)
>>                                     | and NetFlow collection/export sampling 
>> rate.
>>                                     | If <pkt rate> starts with
>>                                     | '@' it means that nprobe will report
>>                                     | the specified sampling rate but will
>>                                     | not sample itself as incoming packets
>>                                     | are already sampled on the specified
>>                                     | capture device at the specified rate.
>>                                     | NOTE: in sFlow pkt rate is part of the 
>> packet.
>>                                     | Flow collection rate specify the flow 
>> sampling
>>                                     | rate of the flows being collected (-3 
>> only)). 
>>                                     | Flow export rate (export only e.g. -n)
>>                                     | specifies how many flows are exported 
>>                                     | (i.e. it does not affect flow 
>> collection).
>>                                     | Default: 1:1:1 [no sampling]
>> 
>> 
>>> On 20 Jul 2018, at 20:45, Ryan Gelobter <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Does --collector-sample-rate require a valid license? I'm running in demo 
>>> mode and get unrecognized option recently.
>>> 
>>> /usr/local/bin/nprobe -n 10.x.x.x:9996 -n 10.x.x.x:9996 --zmq 
>>> tcp://127.0.0.01:5556 <http://127.0.0.1:5556/> -X 200000 
>>> --collector-sample-rate 10
>>> 
>>> /usr/local/bin/nprobe: unrecognized option '--collector-sample-rate'
>>> 20/Jul/2018 18:44:33 [nprobe.c:5659] WARNING: Unrecognized option 
>>> '--collector-sample-rate'
>>> 
>>> /usr/local/bin/nprobe --version
>>> 
>>> Welcome to nProbe v.8.5.180719 (r6203) for x86_64-unknown-linux-gnu
>>> with native PF_RING acceleration.
>>> Copyright 2002-18 ntop.org <http://ntop.org/>
>>> 
>>> Build OS:      CentOS Linux release 7.5.1804 (Core)
>>> GIT rev:       dev:79f34d329f9dfd560495fc046d82634a15a9a13f:20180719
>>> License:       Invalid nProbe license (/etc/nprobe.license) [Missing 
>>> license file]
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>_______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to