Neil,
of course you can purge data from Lua writing a small script that can then be 
run daily such as scripts/callbacks/daily.lua 
Doing it inside ntopng has the advantage that you do not have to hardcode paths.

BTW you are still using an old ntopng version as your interface name is 
symbolic (eth1): please update

Luca


On 27 Aug 2014, at 23:13, Neil Page <[email protected]> wrote:

> If nTop hasn't any other programmatic way to accomplish - then your tmpwatch 
> job will work. Thanks very much for replying. Cheers,
> 
> 
> On Wed, Aug 27, 2014 at 1:18 PM, Jeremy Hoel <[email protected]> wrote:
> We started running a tmpwatch on some of the folders..   That helps us keep 
> most of the data down.  You can adjust the 120d to 7d if you want that low. 
> 
> 00 10 * * 1 root tmpwatch -maf 120d /var/lib/ntopng/eth1/top_talkers 2>&1 
> 1>/dev/null
> 
> 
> On Wed, Aug 27, 2014 at 8:07 PM, Neil Page <[email protected]> wrote:
> I've read a good deal on this list, as well as the NTopNG Admin guide. There 
> is brief mention therein regarding cleaning out the historical data composed 
> by the "dump file" configuration switch.
> 
> What I want to do specifically is maintain either 7 days of historical data. 
> So I need an automated process that trims that data accordingly.
> 
> I'd also like to trim <= 25 GB on another nTopNG machine if possible.
> 
> Can you help me?
> 
> Thanks,
> NeilPage
> 
> _______________________________________________
> 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

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

Reply via email to