[ZBX-11799] Auto Registration duplicates hosts Created: 2017 Feb 10  Updated: 2018 Dec 14  Resolved: 2018 Dec 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Server (S)
Affects Version/s: 3.2.2
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Grzegorz Grabowski Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 1
Labels: agent, autoregistration, duplicates, server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos 7, Maria DB 10


Attachments: PNG File error-1.png     PNG File error-2.png    

 Description   

Sometimes, when Agent reports to Zabbix Server first time, it did it with few, very quick probes:

58492:20170209:131038.642 cannot send list of active checks to "10.163.181.224": host [s-vmrh-esm-connector7] not found
58490:20170209:131038.679 cannot send list of active checks to "10.163.181.224": host [s-vmrh-esm-connector7] not found
58495:20170209:131038.723 cannot send list of active checks to "10.163.181.224": host [s-vmrh-esm-connector7] not found
58482:20170209:131038.750 cannot send list of active checks to "10.163.181.224": host [s-vmrh-esm-connector7] not found

I don't know why Agents do that.

Then, Zabbix Server registers 4 (or any other amount depends how many times Agent reports to) the same host, with the same HOST.HOST which is generally not possible.
The only action I can do is delete the duplicate hosts.
As you can see on attached screen this is abnormal situation.

Bests,
Grzegorz



 Comments   
Comment by Glebs Ivanovskis (Inactive) [ 2017 Feb 10 ]

Is proxy involved in the process? Or maybe there are several agents? Log file timestamps look too close together. Active agent should not send requests that often. May be related to ZBX-4973.

Comment by Oleksii Zagorskyi [ 2017 Feb 10 ]

ZBX-4134 is related too.

Comment by Grzegorz Grabowski [ 2017 Feb 10 ]

No proxy involves and I don't know if there is more than one agent on this host.

Comment by Alexander Vladishev [ 2017 Feb 10 ]

Please check ServerActive option in the configuration file of Zabbix agent. How many times the IP address of the server is specified in it?

Comment by Grzegorz Grabowski [ 2017 Feb 14 ]

I checked it.
ServerActive points two times to the same Zabbix Server, one via IP and the second via DNS name.
So now we know why Zabibx Agent reports more than ones, but still it should be not possible to add two host with the same HOST.HOST.

Bests,
Grzegorz

Comment by Alexander Vladishev [ 2018 May 08 ]

ServerActive with multiple ip addresses can be used for multiple Zabbix servers or proxies. Pointing to the same server produces several requests in one time.

Please see documentation for more details.

Generated at Fri Mar 29 12:34:59 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.