Hello,
I need to keep track of ALL hosts, regardless of their state (idle
since... whatever).
In the man I found :
-c | --sticky-hosts
By default idle hosts are periodically purged from memory. Use
this flag to prevent idle hosts from being purged from memory.
NOTE: if idle hosts are kept in memory you can experience severe
memory usage.
so I enabled sticky hosts...
However, my page on About / Configuration shows :
Started as..../usr/local/bin/ntop --user ntop --db-file-path /var/ntop
--interface eth1,eth2,eth3,eth4 --http-server 10999 --daemon -p
/usr/local/etc/ntop/protocols.list --sticky-hosts
Resolved to..../usr/local/bin/ntop
--user
ntop
--db-file-path
/var/ntop
--interface
eth1,eth2,eth3,eth4
--http-server
10999
--daemon
-p
/usr/local/etc/ntop/protocols.list
--sticky-hosts
[...]
Host/Session counts - global
Purge idle hosts.....Enabled
Purged hosts.....1112
Maximum hosts to purge per cycle.....512
DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512
Terminated Sessions.....127,161
Host/Session counts - Device 0 (eth1)
Actual Hash Size.....512
Stored hosts.....339 [66 %]
Sessions.....333
Max Num. Sessions.....1,063
Host/Session counts - Device 1 (eth2)
Actual Hash Size.....32
Stored hosts.....1 [3 %]
Sessions.....0
Max Num. Sessions.....0
Host/Session counts - Device 2 (eth3)
Actual Hash Size.....32
Stored hosts.....1 [3 %]
Sessions.....0
Max Num. Sessions.....0
Host/Session counts - Device 3 (eth4)
Actual Hash Size.....32
Stored hosts.....1 [3 %]
Sessions.....0
Max Num. Sessions.....0
[...]
Looks like purge idle hosts is still enabled... and that hosts are
effectively purged !!
In the RRDs, I sometimes see a drop in the number of known hosts too...
I am using Ntop 2.2 on Linux 2.4... So my question is : are sticky hosts
really working (or not), or did I miss a bit of documentation explaining
this (or not) ?
Thank you
Lo�c
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev