On Nov 14, 2012, at 1:17 AM, nirmoy das <[email protected]> wrote:
> hey Luca, > I'm done with Cassandra plugin for ntop (that only works with > netflow traffic for now). Thanks, send me the code so I can integrate it into ntop > 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? Redis is not a replacement of RRD why are you asking? > 2) what are the different statistics ntop show for > netflow? ntop basically threats a netflow flow as a "huge" packet, so all stats beside payload stats are available > 3) Have you done any type performance testing on ntop. If > yes can you please provide some details. Multi-100 Mbit is feasible, over 1G with Netflow (ntop acts as a collector) > > Hope you will reply me soon so that i can finish my integration > of ntop and Cassandra! Great work, Luca > > > 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
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
