[ZBX-11357] Exporting Template with Web Scenario won't include Triggers. Created: 2016 Oct 13  Updated: 2017 May 30  Resolved: 2016 Nov 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.2.1
Fix Version/s: 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Major
Reporter: David Angelovich Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: export, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL7, Ubuntu 16



 Description   

After creating a template with only a web scenario and a trigger based on that scenario, Zabbix will export a file containing the scenario, but not the trigger.



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Oct 17 ]

Seems to be the case indeed, setting to "Confirmed".

Comment by vitalijs.cemeris (Inactive) [ 2016 Nov 08 ]

According to documentation for 3.2 import/export
Triggers and graphs that use web items are not exported.

Comment by David Angelovich [ 2016 Nov 08 ]

Any idea why that functionality was left out? I could have sworn it was working in 3.2.0, and removed in 3.2.1.
Perhaps this should be a feature request...

vitalijs.cemeris Exporting of triggers and graphs that use web items should be allowed after implementing ZBXNEXT-178.

Comment by vitalijs.cemeris (Inactive) [ 2016 Nov 09 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-11357

Comment by vitalijs.cemeris (Inactive) [ 2016 Nov 09 ]

(1) No translation strings changed.

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Nov 10 ]

(2) Coding style
include/classes/export/CConfigurationExport.php : 757 - comment is outdated and doesn't fully describe method's functionality.

vitalijs.cemeris RESOLVED in r63704

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Nov 11 ]

Tested

Comment by vitalijs.cemeris (Inactive) [ 2016 Nov 11 ]

Fixed in pre-3.2.2rc1 (r63706), pre-3.3.0 (r63707)

Comment by vitalijs.cemeris (Inactive) [ 2016 Nov 11 ]

(3) [D] API documentation:

  • implemented exporting and importing of triggers and graphs when they use web items changes_3.2
  • removed entry "Triggers and graphs that use web items are not exported." from details_about_export

RESOLVED

martins-v Some changes to that:

  • entry "Triggers and graphs that use web items are not exported." restored and changed to mention that it is relevant for versions 3.2.0 and 3.2.1 in details about export for 3.2
  • entry "Triggers and graphs that use web items are not exported." has been removed from details about export for 3.4

RESOLVED. Feel free to close it if everything looks good.

vitalijs.cemeris CLOSED

Comment by Martins Valkovskis [ 2016 Nov 14 ]

(4) Updated documentation:

RESOLVED

vitalijs.cemeris Added some important aspects of functionality:
When exporting a template or a host with web scenarios, triggers and graphs based on the web scenario or step items are exported as well.
RESOLVED. Feel free to close it.

martins-v Thanks, CLOSED.

Generated at Fri Apr 26 11:03:24 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.