hi ml,

thanx for your help, now it compiled and writes some information to
databases. but not all i want:

i only get ip_src and ip_dst, it looks, like i have a error with my
aggregation pattern.

./nfacctd -c src_host,dst_host -f /etc/pmacct/nfacctd.conf

(i give -c on commandline, cause i dont know how to write it correctly
to the logfile.)

daemonize: false
! aggregate_filter[dummy]: src net 192.168.0.0/16
! aggregate[default]: src_host, dst_host
! plugin_buffer_size: 1024
nfacctd_port: 33333
nfacctd_time_secs: true
nfacctd_time_new: true
plugins: pgsql
!plugins: mysql[dummy]
sql_db: netflow2pg
sql_table: acct_v6
sql_table_version: 6
sql_passwd: xxxxxx
sql_user: pmacct
sql_refresh_time: 90
sql_host: 192.168.0.19
! sql_optimize_clauses: true
sql_history: 10m
sql_history_roundoff: mh
! sql_preprocess: qnum=1000, minp=5
! networks_file: ./networks.example
! ports_file: ./ports.example

what i don't understand, why information get updated? cause it should
only insert all data to the table, and i start a script (all 5min),
doing some calculation on the information. and delete the already
calculated information, beside the one i want to archive.

is there a way to check if data get lost? as this was possible with
netflow2mysql?

greetings
thomas





-- 
# Thomas Stegbauer
# https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x9A3F1866FC68E91D
# Key fingerprint = 5A2D FEDC 8A50 F1BB 25FB  967B 9A3F 1866 FC68 E91D



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

Reply via email to