[ZBXNEXT-6411] New uniqueness criteria for template elements Created: 2020 Dec 22  Updated: 2024 Apr 10  Resolved: 2021 May 30

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: None
Fix Version/s: 5.4.0rc1, 5.4 (plan)

Type: New Feature Request Priority: Trivial
Reporter: Aleksandrs Larionovs (Inactive) Assignee: Valdis Murzins
Resolution: Fixed Votes: 2
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File description_diff.png     PNG File frame.png     PNG File hostgroup.png     PNG File names.png     File new_2021-05-12 16-27.mp4     File old_2021-05-12 16-26.mp4     PNG File renamed.png     PNG File template_name_diff.png     File zbx_export_hosts_with_uuid.yaml     File zbx_export_hosts_without_uuid.yaml     File zbx_export_templates (first).yaml     File zbx_export_templates (second).yaml     File zbx_export_templates_AB.yaml     File zbx_export_templates_BA.yaml     File zbx_export_templates_endless_diff.yaml     File zbx_export_templates_graph.yaml     XML File zbx_export_templates_hostgroup.xml     File zbx_export_templates_names.yaml     XML File zbx_export_templates_trigger.xml     XML File zbx_export_templates_triggerprototype.xml     File zbx_export_templates_uuids.yaml    
Issue Links:
Causes
causes ZBX-19376 Can't import file from 5.0 if host gr... Closed
causes ZBX-20120 hosts import fails when containing ho... Closed
causes ZBX-19375 Missing check on the same uuid in file Closed
causes ZBX-19377 template name parameter in export file Closed
causes ZBX-19378 Remove before and after blocks for un... Closed
causes ZBX-19393 Undefined index in configuration.impo... Closed
causes ZBX-19508 Remove "Delete missing" from Media Ty... Closed
causes ZBX-20033 No UUID changes in API documantation ... Closed
Duplicate
Sub-task
part of ZBXNEXT-6723 Template naming normalisation Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-6412 New uniqueness criteria for template ... Specification change (Sub-task) Closed Zabbix Development Team  
ZBXNEXT-6465 DB Patch for uniqueness criteria in t... Specification change (Sub-task) Closed Andrejs Kozlovs  
Team: Team B
Sprint: Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 80 (Sep 2021)
Story Points: 10

 Description   

Summary

Currently Zabbix does not provide a safe way of updating templates because some attributes cannot be updated, for example:

  • when importing a modified template it is impossible to update item key or template name and expression of a an existing trigger

It is proposed to introduce unique IDs for template elements.



 Comments   
Comment by Valdis Murzins [ 2021 May 12 ]

Implemented in 5.4.0rc1 (master) in bcbc7e67161, 062c6a144f2, 0c8d453af28, 10785c31c2f, 6b37e37b24c, 1c00fc01450, 7c8559c92b7

Comment by Valdis Murzins [ 2021 May 13 ]

A bug fixed in 5.4.0rc2 (master) in 190c9fe3c09

Comment by Valdis Murzins [ 2021 May 19 ]

Documentation updated:

API documentation changes:

Generated at Wed Apr 09 02:15:17 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.