-
Problem report
-
Resolution: Fixed
-
Major
-
4.0.6rc1, 4.2.0beta2
-
Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
-
1
Preconditions:
- Setup zabbix agents on local computer and virtual machine
- Create action to add discovered host when Discovery status equals Up
- Create network discovery with check on IP address
- Add discovery check Zabbix agent "agent.hostname" and suitable port range for both agents
- Discovery uniqueness criteria is agent.hostname
1. Agents have different ports, but the same Host names
Steps to reproduce:
- "Hostname" and "ListenPort" of the two different agents should be different
- Start servers and agents
- Make sure that discovered two hosts
- Change "Hostname" so that it matches the second agent "Hostname"
- Delete discovered hosts in UI and restart agent
- 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:
- "Hostname" of the two different agents should be identical
- Start servers and agents
- Make sure that discovered one host with two interfaces
- Change "Hostname" on one of the agents
- Delete discovered hosts in UI and restart agent
- 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