On 19/10/2012 3:15 μμ, Peter Haag wrote:

> I don't know this plugin, but it looks like you have to add the
> final Perl 1 at the end of the file Event.pm:
>
> 1;
>
> Each Module need to load true;
>
>       - Peter

Thanks Peter,

I found out that there was some problem with MySQL authentication, which 
I managed to troubleshoot by uncommenting line 88 in Events.pm (listed 
uncommented below):

    ### Set trace output to a file at level 2 and prepare()
    DBI->trace( 2, '/tmp/dbitrace.log' );

The problem most probably had to do with my using a mysql password with 
special characters, which for some reason was not handled correctly by 
the scripts. After I changed it, connection went through successfully.

I also found that Events.pm ends with:

    $dbh

which, if the database connection is successful will be 1; Obviously, 
the intention of the author was to cause the plugin to fail to load in 
case of database connection failure (which is understandable).

So, now everything has been loaded OK - no more errors.

Thanks for your willingness to help me!

By the way, a set of plugins to provide netflow data analysis in order 
to indentify various types of malicious network behavior would be more 
than welcome, and would add significant value to the nfdump/nfsen project.

I have also located this interesting script: 
http://www.ccieflyer.com/2010-01-JasonRowley.php, but unfortunately all 
links in there are broken...

Regards,
Nick

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to