[ZBX-15742] Network discovery is not reacting to the changes in agent configuration Created: 2019 Feb 28  Updated: 2024 Apr 10  Resolved: 2019 Apr 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 4.0.6rc1, 4.2.0beta2
Fix Version/s: 4.0.7rc1, 4.2.1rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Major
Reporter: Natalja Romancaka Assignee: Andrejs Kozlovs
Resolution: Fixed Votes: 0
Labels: agent, configuration, networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team A
Sprint: Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
Story Points: 1

 Description   

Preconditions:

  1. Setup zabbix agents on local computer and virtual machine
  2. Create action to add discovered host when Discovery status equals Up
  3. Create network discovery with check on IP address
  4. Add discovery check Zabbix agent "agent.hostname" and suitable port range for both agents
  5. Discovery uniqueness criteria is agent.hostname

1. Agents have different ports, but the same Host names

Steps to reproduce:

  1. "Hostname" and "ListenPort" of the two different agents should be different
  2. Start servers and agents
  3. Make sure that discovered two hosts
  4. Change "Hostname" so that it matches the second agent "Hostname"
  5. Delete discovered hosts in UI and restart agent
  6. Wait until the hosts are discovered again

Result: Two hosts are created
Expected: Only one host is created, but with two interfaces (because host names are equals now)

2. Agents have the same ports, but different Host names

Steps to reproduce:

  1. "Hostname" of the two different agents should be identical
  2. Start servers and agents
  3. Make sure that discovered one host with two interfaces
  4. Change "Hostname" on one of the agents
  5. Delete discovered hosts in UI and restart agent
  6. Wait until the hosts are discovered again

Result: One host is created with two interfaces
Expected: Should discovered two hosts because host names are different now



 Comments   
Comment by Andrejs Kozlovs [ 2019 Apr 03 ]

Fixed in:

  • pre-4.0.7rc1 r91871
  • pre-4.2.1rc1 r91872
  • pre-4.4.0alpha1 (trunk) r91873
Generated at Tue Apr 23 22:25:37 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.