Hi Klaas, To confirm that yes, you have to clean it up yourself if not needed.
Cheers, Paolo On Fri, May 16, 2014 at 06:32:51AM +0000, Tammling, Klaas wrote: > Hi, > > thanks. That worked for me. Is there a way to tell pmacct not to insert > anything which has source or destination '0.0.0.0'? Or would I just have to > write a cleanup cronjob which runs every night? > > Thanks. > > -----Ursprüngliche Nachricht----- > Von: pmacct-discussion [mailto:pmacct-discussion-boun...@pmacct.net] Im > Auftrag von Paolo Lucente > Gesendet: Donnerstag, 15. Mai 2014 18:15 > An: pmacct-discussion@pmacct.net > Betreff: Re: [pmacct-discussion] Using networks_file for filtering by network > prefixes > > Hi Klaas, > > I believe you are looking for the "networks_file_filter: true" > config directive. Can you confirm it does what you are looking for? > > Cheers, > Paolo > > On Thu, May 15, 2014 at 09:37:17AM +0000, Tammling, Klaas wrote: > > Hi, > > > > I'm just trying to set up some traffic accounting with pmacct. However I > > don't want to account all networks as it is a huge amount of data. > > > > Is there a possibility to define something like the networks_file with an > > amount of prefixes (10.0.0.0/8, 192.168.1.0/24....) which are accounted and > > the rest will be ignored? I tried to define the networks_file however it > > doesn't seem to work. Until now I was only able to restrict accounting > > using aggregate_filter however as the list of prefixes varies I don't > > always want to edit the configuration file. > > > > Using pmacct 1.5.0rc3 currently. > > > > Thanks. > > > > Klaas Tammling > > > > > _______________________________________________ > > pmacct-discussion mailing list > > http://www.pmacct.net/#mailinglists > > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists