Hi,

I'm very new to pmacct and have just set up 1 collector and 1 probe. I 
use sql accounting with v5 and configured pmacct as a nfprobe with 
engine_id of 1:0. I can set it to whatever (2, 1:1, 1:0), every entry in 
my DB is 0.

Here's my nfacctd.conf:
debug: true
daemonize: true
aggregate[sql]: src_host, dst_host, src_port, dst_port, proto
aggregate[mem]: src_host, dst_host, src_port, dst_port, proto
nfacctd_time_new: true
nfacctd_port: 9996
plugins: mysql[sql], memory[mem]
sql_db: pmacct
sql_table: acct_v5
sql_table_version: 5
sql_passwd: xxx
sql_user: xxx
sql_refresh_time: 60
sql_history: 1h
sql_history_roundoff: mh
syslog: daemon

And that's the probe config:
daemonize: true
debug: true
interface: ipsec0
plugins: nfprobe
nfprobe_receiver: 1.1.1.1:9996
nfprobe_version: 5
nfprobe_engine: 1:0
pcap_filter: net 10.0.0.0/16
syslog: daemon

Any ideas?
Thanks,

Michael

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

Reply via email to