[Ntop] persistent data storage on ntop
Burton Strauss
Burton at ntopSupport.com
Fri May 27 14:58:31 CEST 2005
Read the FAQ:
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?".
What part of "Yes, ntop uses memory based structures to hold usage data and
they are lost when you reset or restart ntop." can I make any clearer???
-----Burton
-----Original Message-----
From: ntop-bounces at unipi.it [mailto:ntop-bounces at unipi.it] On Behalf Of
nicola mondinelli
Sent: Friday, May 27, 2005 4:42 AM
To: ntop at Unipi.IT
Subject: Re: [Ntop] persistent data storage on ntop
I had read the FAQ,
l know the property of rrd, but pratically, by the command line, how can i
tell to ntop daemon when it start to load the old data from rdd?
in my case i use thoose flags
""-u ntop -P /var/lib/ntop"
My aim is to have ntop start from the point when it crashed, or stopped.
When i read the data from the html server from the port 3000 i wish to read
all data inherent the period from ntop install on, not only from the last
run.
Thanks in advance.
Nicola
Burton Strauss wrote:
>Read the FAQ
>
>(1) rrd
>(2) rrds ARE persistent storage - but this does not reload the
>in-memory counters.
>(3) rrd
>
>-----Burton
>
>
>-----Original Message-----
>From: ntop-bounces at unipi.it [mailto:ntop-bounces at unipi.it] On Behalf Of
>nicola mondinelli
>Sent: Thursday, May 26, 2005 9:35 AM
>To: ntop at Unipi.IT
>Subject: [Ntop] persistent data storage on ntop
>
>Hello
>normally ntop from a run to another run drop (most) data it collects .
>1) There is a way to make it save permanently to a db? (when i restart
>it, i lose most of the data)
>2) There is a (trasparent) way to make ntop read this data on the
>start, so it can continue the work from when it crushed/stopped/zapped?
>3) it is possible to save this data in a remote way?
>
>Thanks for helping...
>
>Nicola
>
>_______________________________________________
>Ntop mailing list
>Ntop at unipi.it
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>_______________________________________________
>Ntop mailing list
>Ntop at unipi.it
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
>
_______________________________________________
Ntop mailing list
Ntop at unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
More information about the Ntop
mailing list