-
Sub-task
-
Resolution: Cannot Reproduce
-
Trivial
-
6.0.8rc1, 6.2.2rc1, 6.4.0alpha1
-
None
-
Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023)
-
1
Case 1: Autoregistration ignores templates with matching item keys
Precondition: Zabbix 6.0; setup your configuration https://www.zabbix.com/documentation/current/en/manual/discovery/auto_registration#:~:text=new%20Zabbix%20proxy-,Configuration,-Specify%20server
Steps to reproduce:
- Create two templates e.g. test1 and test2 with an item with key "agent.ping"
- Simultaneously link both of these templates to e.g. test3
- Go to Configuration>Actions>Autoregistration actions
- Create a new action with operations:
-) Add host
-) Link to templates: {test3} - Wait till a host will be created via the autoregistration process
Result: Host is created and the template is successfully linked. The host has two items with matching item keys.
Expected: Host shouldn't contain conflicting items/templates. The error should appear in the zabbix_server.log file regarding matching item keys.
Note: the same issue appears if hosts are discovered via the "Network discovery" process
Case 2: Autoregistration ignores templates with matching "discovery rule" and "item prototype" key
Precondition: Zabbix 6.0; setup your configuration https://www.zabbix.com/documentation/current/en/manual/discovery/auto_registration#:~:text=new%20Zabbix%20proxy-,Configuration,-Specify%20server
Steps to reproduce:
- Go to Configuration>Templates and create a template e.g. testa with a "discovery rule" key e.g. discovery and "item prototype" with key e.g.
trap[ {#ID}]
- Full clone the template testa with the name e.g. testb
- Simultaneously link both templates (testa, testb) to e.g. testc
- Create a new action with operations:
-) Add host
-) Link to templates: {testc} - Wait till a host will be created via the autoregistration process
Result: Host is created and the template is successfully linked. The host has two discovery rules and two item prototypes with matching item keys.
Expected: Host shouldn't contain conflicting discovery rules/item prototypes. The error should appear in the zabbix_server.log file regarding matching item keys.
Note: the same issue appears if hosts are discovered via the "Network discovery" process