[ZBX-25089] Auto-registration via Proxy Groups continually re-runs auto-registration rules on hosts Created: 2024 Aug 21  Updated: 2025 Apr 16  Resolved: 2025 Jan 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 7.0.3
Fix Version/s: 7.0.8rc1, 7.2.1rc1, 7.4.0alpha1

Type: Problem report Priority: Major
Reporter: Mohammed Bataineh Assignee: Sergejs Boidenko
Resolution: Fixed Votes: 8
Labels: autoregistration, proxy, proxygroup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu Docker image for Zabbix 7.0.3


Issue Links:
Causes
causes ZBX-25797 Server crash in trapper in 7.0.8rc1 Closed
causes ZBX-26066 The autoregister process inserts reco... Closed
Duplicate
is duplicated by ZBX-25553 can't manually disable host Closed
Related
related to ZBX-25907 Zabbix Proxy Group doesn`t allow fix ... Closed
Team: Team B
Sprint: S24-W46/47, S24-W48/49, S24-W50/51/52/1, S25-W2/3
Story Points: 1

 Description   

Steps to reproduce:

  1. Create a Proxy Group with multiple proxies
  2. Create an auto-registration rule using HostMetadata to assign new agents to host group
  3. Configure agent2 to use Proxy Group IPs and HostMetadata value.
  4. Start agent2

Result:
Host is auto-registered properly. When moved to a new host group or template is removed, host is re-registered by the auto-registration rule.
Expected:
System is auto-registered and will not be re-registered unless HostMetadata changes.

 

Thoughts:

With the fact that I never change the agent HostMetadata value, it appears that there is no reason auto-registration should be re-run. This does not occur when using a single proxy configuration.

My belief is the Proxy Group is re-running the auto-registration rule repeatedly because the server believes it's connecting through a new proxy each time.

There needs to be a fix to allow auto-registration through Proxy Groups without it continually updating the host.



 Comments   
Comment by Yuriy Akimov [ 2024 Oct 24 ]

Same problem here on same versions

But in step 2 I'm using a regex for HostName. 

Comment by Pascal Uhlmann [ 2024 Dec 04 ]

I'm also facing this issue using the C agent although HostMetaData is set to a static value. I also tried setting the SourceIP since the host got two interfaces (real IP and 127.0.0.1). But this also didn't solve it. So it must be a general issue with the proxy group feature.

Please solve this issue quickly since it prevents us from using proxy groups.

Comment by Sergejs Boidenko [ 2024 Dec 17 ]

Available in versions:

Comment by Joe Royle [ 2024 Dec 18 ]

Why was this only fixed in 7.4 and 7.2, this is currently an issue in 7.0 that is causing problems.

Comment by Marek Ługowski [ 2025 Jan 13 ]

It appears that in version 7.0.8, the problem still persists. In my case, when I attempt to switch from a proxy group to an individual proxy, the autoregistration process reverts it back to the proxy group.

Comment by Andris Zeila [ 2025 Jan 16 ]

Could you please clarify what did you mean with 'switch from a proxy group to an individual proxy' ?

Did you configure agent to connect o a proxy not in a group ? In this case host being re-registered to the original group is a bug.

Or did you change 'monitored by' of that host to be monitored by a proxy in that proxy group? In this case assigning host to the proxy group is intended behavior.

Comment by dimir [ 2025 Jan 16 ]

joe.royle1 said:

Why was this only fixed in 7.4 and 7.2, this is currently an issue in 7.0 that is causing problems.

It should be fixed in 7.0.8 . Did you check that version?

Comment by Joe Royle [ 2025 Jan 16 ]

It looks to be working as intended in 7.0.8.

Comment by Fabricio Guimaraes [ 2025 Jan 22 ]

Like [email protected] , i have the same problem. Using Zabbix in 7.0.8 on all components and have this issue.

Comment by dimir [ 2025 Jan 29 ]

[email protected], could you answer the questions asked by wiper in the comment above? 2025 Jan 16 13:13

Comment by Marek Ługowski [ 2025 Feb 24 ]

dimir the topic is handled in ZBX-25907

Generated at Wed May 14 08:52:57 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.