[ZBX-12534] Template import with triggers update break IT services Created: 2017 Aug 18  Updated: 2024 Apr 10  Resolved: 2017 Aug 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Valeriy Zabawski Assignee: Unassigned
Resolution: Duplicate Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
depends on ZBXNEXT-4001 Introduce unique keys for Items and T... Closed
Team: Team D
Sprint: Sprint 14

 Description   

IT services use triggerid for binding trigger to a specific service. After updating a template (with updated triggers) through Zabbix API seems like trigger id change its value and IT service stop working.
Zabbix API options for triggers are set to:

  • createMissing: true
  • updateExisting: true
  • deleteMissing: true
    Is this an expected behavior or a bug?
    Zabbix server version: 3.2.3
    OS version : CentOS 7.2


 Comments   
Comment by Vitaly Zhuravlev [ 2017 Aug 18 ]

If you change trigger name or trigger expression and import such template/host to another system then it is considered a new trigger. Old trigger is deleted and new is immediatly created instead.

that's currently expected behaviour.
Ticket ZBXNEXT-4001 servers as a placeholder for a solution to address this problem.

Comment by Valeriy Zabawski [ 2017 Aug 18 ]

Thanks for the quick reply.
Is there any estimated date for this feature? Or at least approximate.

Comment by Vitaly Zhuravlev [ 2017 Aug 18 ]

It's not decided yet.

Generated at Fri Apr 04 10:54:06 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.