Hi...

Did you configure the tool with --enable-mysql ( see part ii at
OfficialExamples, 'Configuring pmacct for compilation ' in pmacct wiki) ??

Best Regards
Yossi

Hi
>
> Sorry if this comes through as a double post; new to mailing lists as
> well as pmacct and not sure if the last one went through.



I'm trying to get nfacct to record data from my Mikrotik Router using
> Traffic-Flow (compatible with Net-Flow)
>
Created a file called nfacctd.conf
> placed it in the same directory as pmacct.conf
> edited as follows:
>
>  !
>  daemonize: true
>  plugins: mysql
>  aggregate: sum_host
>  nfacctd_port: 5678
>  sql_refresh_time: 10
>  sql_history: 10m
>  sql_history_roundoff: mh
>  sql_table_version: 4
>  ! ..
>
>  enabled Netflow (Traffic-Flow on my router) and told it to send
>  traffic to IP address of listening NIC on port 5678
>
> executed with nfacctd -f nfacctd.conf
>
> Yet I'm not receiving and data
>
> Do I need to edit nfacctd.conf to include user and password of SQL?
>
> When I run with print pluggin I do see data passing through.
>
> Any help very much appreciated.
>
> Thanks in advance.
>
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
>
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to