On 6/28/07, Paolo Lucente <[EMAIL PROTECTED]> wrote: > Hi K.L., > > which method are you collecting your traffic (ie. libpcap, NetFlow, > sFlow)? I see your point and i think it could make sense collecting > NetFlow datagrams - and a similar case, ie. each aggregate is written > down to the database independly, is handled by the nfacctd_sql_log > directive. Under normal operations, sql_history doesn't scale below > the minutes. Hope this helps. > > Cheers, > Paolo >
Thanks for your answer Paolo. I'm using libcap to collect the traffic. In the configuration you suggest, I suppose I need a netflow probe (different from pmacct) running on my machine, right ? Or can I use pmacct as a netflow probe and at the same time write the aggregates to the DB ? Regards, K.L. > > On Wed, Jun 27, 2007 at 12:07:50PM +0200, K L wrote: > > Hello, > > > > I want to configure pmacct to log accounting informations to a > > database (PostgreSQL) every second. I mean, creating one line in the > > table for every active aggregate, each second (insert only, never > > update). > > > > Is that possible ? I tried with the following configuration file > > parameters without success : > > > > sql_refresh_time: 1 > > sql_dont_try_update: true > > > > Regards, > > K.L. > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists > _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
