Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntop + mysql
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kaihansen
n00b
n00b


Joined: 01 Jul 2002
Posts: 37
Location: Italy / Torino

PostPosted: Thu Feb 06, 2003 4:43 pm    Post subject: ntop + mysql Reply with quote

Hi all,

I'm using ntop to monitor my network, and I write data into mysql.

But when I restart ntop (rare, I know :D) I lose my data.

I run ntop with -S2 option, but how can I read all data into mysql database? Is there any graphical application that do that?

Thanks a lot,

Daniele
Back to top
View user's profile Send private message
loginx
n00b
n00b


Joined: 14 Aug 2002
Posts: 68
Location: Windsor Ontario, Canada

PostPosted: Wed Feb 19, 2003 8:33 pm    Post subject: Reply with quote

Hi there.

When you restart ntop, your data is not really "lost"
ntop resets the statistics for each host until it encounters that host again.
When it does encounter that host, it reloads all the old stats and you can see that for yourself by clicking on that host and you'll see all the old stats are still there.
There is no way to restart nload exactly the way it was before it stopped, to my knowledge (unfortunately)

One last thing... I use ntop's internal database format because I get a segfault when I use mysql with it... I did create an empty database for it, is there anything else I need to do ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum