READ the current FAQ, not some old version... TOP 10 - the questions everyone asks...
Q1(a). Can I store data in a SQL database? Q1(b). When ntop stops I lose all my data. Why? Q1(c). Why doesn't the -S option work? A. ntop used to optionally store some data in a SQL database. The code was broken, difficult to maintain, etc. and was removed. A LONG TIME AGO. If you are reading about this in 'some' documentation - update. Current ntop is 3.1, which is the only version we support. There are scripts that various users have offered to take the data dump and insert it into a SQL database. Search the back traffic on the mailing list for them. Yes, ntop uses memory based structures to hold usage data and they are lost when you reset or restart ntop. Persistent storage is in the RRD databases - there's a paper @ SourceForge that explains them. There was another option for some persistence - it was -S - look down about 5K lines in this FAQ for an article about it, "What was the -S option?". -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smirnov, Sergey Sent: Monday, May 23, 2005 8:40 AM To: [email protected] Subject: Re: [Ntop] lost collected data after reboot ... Q. I start ntop with "-S 2" in order to store traffic statistics. Unfortunately when I restart ntop the stats are gone. What's wrong? A. "-S" enables ntop to store on the disk host traffic statistics. ... Unfortunately ntop has not -S options Burton Strauss wrote: > You don't lose data... It's safely in the rrds. Oh, you mean you > haven't read the FAQ??? > > -----Burton > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Smirnov, Sergey > Sent: Monday, May 23, 2005 6:44 AM > To: [email protected] > Subject: [Ntop] lost collected data after reboot > > What should I do to prevent lost collected data after server reboot? > -- > Sergey Smirnov > UNIX System Administrator of System Department Transas Group > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop -- Sergey Smirnov UNIX System Administrator of System Department Transas Group _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
