Hello, We are trying to set up pmacct to peer with a bgp router to eventually dump bgp updates into a MySQL database for analysis/logging purposes. We are having some issues getting the BGP logging to work.
Here is our config: //start Config debug: true daemonize: true logfile: /tmp/pmacctd.out bgp_table_dump_file: /tmp/bgp.dump bgp_table_dump_refresh_time: 300 nfacctd_port: 2100 nfacctd_time_new: true interface: ens160 plugins: memory sql_optimize_clauses: true sql_dont_try_update: true sql_multi_values: 1024000 bgp_daemon: true bgp_daemon_ip: 10.192.30.156 bgp_daemon_max_peers: 100 bgp_aspath_radius: 3 bgp_follow_default: 1 bgp_agent_map: /usr/local/etc/bgp_agent.map bgp_daemon_msglog_file: /tmp/bgp.out //end Config Here is the start of our log(it continues with the 'selecting bucket' messages: //start Log Dec 23 10:08:29 INFO ( default/core ): Reading configuration file '/usr/local/etc/pmacct.conf'. Dec 23 10:08:29 WARN ( default/memory ): defaulting to SRC HOST aggregation. Dec 23 10:08:29 INFO ( default/memory ): plugin_pipe_size=4096000 bytes plugin_buffer_size=200 bytes Dec 23 10:08:29 INFO ( default/memory ): ctrl channel: obtained=212992 bytes target=163840 bytes Dec 23 10:08:29 DEBUG ( default/memory ): allocating a new memory segment. Dec 23 10:08:29 DEBUG ( default/memory ): allocating a new memory segment. Dec 23 10:08:29 OK ( default/memory ): waiting for data on: '/tmp/collect.pipe' Dec 23 10:08:29 OK ( default/core ): link type is: 1 Dec 23 10:08:29 INFO ( default/core ): Trying to (re)load map: /usr/local/etc/bgp_agent.map Dec 23 10:08:29 INFO ( default/core ): map '/usr/local/etc/bgp_agent.map' successfully (re)loaded. Dec 23 10:08:29 DEBUG ( default/core/BGP ): 1 thread(s) initialized Dec 23 10:08:29 INFO ( default/core/BGP ): maximum BGP peers allowed: 2 Dec 23 10:08:29 INFO ( default/core/BGP ): waiting for BGP data on {INTERNAL IP}:179 Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 22156. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 6514. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 30412. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 12708. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 6514. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 22156. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 26696. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 22156. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 26696. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 26696. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 26696. Dec 23 10:08:34 DEBUG ( default/memory ): Selecting bucket 26696. //end Log ________________________________ ***This message and any attachments are solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited -- Please immediately and permanently delete.*** _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists