Dear Sir, On Tue, Apr 06, 2004 at 10:25:31AM +1000, Nicholas Orr wrote: > Hi, > > Is there a step-by-step guide for setting up ntop for use with a SQL db > backend? >
No. Ntop makes use of RRD to store the time series data it collects, see docs/FAQ 'Q. But what about SQL and mySQL A. Removed in 2.1.50+ versions - use rrd Q. But I really, really, need the data in an sql database. A. If you are only interested in saving your netflow data in MySQL, use the script ntop/NetFlow/netFlowClient.pl (netflow v5). With few additional lines you could save your data in flat files, forward the netflow data or whatever. What this script does it set itself up as a netflow collector and sql inserter. The main loop just accepts a netflow packet and inserts the flow(s) into sql. To use this with a single instance of ntop, just set ntop up as a netflow sender, directed at the script (e.g. 127.0.0.1 on any port you like). Configure the script with the port # and run it. ... ' > thanks > > Nick You should be using ntop-3.0. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
