Hi,

Can you say what pmacct version is that and whether you did self-compile 
it? If you did, can you also specify what './configure' switches did you
use? 

Is the one you posted just a fragment of the entire config? I'm missing
the 'plugins', 'interface' and 'sql_table_version' statements among the
others.

By setting 'debug: true' and 'daemonize: false' in the config, you get
on standard output, at regular time intervals (sql_refresh_time) or upon
pressing CTRL+C, a dump of the SQL queries being generated. Can you post
a couple of these (here or privately but please don't send much verbose
outputs to the list)?

Cheers,
Paolo


On Mon, Nov 01, 2010 at 12:54:00AM -0700, Replic8tor wrote:
> I've installed pmacct on an ubuntu box acting as a internet gateway
> for a small lan of computers. I am dumping all the info into a
> postgresql database using table version 7. The following is my current
> config:
> 
> 
> aggregate[inbound]: dst_host
> aggregate[outbound]: src_host
> aggregate_filter[inbound]: dst net 192.168.10.0/24
> aggregate_filter[outbound]: src net 192.168.10.0/24
> 
> 
> What I am attempting to do is log the number of bytes to and from a
> host on the lan. This seems to be the correct config for what I want
> to do but when pmacct inserts into my database the byte count field is
> ridiculously large. A sample of four entries right after a wipe of the
> table:
> 
> 
> 140733193905071
> 140733193388639
> 140733193388261
> 140733193388490
> 
> 
> Obviously these numbers are erroneous but I have not a clue what is
> setting them improperly. Any help is greatly appreciated in this
> manner.
> 
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to