Hi Ruben, You should rewrite the argument of the print_refresh_time directive to 300 - instead of 5m. I suspect files are being actually written every 5 secs.
Cheers, Paolo On Tue, Mar 27, 2012 at 09:14:13PM +0200, Ruben Laban wrote: > Hi, > > I've starting playing with the print plugin in an attempt to simplify my > current traffic accounting setup. I'm running into an odd issue tho. I'm > using the following config: > > daemonize: true > aggregate[in]: dst_host > aggregate[out]: src_host > aggregate[in_total]: none > aggregate[out_total]: none > aggregate_filter[in]: ether dst 00:1c:23:e1:8a:01 > aggregate_filter[out]: ether src 00:1c:23:e1:8a:01 > aggregate_filter[in_total]: ether dst 00:1c:23:e1:8a:01 > aggregate_filter[out_total]: ether src 00:1c:23:e1:8a:01 > plugins: print[in], print[out], print[in_total], print[out_total] > interface: up0 > print_output_file[in]: /tmp/pmacct_up0_in_%Y%m%d-%H%M > print_output_file[out]: /tmp/pmacct_up0_out_%Y%m%d-%H%M > print_output_file[in_total]: /tmp/pmacct_up0_in_total_%Y%m%d-%H%M > print_output_file[out_total]: /tmp/pmacct_up0_out_total_%Y%m%d-%H%M > print_refresh_time: 5m > print_time_roundoff: m > print_markers: true > print_output: csv > print_num_protos: true > > I'd expect new files to appear every 5 minutes, but they actually do > appear every minute. Is this expected behavior or not? (Judging from the > docs I'd say it's not.) > > Regards, > Ruben Laban > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
