hey Luca,
             I'm done with Cassandra plugin for ntop (that only works with
netflow traffic for now).
             I would like to provide to the open community. I have few
doubts :

                    1) Are you  giving a UI for selecting either of
RRDTool-Redis database?
                    2) what are the different statistics ntop show for
netflow?
                    3) Have you done any type performance testing on ntop.
If yes can you please provide some details.

             Hope you will reply me soon so that i can finish my
integration of ntop and Cassandra!


On Wed, Oct 3, 2012 at 6:57 PM, nirmoy das <[email protected]> wrote:

> I'm trying to add one plug in for ntop.I did some reverse Engineering
> using other plug in code like rrdplugin.c and netflowPlugin.c.
> But I'm facing problem while terminating the mainloopthread is not
> terminating
>
>
> static void termmypluginFunct(u_char termNtop /* 0=term plugin, 1=term
> ntop */)
> {
>
>   int rc;
>   pluginActive = 0;
>
>    if(mainThread) {
>       rc = killThread(&mainThread);
>       if (rc == 0)
>         traceEvent(CONST_TRACE_INFO,
>                    "THREADMGMT[t%lu]:myplugin: killThread(mainThread)
> succeeded",
>                    (long unsigned int)pthread_self());
>       else
>         traceEvent(CONST_TRACE_ERROR,
>                    "THREADMGMT[t%lu]: myplugin: killThread(mainThread)
> failed, rc %s(%d)",
>                    (long unsigned int)pthread_self(), strerror(rc), rc);
>     };
> }
>
> It show success message while terminating but still mainthread continue to
> run
>
> So how am I going to kill the thread when i press deactivate ?
>
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to