我正在使用Ntop 3.3-13收集有关网络使用情况的统计数据.
当Ntop重新启动时,所有计数器被重置,Ntop流量统计页面开始显示从一开始的输出。
我怎样才能防止这种情况发生呢?如何在Ntop上启用持久存储?
发布于 2011-10-19 10:24:26
不,不能将数据保存在重新启动之间。ntop将其数据保存在内存中,并在重新启动时丢失。您可以使用rrd文件来保存更长时间的数据,但是没有办法让ntop简历包含它上次运行时所拥有的所有数据。
也许可以试试nprobe?
前面的响应提到了-S,如果您检查手册页,就会发现-S不再是一个有效的选项。
发布于 2011-10-19 14:01:24
看看这个:http://prdownloads.sourceforge.net/ntop/rrdandntop.pdf
发布于 2010-09-20 18:25:21
来自ntop 常见问题:
Q. I start ntop with "-S 2" in order to store traffic
statistics. Unfortunately when I restart ntop the
stats are gone. What's wrong?
A. "-S" enables ntop to store on the disk host traffic statistics. This
means that is host XYZ was seen by ntop in a previous run, the host
traffic statistics are stored on disk so that the next time ntop is
restarted (or if the entry was purged from memory and needs to be
resurrected) the host information is not empty but the traffic
statistics start from the data saved on disk. Note that hosts are
resurrected *only* when ntop sees traffic for such hosts. This means
that when you restart ntop you *won't* see all the hosts ntop saw when
it stopped, but ntop populates its memory as usual with the difference
that host statistics won't start from scratch but from the saved data.也许-S选项对你有用?
https://serverfault.com/questions/182842
复制相似问题