Hi Olaf,

To confirm that the file is reloaded. Unfortunately all log messages in
loading up a networks_file are related to errors, warnings and debug. No
info message to say that simply all went good. So i just added one as an
action item for the issue you raised:

https://github.com/pmacct/pmacct/commit/5f4c4246666f86d20821b4c028d9d180aa506f76

Now you can see the file is loaded upon startup and also upon sending a
SIGUSR2 to the process(es). Thank you!

Paolo

On Fri, Jun 05, 2020 at 11:16:19AM +0100, Olaf de Bree wrote:
> Hi all,
> 
> hoping someone can help.
> 
> I am using networks_file to map ASNs to prefixes under nfacctd version 1.7.5
> 
> The pmacct documentation suggests under the maps_refresh directive that
> the networks_file is reloadable via -SIGUSR2 but when I issue a "pkill
> -SIGUSR2 nfacctd" while running debug I see evidence that pre_tag_map is
> reloaded in the logs but not the networks_file.
> 
> Is the networks_file silently reloaded with no log? or could this be a bug?
> 
> Thanks in advance
> Olaf

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


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

Reply via email to