Hello,

I've tried to setup nfacctd  with BGP following wiki example  but when we
start it  it return this error :

#nfacctd -f ./nfacctd.conf
ERROR: At least one of the following primitives is in use but its source
type is not specified:
       peer_src_as     =>  bgp_peer_src_as_type
       src_as_path     =>  bgp_src_as_path_type
       src_std_comm    =>  bgp_src_std_comm_type
       src_ext_comm    =>  bgp_src_ext_comm_type
       src_local_pref  =>  bgp_src_local_pref_type
       src_med         =>  bgp_src_med_type


---- this is our current configuration ----

daemonize: false
debug: true

nfacctd_ip: xx.xx.xx.xx
nfacctd_port: 2100
nfacctd_time_new: true

plugins: mysql[5mins], mysql[hourly]

sql_db: pmacct
sql_passwd: pmacct
sql_user: pmacct

sql_optimize_clauses: true
sql_dont_try_update: true
sql_multi_values: 1024000

sql_history_roundoff[5mins]: m
sql_history[5mins]: 5m
sql_refresh_time[5mins]: 300
sql_table[5mins]: acct_bgp_5mins

sql_history_roundoff[hourly]: h
sql_history[hourly]: 1h
sql_refresh_time[hourly]: 3600
sql_table[hourly]: acct_bgp_1hr

bgp_daemon: true
bgp_daemon_ip: xx.xx.xx.xx
bgp_daemon_max_peers: 100
nfacctd_as_new: bgp

!bgp_peer_src_as_type: map
!bgp_peer_src_as_map: /etc/pmacct/peers.map

plugin_buffer_size: 10240
plugin_pipe_size: 1024000
aggregate: tag, src_as, dst_as, peer_src_as, peer_dst_as, peer_src_ip,
peer_dst_ip, local_pref, as_path
-----

Thank you for your help
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to