Re: [Nfsen-discuss] NfSen not profiling history

2014-04-28 Thread Borja Marcos

On Mar 26, 2014, at 9:27 PM, Peter Haag wrote:

 Hi all,
 Find appended a patch, which fixes the problem for not profiling the history 
 data correctly. The bug is triggered, when
 setting ZIPprofile to 1 in nfsen.conf. A new NfSen release, which fixes some 
 more issues, especially Perl compatibility,
 will be released soon.

Rejoice, for the  problem has been solved for me. Please accept my apologies, I 
was supposed to set up an accessible system for you and I really forgot. Brain 
fried, sometimes :)

Curiously, I don't use the ZIPprofiles option. I use ZFS with compression 
enabled and I always disable ZIPprofiles. Or is the problem caused by having 
had ZIPprofiles once, a long time ago, in a far away galaxy?

Anyway, thank you!





Borja.


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss


Re: [Nfsen-discuss] NfSen not profiling history

2014-04-28 Thread Peter Haag
On 28.04.14 12:13, Borja Marcos wrote:
 
 On Mar 26, 2014, at 9:27 PM, Peter Haag wrote:
 
 Hi all,
 Find appended a patch, which fixes the problem for not profiling the history 
 data correctly. The bug is triggered, when
 setting ZIPprofile to 1 in nfsen.conf. A new NfSen release, which fixes some 
 more issues, especially Perl compatibility,
 will be released soon.
 
 Rejoice, for the  problem has been solved for me. Please accept my apologies, 
 I was supposed to set up an accessible system for you and I really forgot. 
 Brain fried, sometimes :)
 
 Curiously, I don't use the ZIPprofiles option. I use ZFS with compression 
 enabled and I always disable ZIPprofiles. Or is the problem caused by having 
 had ZIPprofiles once, a long time ago, in a far away galaxy?

No - compression is transparent. Therefor old compressed profiles are perfectly 
fine!
For not compressing files, leave ZIPprofiles empty or apply the patch.

- Peter
 
 Anyway, thank you!
 
 
 
 
 
 Borja.
 
 
 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Nfsen-discuss mailing list
 Nfsen-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
 

-- 
Be nice to your netflow data. Use NfSen and nfdump :)

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss


Re: [Nfsen-discuss] NfSen not profiling history

2014-04-28 Thread Borja Marcos

On Apr 28, 2014, at 12:41 PM, Borja Marcos wrote:

 
 On Apr 28, 2014, at 12:31 PM, Peter Haag wrote:
 
 Curiously, I don't use the ZIPprofiles option. I use ZFS with compression 
 enabled and I always disable ZIPprofiles. Or is the problem caused by 
 having had ZIPprofiles once, a long time ago, in a far away galaxy?
 
 No - compression is transparent. Therefor old compressed profiles are 
 perfectly fine!
 For not compressing files, leave ZIPprofiles empty or apply the patch.
 
 Then it's curious. Although I wasn't using ZIPprofiles, the bug was affecting 
 me. After patching it works perfectly.

Or wait. I had it set to zero, not empty.




Borja.


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss


Re: [Nfsen-discuss] NfSen not profiling history

2014-04-17 Thread Christian Kildau
Hi Peter,

this sounds like the bug we run into.
Sadly your patch doesn't fix it for me. Shadow profile data sill stays
empty.

Any idea when the updated version of nfsen will be released?

Best regards
Chris

On 3/26/14 9:27 PM, Peter Haag wrote:
 Hi all,
 Find appended a patch, which fixes the problem for not profiling the history 
 data correctly. The bug is triggered, when
 setting ZIPprofile to 1 in nfsen.conf. A new NfSen release, which fixes some 
 more issues, especially Perl compatibility,
 will be released soon.
 
 Thanks Wim for your support!
 
   Cheers
 
   - Peter
 
 
 
 
 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/13534_NeoTech
 
 
 
 ___
 Nfsen-discuss mailing list
 Nfsen-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
 

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss


[Nfsen-discuss] NfSen not profiling history

2014-03-26 Thread Peter Haag
Hi all,
Find appended a patch, which fixes the problem for not profiling the history 
data correctly. The bug is triggered, when
setting ZIPprofile to 1 in nfsen.conf. A new NfSen release, which fixes some 
more issues, especially Perl compatibility,
will be released soon.

Thanks Wim for your support!

Cheers

- Peter


-- 
Be nice to your netflow data. Use NfSen and nfdump :)
--- NfProfile.pm.orig   2014-03-26 21:18:17.0 +0100
+++ NfProfile.pm2014-03-26 21:19:27.0 +0100
@@ -915,7 +915,8 @@
 
my $profilepath = ProfilePath($name, $group);
my $subdirlayout = $NfConf::SUBDIRLAYOUT ? -S $NfConf::SUBDIRLAYOUT : 
;
-   my $arg = -I -p $NfConf::PROFILEDATADIR -P $NfConf::PROFILESTATDIR 
$subdirlayout $NfConf::ZIPprofiles;
+   my $arg = -I -p $NfConf::PROFILEDATADIR -P $NfConf::PROFILESTATDIR 
$subdirlayout ;
+   $arg   .= -z  if $NfConf::ZIPprofiles;
 
# create argument list specific for each channel
# at the moment this contains of all channels in a continues profile
@@ -1369,7 +1370,8 @@
}
my $channellist = join ':', keys 
%{$liveprofile{'channel'}};
my $subdirlayout = $NfConf::SUBDIRLAYOUT ? -S 
$NfConf::SUBDIRLAYOUT : ;
-   my $arg = -I -p $NfConf::PROFILEDATADIR -P 
$NfConf::PROFILESTATDIR $subdirlayout $NfConf::ZIPprofiles;
+   my $arg = -I -p $NfConf::PROFILEDATADIR -P 
$NfConf::PROFILESTATDIR $subdirlayout ;
+   $arg   .= -z  if $NfConf::ZIPprofiles;
 
# profile missing slots
if ( $t = $tend ) {
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss