-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
5.0.1
-
None
Trying to implement feature when active agents moving between proxies depends on HostMetadataItem value. HostMetadataItem returns a string contains proxy name which it must be controlled and ServerActive point to all needed proxies. Autoregistrations rules defined as below:
If metadata returns 'c7-prx-01' - the host registering on c7-prx-01 proxy and if 'c7-prx-02' - moves to the corresponding one. But autoregistration procedure repeats every time then agent goes to proxy to get configuration (RefreshActiveChecks period) and I receive next email:
Host name: c7-node-01
Host IP: 172.16.1.41
Agent port: 10050
Host metadata: c7-prx-01
Action name: c7-prx-01
Host metadata stays unchanged.
Steps to reproduce:
- Set ServerActive to multiply proxies
- Create an autoregistration actions as above
- Set notification to some user
- You will receive a mail about registered agent every time it's get configuration from proxy
Expected:
Host must be registered once.