hmm - i’m not quite sure on this myself, but curious to learn for my own understanding - looking at the docs i see this section - have you tried the options in here?
Can you please verify that the configuration file syntax in that last node is correct? I can’t think of any reason why it won’t change, other than the new configuration file being incorrectly defined.
Do you SSH into each agent? Have you thought about using Ansible or Consul to automate the configuration-management of your setup?