Dim & others,
would you like to please summarise the instructions below in a document
that I can integrate into ntop?

Thanks, Luca

Dim Segebart wrote:
> 
> Yes, no problem for me.
> 1. Create database for ntop:
> mysqladmin create 'ntopdb'
> 2.  (Optional  step) add MySQL user 'ntop' and assign proper rights to
> the 'ntopdb'
> 3. Create tables using ntop/database/mySQLdefs.txt
> mysql -u ntop ntopdb < ntop/database/mySQLdefs.txt
> 4. Now run dbclient and ntop with right arguments.
> This is how my startup script looks like:
> #!/bin/bash
> /usr/bin/perl /usr/local/bin/mySQLserver.pl &
> /usr/local/bin/ntop -u ntop /b localhost:4000 -N -d
> 
> Monday, October 08, 2001, 1:55:14 PM, you wrote:
> 
> PW> Looks like NTOP is working better and better! :)
> 
> PW> It would be so nice if I also could store the information in my mysql dB.
> PW> I saw that should be possible, just can't figure out the "http-like host
> PW> format"..
> 
> PW> Has somebody done it ?
> PW> Is there some example out there of how to do that?  ( I guess I need a
> PW> howto.. :)  )
> 
> PW> somebody ?
> 
> PW> -b
> PW>         Exports ntop traffic information into a SQL database. The  flag
> PW> specifies  (in  http-like  host  format)  the
> PW>         address (IP:port) of a SQL client. The database/ directory part of
> PW> ntop contains a few clients. Please use one
> PW>         of those.
> 
> PW> / Paul
> 
> >> -----Ursprungligt meddelande-----
> >> Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]For Dim Segebart
> >> Skickat: den 1 oktober 2001 20:44
> >> Till: [EMAIL PROTECTED]
> >> Amne: [Ntop] NTOP & MySQL
> >>
> >>
> >> Hello ntop,
> >> Today,  while  building  the  daily NTOP snapshot, I have noticed what
> >> NTOP has some links to lmysqlclient. I just wonder what it is used for
> >> ?  AFAIK  all DB related stuff performed now by so-called DBHelpers (I
> >> use  mySQLsever.pl  with no problems) Is it a new undocumented feature
> >> which'll allow to connect NTOP with MySQL directly or it was just
> >> by chance.
> >>
> >> With best regards.
> >> --
> >> Dim Segebart                        mailto:[EMAIL PROTECTED]
> >>
> >>
> >> _______________________________________________
> >> Ntop mailing list
> >> [EMAIL PROTECTED]
> >> http://listmanager.unipi.it/mailman/listinfo/ntop
> >>
> 
> PW> _______________________________________________
> PW> Ntop mailing list
> PW> [EMAIL PROTECTED]
> PW> http://listmanager.unipi.it/mailman/listinfo/ntop
> 
> --
> Dim Segebart                         mailto:[EMAIL PROTECTED]
> 
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop

-- 
Luca Deri                     NETikos S.p.A.
Via Matteucci 34/B            56124 Pisa, Italy.
Ph. +39/050/968.639           Fax. +39/050/968.626
Personal: [EMAIL PROTECTED]   Business: [EMAIL PROTECTED]
WWW: http://www.lucaderi.org/ ICQ: 68183632
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to