[ZBX-10693] Cannot import templates and hosts when trigger prototypes depend from trigger which is on a different host Created: 2016 Apr 21  Updated: 2017 May 30  Resolved: 2016 May 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 3.0.2
Fix Version/s: 3.0.3rc1, 3.2.0alpha1

Type: Incident report Priority: Minor
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dependencies, triggerprototypes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There are two problems. One is with template import, and the other one is with host import. Here's how to reproduce them.
Templates:
Create a template T1, create a host H1 and link them together. On the host H1 create a regular trigger. On the template T1 create a trigger prototype and set dependency on H1 that trigger. Export templates and don't change anything. Try to import back. The import should fail.
Hosts:
Create a template T1, create a host H1 and link them together. On the template T1 create a regular trigger so the H1 gets a templated trigger automatically. Now create a host H2, but don't link it. Instead just create a trigger prototype and set dependency on that H1 templated trigger. Export H2 and don't change anything. Try to import back. The import should fail.



 Comments   
Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 26 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693

Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 26 ]

(1) No translation strings changed

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Apr 26 ]

TESTED,

but, please, be careful when merging to trunk. The code will be different.

Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 26 ]

Fixed in:

  • pre-3.0.3rc r59722
  • pre-3.1.0 r59770
Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 27 ]

(3) Different solution for trunk
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693 r59738

iivs CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 28 ]

(4) API documentation:

RESOLVED

iivs CLOSED

Generated at Fri Apr 19 12:47:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.