On 14.11.14 18:51, Mark D. Nagel wrote:
> On 11/13/2014 9:50 AM, Aleksandar Ciric wrote:
>>
>> autoreconf, before make, had the same problem myself on centos6
>>
>
> This worked great, just wanted to make sure this was recorded for all to see
> later in
> searches :). For my RPM spec, I did then have to explicitly list the man
> path as
> /usr/share/man, but all was good.
>
> On to the main reason I was trying the new version. I have a script that is
> used for
> reporting when high data usage is detected and it runs various instances of
> nfdump during
> the analysis and report phase. During the final step, I get this:
>
> collect_nfdump: /usr/bin/nfdump -o csv -M
> /usr/local/nfsen/profiles/live/calswcore01 -R
> nfcapd.201411140830:nfcapd.201411140930 -n 10 -s srcip/bps -L 200M
> collect_nfdump: /usr/bin/nfdump -o csv -M
> /usr/local/nfsen/profiles/live/calswcore01 -R
> nfcapd.201411140830:nfcapd.201411140930 -n 10 -s dstip/bps -L 200M
> report_nfdump: /usr/bin/nfdump -q -s record/bytes -o fmt:%sap%dap%pr%byt%bps
> -O bytes -M
> /usr/local/nfsen/profiles/live/calswcore01 -R
> nfcapd.201411140830:nfcapd.201411140930 -L
> 1.48G "src host 10.8.25.60"
> collect error (-s record and -m are mutually exclusive options)
hmm .. This is somewhat a legacy problem. Do not use -O bytes as this is
already given with
-s record/bytes. Due to feature and implementation history timeline, these
options still
exclude each other, which will hopefully change in next versions.
Use -s record/<order> for record statistics and
-O <order> for listing flows and aggregated flow cache.
- Peter
>
> The first two work, but the last errors out as above. Note there is no
> reference to -m in
> the command line, just -M, which is completely different. Looking at
> nfdump.c, I now see
> that print_order is enabled for both -m and -O, so this is actually due to
> the -O option.
> So.... minor display bug that should be adjusted.
>
> Regards,
> Mark
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> Nfdump-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
>
--
Be nice to your netflow data. Use NfSen and nfdump :)
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Nfdump-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss