That's why we have an FAQ - to answer the frequently answered questions!
-----Burton


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Barbosa
Sent: Monday, May 29, 2006 12:43 PM
To: [email protected]
Subject: [Ntop] Re: Keeping data

Guess I found it:

Q.  What was the -S option?

A.  The -S option was the --store-mode option, or the "Persistent storage mode" Ntop's internal structures are basically an array of devices (network interfaces), which contains an array of hosts (specific machines seen on the device.

So device[0] is the 1st network interface, and device[2] the third. device[0].host[0] would be, say, the local file server and device[0].host[1] would be a simple host. device[1].host[1] is a completely different set of counts from device[0].host[1].

The -S options tells ntop to store information about a specific host in a database from run to run (-S 0 none, -S 1 all and -S 2 only local hosts).

This is only the count information about the host and does not store the information about a device (a network interface). Further, items of dynamically allocated storage (the devices name) are not stored.

Data is retrieved on a subsequent run ONLY when traffic is seen from that host after the restart. (I suppose you could script a ping to each host you care about and force the reload that way, but it hasn't been tested...)

So if you go into the host details (e.g. the 192.168.1.1.html page) you should see prior-run information.

But if you're looking for device throughput to be preserved... nope...

Also, ntop stores the information during 1) reset and 2) shutdown. So if ntop crashes, the persistent data will be lost.

This option was removed from ntop in the 2.1.52 development version.


Its hard to something especific.... Sorry about that.

Rafael

On 5/29/06, Rafael Barbosa <[EMAIL PROTECTED] > wrote:
Hello again,

Everytime I close ntop and restart it all data is lost (statistics, graphs, etc). Is there any option I can use to keep the data? I don't want to loose information if my power suply goes down. (Which is happening more that I want here in my lab...)


Rafael Barbosa

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to