My techs have just been restarting the server at the beginnibg of each month. 
If memory serves me correctly, the nfacctd service dies.

Terry


-----Original Message-----
From: pmacct-discussion <pmacct-discussion-boun...@pmacct.net> On Behalf Of 
Paolo Lucente
Sent: Thursday, September 5, 2019 7:16 AM
To: pmacct-discussion@pmacct.net
Subject: Re: [pmacct-discussion] nfacctd monthly accounting problem


Hi Terry,

Thanks for reporting this issue.

Can you elaborate a bit more on the 'nfacctd does not start accounting for the 
new month'? It just stops accounting or it keeps accounting on the old month 
(ie. it seems like it does not flip the month)? Or some different behaviour? 
The more details you can share, the better.

Thanks,
Paolo
 
On Wed, Sep 04, 2019 at 04:25:38PM +0000, Terry Duchcherer wrote:
> We are using nfacct to do monthly data accounting for our customers, all 
> works fine except at the beginning of a new month nfacctd does not start 
> accounting for the new month. Restarting the service corrects the problem.
> 
> nfacctd version 1.7.1-git
> Ubuntu version 16.04
> 
> Here is our config:
> 
> nfacctd_port: 2055
> plugins: mysql[inbound], mysql[outbound]
> sql_db: dbname
> sql_host: localhost
> sql_user: dbuser
> sql_passwd: dbpass
> sql_table[inbound]: acct_in
> sql_table[outbound]: acct_out
> aggregate[inbound]: dst_host
> aggregate[outbound]: src_host
> aggregate_filter[inbound]: dst net (nnn.nnn.nnn.nnn/22 or 
> nnn.nnn.nnn.nnn /22 or nnn.nnn.nnn.nnn /21)
> aggregate_filter[outbound]: src net (nnn.nnn.nnn.nnn /22 or 
> nnn.nnn.nnn.nnn /22 or nnn.nnn.nnn.nnn /21)
> sql_refresh_time: 300
> sql_history: 1M
> sql_history_roundoff: h
> 
> What am I missing?
> 
> Thanks in Advance;
> Terry
> NETAGO
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>                                               [ Read 16 lines ]
> ^G Get Help    ^O Write Out   ^W Where Is    ^K Cut Text    ^J Justify     ^C 
> Cur Pos     ^Y Prev Page
> ^X Exit        ^R Read File   ^\ Replace     ^U Uncut Text  ^T To Spell    ^_ 
> Go To Line  ^V Next Page

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


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

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

Reply via email to