Re: [pmacct-discussion] configurafion

2016-05-26 Thread Jaroslav Jirásek
then time-bins will be falling at 9:32, 9:37, 9:42, etc. with the feature on, it will nicely align to the hour and give you time bins like 9:30, 9:35, etc. Paolo On Wed, May 18, 2016 at 10:50:48PM +0200, Jaroslav Jirásek wrote: Hi, I am trying to store flows to mysql, I have this nfacctd config

[pmacct-discussion] configurafion

2016-05-18 Thread Jaroslav Jirásek
Hi, I am trying to store flows to mysql, I have this nfacctd config: nfacctd_time_new: true aggregate: src_host,dst_host,post_nat_src_host,post_nat_dst_host,proto,src_port,dst_port plugins: mysql sql_db: pmacct sql_user: pmacct sql_passwd: sql_optimize_clauses: true sql_table:

[pmacct-discussion] filtering flows

2016-05-19 Thread Jaroslav Jirásek
I'm receiving flows from mikrotik by nfacctd. I want split inbound and outboud traffic to different tables. I'm using directives aggregate_filter[local.out]: src net 10.0.0.0/8 aggregate_filter[local.in]: dst net 10.0.0.0/8 it works only for outbound traffic, because in flows is DstAddr ip

[pmacct-discussion] stamp_inserted

2016-11-30 Thread Jaroslav Jirásek
Hi, I use this scerario: sql_refresh_time: 120 sql_history: 2m sql_history_roundoff: m sql_dont_try_update: true nfacctd_pro_rating: true aggregate[router1.all.in]: src_host,dst_host,proto,src_port,dst_port,timestamp_start,timestamp_end aggregate[router1.all.out]: