sticky-hosts means NOT to remove inactive hosts.  You have it backwards... you are thinking of idle purge.
 
Other than idle purge, there's no reason why ntop would reset unless it receives the request to do so - resetStats.html is the page.  Make sure you don't have a cron job running?

The report is created in report.c in printIpAccounting().  There's nothing fancy - just HostTraffic structure data and a normal 'walk'. 
 
Next step would be to see some extracts from the data dump and the textinfo.html page taken just before and after ntop resets itself.  Plus the --trace-level 4 log.
 
If that doesn't show what's up, we'll probably want you to enable some of the debugging switches in globals-defines.h, but the other data is a good first step.
 
-----Burton


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coenraad Loubser
Sent: Tuesday, March 01, 2005 8:55 PM
To: [email protected]
Subject: Re: [Ntop] Simple Question

Nope, it's not sticky hosts! Thats when the hosts get removed from the list after a period of inactivity;
Its the actual counters of how much data per host.... it gets reset, even when theres constant activity...
I've read the man, I've checked everywhere.... hence my posts here, to the ntop experts...
 
I suppose the only man with an answer would be the ultra cool author, Mr Deri.... :D
 
Anyone?
 
----- Original Message -----
Sent: Wednesday, March 02, 2005 3:08 AM
Subject: RE: [Ntop] Simple Question

Sounds like data is being purged - read the man page, look at --sticky-hosts.
 
-----Burton
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coenraad Loubser
Sent: Tuesday, March 01, 2005 6:22 PM
To: [email protected]
Subject: Re: [Ntop] Simple Question

Well, my ntop never gets shut down, but every hour or so all the counters on that page (IpL2R.html) is reset and I dont know how and can't find a setting to control the interval by which it's reset...
 
There must be a simpler way than counting all the rrd data...
 
I am just looking for a simple, quick way to do it in under 20 minutes! But if thats not possible, I suppose thats the way things are...
 
Thanks
----- Original Message -----
Sent: Tuesday, March 01, 2005 10:18 PM
Subject: RE: [Ntop] Simple Question

Read docs/FAQ - it's available from About | Help - the article on persistent data.
 
Basically, you can't - once you shutdown ntop, the in-memory data is gone.  Persistent data is through the rrd plugin - read the paper @ SourceForge.
 
-----Burton
 
PS: We generally don't recommend having public ntop instances - there's no problems that I know of, but it seems silly to take the risk.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coenraad Loubser
Sent: Tuesday, March 01, 2005 1:17 PM
To: [email protected]
Subject: [Ntop] Simple Question

Hi, I would like to know how I can keep ntop from resetting my traffic counters periodically.
 
- what I would like to do, is to reset them only on the 1st of each month; And maybe keep logs of the counters for various Local->Remote traffic values daily.
 
Any suggestions, or places I should look. My searches over the past few days have come up empty!
 
Specifically:
 
The counters on ths page!
 
Thanks in advance for your help!
 
Coenraad Loubser
Perfect World Software / +27 83 795 7708
 


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


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

Reply via email to